Skip to content

Conversation

@isaachilly
Copy link
Collaborator

@isaachilly isaachilly commented Feb 11, 2026

I have a JIRA ticket

  • branch and/or PR name(s) include(s) JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected

Notable changes for users:

  • N/A

Notable changes for developers:

  • N/A

Changes made to the database:

  • N/A

isaachilly and others added 18 commits January 30, 2026 15:54
Replace misspelled parameter `verifiedd_flags_list` with the correct `verified_flags_list` in QcFlagRepository.
Remove incorrect/duplicated identifier `verifiedd_flags_list` from the destructuring and mapping in QcFlagRepository.
Add optional runNumber filtering for GAQ summaries.

Controller validation and handler accept runNumber query param and pass it to GaqService; GaqService forwards runNumber to QcFlagRepository and unwraps a single-run summary when requested.

RunsPerDataPassOverviewModel tracks per-run RemoteData in _gaqSummary$, fetches GAQ summaries for visible runs, and RunsPerDataPassOverviewPage renders loading/success/failure states.

These changes enable fetching and displaying GAQ data scoped to individual runs to reduce load and improve UX.
Make GAQ summary fetches run sequentially so to ease reduce load on the database.
…se load

Make runNumber a required Joi parameter to prevent user stressing the database fetching data for all runs of a dataPass.

Intended to be reverted once database query has been optimised.
Tighten Joi validation for GAQ summary by requiring dataPassId and runNumber to be positive numbers.
Adjust the runsPerDataPass overview test to match updated row and expected GAQ values.
Update qcFlags GAQ summary tests to include runNumber and strengthen request validation coverage.
Use RemoteDataSource and AbortController to make per-run GAQ summary fetches cancelable.

Can be easily adapted to use an array of remotedatasources if in the future we decide to request them in parallel.
When updating the GAQ summary for a run, store the actual success payload instead of the raw remoteData object.
Add a test that captures outgoing GAQ summary requests and asserts each run triggers exactly one GAQ request.
Replace the single _gaqSummarySource with a map (_gaqSummarySources) keyed by runNumber so each run gets its own RemoteDataSource.

Will allow easy changing to parallel requests in the future.
Stop awaiting the GAQ summary fetch.

Make the failure state show a warning tooltip and link to the GAQ flags page so users can still view flags when the summary fails.
@isaachilly isaachilly self-assigned this Feb 11, 2026
@isaachilly isaachilly added frontend javascript Pull requests that update Javascript code labels Feb 11, 2026
@codecov
Copy link

codecov bot commented Feb 11, 2026

Codecov Report

❌ Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 45.64%. Comparing base (4eeccbf) to head (8976f4e).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...Runs/RunPerDataPass/RunsPerDataPassOverviewPage.js 0.00% 3 Missing ⚠️
...uns/RunPerDataPass/RunsPerDataPassOverviewModel.js 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2075      +/-   ##
==========================================
- Coverage   45.65%   45.64%   -0.01%     
==========================================
  Files        1037     1037              
  Lines       17292    17294       +2     
  Branches     3141     3141              
==========================================
  Hits         7894     7894              
- Misses       9398     9400       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@isaachilly isaachilly marked this pull request as ready for review February 11, 2026 10:13
@isaachilly isaachilly requested a review from graduta as a code owner February 11, 2026 10:13
@graduta graduta merged commit 6577e9b into main Feb 11, 2026
22 of 24 checks passed
@graduta graduta deleted the improv/O2B-1528/Split-GAQ-summary-requests branch February 11, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend javascript Pull requests that update Javascript code

Development

Successfully merging this pull request may close these issues.

2 participants