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

Turn off "against source" mode after validation step of Cylc VR #6213

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

wxtim
Copy link
Member

@wxtim wxtim commented Jul 10, 2024

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).
  • Applied any dependency changes to both setup.cfg (and conda-environment.yml if present).
  • CHANGES.md entry included if this is a change that can affect users
  • Cylc-Doc pull request opened if required at cylc/cylc-doc/pull/XXXX.
  • If this is a bug fix, PR should be raised against the relevant ?.?.x branch.

@wxtim wxtim added bug Something is wrong :( small labels Jul 10, 2024
@wxtim wxtim added this to the 8.3.2 milestone Jul 10, 2024
@wxtim wxtim self-assigned this Jul 10, 2024
@MetRonnie MetRonnie modified the milestones: 8.3.2, 8.3.3 Jul 10, 2024
@wxtim wxtim force-pushed the fix.cylc_vr_doesnt_match_cylc_restart branch from 959145c to 9c11d53 Compare July 11, 2024 15:44
@wxtim wxtim changed the title Turn of "against source" mode after validation step of Cylc VR Turn ovf "against source" mode after validation step of Cylc VR Jul 11, 2024
@wxtim wxtim changed the title Turn ovf "against source" mode after validation step of Cylc VR Turn off "against source" mode after validation step of Cylc VR Jul 11, 2024
@wxtim wxtim requested a review from MetRonnie July 11, 2024 15:46
@MetRonnie
Copy link
Member

remove vestigial --run-mode option from cylc validate

I have noticed currently on 8.3.x:

[runtime]
    [[foo]]
        [[[simulation]]]
            fail cycle points = alp
$ cylc validate myflow
Valid for cylc-8.3.3.dev
$ cylc validate myflow --mode simulation
PointParsingError: Incompatible value for <class 'cylc.flow.cycling.iso8601.ISO8601Point'>: alp: Invalid ISO 8601 date representation: alp

@wxtim wxtim mentioned this pull request Jul 15, 2024
8 tasks
@MetRonnie
Copy link
Member

image

How have you managed to include Ctrl+M in a commit message? 🤯

changes.d/6213.fix.md Outdated Show resolved Hide resolved
cylc/flow/scripts/validate.py Outdated Show resolved Hide resolved
cylc/flow/scripts/validate_reinstall.py Outdated Show resolved Hide resolved
cylc/flow/scripts/validate_reinstall.py Outdated Show resolved Hide resolved
@wxtim wxtim requested a review from MetRonnie July 17, 2024 11:57
@wxtim
Copy link
Member Author

wxtim commented Jul 17, 2024

How have you managed to include Ctrl+M in a commit message? 🤯

I haven't - it's something to do with me using a-a-grave

@wxtim wxtim force-pushed the fix.cylc_vr_doesnt_match_cylc_restart branch 2 times, most recently from 3006a97 to c0f5308 Compare July 17, 2024 12:00
Copy link
Member

@MetRonnie MetRonnie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I have looked at the MacOS test failures tests/f/modes/04-simulation-runtime.t & tests/f/flow-triggers/11-wait-merge.t, both seem to be unrelated and just flaky. Possibly newly rotated into the test chunks due to added functional test here)

@wxtim wxtim requested a review from MetRonnie July 18, 2024 14:38
@wxtim wxtim requested a review from MetRonnie July 19, 2024 08:27
remove the --against-source option from cylc vr - it should _always_ be true

test that Cylc VR unsets the --against-source mode after validation.

response to review: delattr

add test for validate --mode=live,sim,dummy

Apply suggestions from code review

Co-authored-by: Ronnie Dutta <[email protected]>

Apply suggestions from code review

Co-authored-by: Ronnie Dutta <[email protected]>

response to review

Update tests/functional/cylc-combination-scripts/08-vr-against-src.t

Co-authored-by: Ronnie Dutta <[email protected]>
@wxtim wxtim force-pushed the fix.cylc_vr_doesnt_match_cylc_restart branch from 02ea907 to dbcf1cc Compare July 23, 2024 11:41
@MetRonnie MetRonnie merged commit 71c7d82 into cylc:8.3.x Jul 23, 2024
24 of 25 checks passed
@MetRonnie MetRonnie mentioned this pull request Jul 23, 2024
1 task
@wxtim wxtim deleted the fix.cylc_vr_doesnt_match_cylc_restart branch August 2, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is wrong :( small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants