Skip to content

refactor(grzctl): set basic_qc_passed on successful validate#616

Merged
Hoeze merged 4 commits into
mainfrom
auto_set_basic_qc_passed
Jul 6, 2026
Merged

refactor(grzctl): set basic_qc_passed on successful validate#616
Hoeze merged 4 commits into
mainfrom
auto_set_basic_qc_passed

Conversation

@zhenseler

Copy link
Copy Markdown
Collaborator

Added a call to db.modify_submission after a successful validate to change basic_qc_passed to true. Logically any submission which passes validation should have basic_qc_passed set as true.

Added a call to db.modify_submission after a successful validate to change basic_qc_passed to true
@zhenseler zhenseler requested a review from Hoeze June 22, 2026 12:39

@Hoeze Hoeze left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks great! 👍
Can you please add a test for this?

@Hoeze

Hoeze commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Added a test within tests/cli/test_db_context.py
@zhenseler

Copy link
Copy Markdown
Collaborator Author

Added in a test to tests/cli/test_db_context.py (test_validation_basic_qc_passed_update). I wasn't sure if I should create a completely new file for the test, or if it's cool to add it to an existing test file (I used a lot of the logic from test_db_context.py, which is why I added it there)

@Hoeze

@zhenseler zhenseler requested a review from Hoeze June 23, 2026 12:47

@Hoeze Hoeze left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice test, looks good! 👍

@Hoeze Hoeze added this pull request to the merge queue Jul 6, 2026
Merged via the queue into main with commit e87730a Jul 6, 2026
9 checks passed
@Hoeze Hoeze deleted the auto_set_basic_qc_passed branch July 6, 2026 09:38
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.

4 participants