Repository navigation
[O2B-1545] Create GAQ summary tables - #2173
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2173 +/- ##
==========================================
+ Coverage 46.00% 46.06% +0.05%
==========================================
Files 1070 1074 +4
Lines 17610 17641 +31
Branches 3261 3263 +2
==========================================
+ Hits 8102 8126 +24
- Misses 9508 9515 +7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Add GaqSummaryRepository and GaqSummaryInvalidationRepository and export them from the repositories index. Update migration to replace the previous invalidated_at field with created_at and add updated_at to mirror default Sequelize tables.
Rename and change mcReproducible to be the coverage float not the boolean.
Forgot to remove.
Add a calculation_failed boolean column to gaq_summaries. This allows us to know whether a summary has been attempted to be calculated but unsuccessful due to limited data etc.
Remove not-null constraints from several GAQ summary columns in the migration to allow NULL when values are unavailable.
Store invalidation timestamp directly on gaq_summaries instead of a separate gaq_summary_invalidations table.
Create an index on invalidated_at column of gaq_summaries table to improve query performance, as it is commonly used to fetch the invalidated summary queue.
Sequelize model omitted the primaryKey that migration file defines.
graduta
force-pushed
the
feature/O2B-1545/Create-GAQ-Summary-Tables
branch
from
December 2, 2026 09:36
5fee0a4 to
85bbb13
Compare
…bility in directory
graduta
approved these changes
Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have a JIRA ticket
Notable changes for users:
Notable changes for developers:
GaqSummarySequelize model, adapter and repository for storing the GAQ summary of a run in a data passSequelizeGaqSummaryandGaqSummaryRecord. The entity is not namedGaqSummarybecause that name already means the run-number-to-summary map served by the APImcReproducibleAsNotBadcan still be applied when readinginvalidatedAtnot null means the summary is stale since that momentChanges made to the database:
gaq_summaries, one row per run in a data pass (primary keydata_pass_id+run_number, foreign keys todata_passesandruns) with the three coverages, missing verifications count, undefined quality periods count,not_computable,invalidated_at,computed_at,created_atandupdated_atgaq_summaries_invalidated_at_idxoninvalidated_at, to quickly find summaries that need recalculating