Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platforms.fix popping host info2 #4172

Closed
wants to merge 4 commits into from

Conversation

wxtim
Copy link
Member

@wxtim wxtim commented Apr 13, 2021

Discovered a bug where host ⇒ plaform upgrade only worked on first cycle.
Cause: becuase Python passes refs rather than creating objects the upgrader
function popped the required info for the first instance of a task.
Fix: have platform_from_job_info put popped information back when it's
finished.

These changes close #4167
Requirements check-list

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Appropriate tests are included (unit and/or functional).
  • Appropriate change log entry included.
  • No documentation update required.
  • No dependency changes.

wxtim added 4 commits April 12, 2021 12:49
Discovered a bug where host ⇒ plaform upgrade only worked on first cycle.
Cause: becuase Python passes refs rather than creating objects the upgrader
    function popped the required info for the first instance of a task.
Fix: have `platform_from_job_info` put popped information back when it's
    finished.
@wxtim wxtim requested review from MetRonnie and datamel April 13, 2021 08:16
@wxtim wxtim self-assigned this Apr 13, 2021
@wxtim wxtim added this to the cylc-8.0b1 milestone Apr 13, 2021
@wxtim wxtim closed this Apr 13, 2021
@MetRonnie MetRonnie removed their request for review April 13, 2021 08:50
@wxtim wxtim deleted the platforms.fix-popping-host-info2 branch March 22, 2022 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Platforms not selected from host on Cycle > 1
1 participant