-
Notifications
You must be signed in to change notification settings - Fork 94
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
db: add flow nums to task jobs table #5259
db: add flow nums to task jobs table #5259
Conversation
840d70a
to
eb2c876
Compare
Has something weird happened to the rebase? I'm seeing another pr's changes in here. |
Yes - I forgot to change this to being a PR against 8.0.x rather than master. |
25cbccd
to
fe62abb
Compare
7657cc3
to
22ba527
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
64150dd
to
0cd811b
Compare
response to review
0cd811b
to
4694fb0
Compare
|
fa5cc8f
to
07de574
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fails when trying to upgrade a real workflow:
$ git checkout upstream/master
$ cylc play foo
$ cylc stop foo
$ git checkout tim/.....
$ cylc play -n foo
...
ERROR - An error occurred when writing to the database,
...
sqlite3.OperationalError: table task_jobs has 16 columns but 15 values were supplied
… of github.com:wxtim/cylc into 20221201T1534--8.0.x--add_flow_nums_to_task_jobs_table * '20221201T1534--8.0.x--add_flow_nums_to_task_jobs_table' of github.com:wxtim/cylc: fixup fixed tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignore me, being daft.
The upgrader logic currently cannot handle upgrades from earlier in the same dev version. So long as it works correctly with official releases all good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked out and tested. Code also read. No problems found from me. Thanks @wxtim.
Closes #5252
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
andconda-environment.yml
.CHANGES.md
entry included if this is a change that can affect users?.?.x
branch.