Skip to content

fix for RunsPerLhcPeriodOverviewPage#2113

Closed
NarrowsProjects wants to merge 25 commits intomainfrom
improv/O2B-1556/fix-failing-tests
Closed

fix for RunsPerLhcPeriodOverviewPage#2113
NarrowsProjects wants to merge 25 commits intomainfrom
improv/O2B-1556/fix-failing-tests

Conversation

@NarrowsProjects
Copy link
Collaborator

I DON'T have JIRA ticket

  • explain what this PR does
  • if it is a new feature, explain how you plan to use it
  • tests are added
  • documentation was updated or added

Notable changes for users:

  • None

Notable changes for developers:

  • The below-header element has been moved to be out of the ObservableData for the RunsPer LHCPeriod

Changes made to the database:

@NarrowsProjects NarrowsProjects self-assigned this Mar 16, 2026
@codecov
Copy link

codecov bot commented Mar 16, 2026

Codecov Report

❌ Patch coverage is 3.57143% with 108 lines in your changes missing coverage. Please review.
✅ Project coverage is 45.52%. Comparing base (0977d77) to head (9887f43).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...Runs/RunPerDataPass/RunsPerDataPassOverviewPage.js 0.00% 51 Missing ⚠️
lib/public/views/Runs/Overview/RunsWithQcModel.js 0.00% 27 Missing ⚠️
.../Runs/RunPerPeriod/RunsPerLhcPeriodOverviewPage.js 0.00% 10 Missing ⚠️
...mulationPass/RunsPerSimulationPassOverviewModel.js 0.00% 7 Missing ⚠️
...Runs/RunPerPeriod/RunsPerLhcPeriodOverviewModel.js 0.00% 6 Missing ⚠️
lib/public/views/Runs/RunsModel.js 0.00% 4 Missing ⚠️
...uns/RunPerDataPass/RunsPerDataPassOverviewModel.js 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2113      +/-   ##
==========================================
- Coverage   45.55%   45.52%   -0.04%     
==========================================
  Files        1044     1044              
  Lines       17327    17347      +20     
  Branches     3140     3146       +6     
==========================================
+ Hits         7894     7897       +3     
- Misses       9433     9450      +17     

☔ 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.

@NarrowsProjects NarrowsProjects marked this pull request as draft March 17, 2026 07:59
graduta and others added 10 commits March 17, 2026 11:00
…a-pass page (#2109)

* Prevent pagination from re-calling data pass id endpoint
* Fetch items only when needed
* Fetch runs from data pass only if pagination did not already do so
* Trigger an immediate update in case observable already finished
* Registration should happen only when page is loaded
* Check if pagination triggered event

More details:
*  request GET `dataPass` for specific id is sent 2 times instead of one because of pagination observer and initial loading page;
* because of the double fetching, the summary request of QC periods is done also 2 times. Moreover, for each of the 2 times, the observer kicks in and does another 2 same requests, bringing the total to 4 summary requests fetching the same data in parallel (not even in sequence so that the browser can use its cache mechanism)
* registration of events was moved to `load` methods as otherwise they will trigger in constructor (at load of application)
* rename of miss-spelled words
* total requests now down to 9 from 17 and loading times of all requests together for `runs-per-data-pass` halved
… split (#2110)

- improved loading times of page runs-per-data-pass and prevent memory crash of the process due to heavy SQL queries
- use sequalize separate function to split big SQL join queries
Bumps [sequelize](https://github.com/sequelize/sequelize) from 6.37.0 to 6.37.8.
- [Release notes](https://github.com/sequelize/sequelize/releases)
- [Changelog](https://github.com/sequelize/sequelize/blob/main/CHANGELOG.md)
- [Commits](sequelize/sequelize@v6.37.0...v6.37.8)

---
updated-dependencies:
- dependency-name: sequelize
  dependency-version: 6.37.8
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: George R. <george.raduta@cern.ch>
@NarrowsProjects NarrowsProjects force-pushed the improv/O2B-1556/fix-failing-tests branch from a4887a2 to e588624 Compare March 17, 2026 14:21
@NarrowsProjects NarrowsProjects force-pushed the improv/O2B-1556/fix-failing-tests branch from be92df2 to b6d7e87 Compare March 18, 2026 09:27
@NarrowsProjects NarrowsProjects force-pushed the improv/O2B-1556/fix-failing-tests branch from b3e3eeb to ee6b786 Compare March 18, 2026 14:41
…toring table data before it changes instead of after it
@NarrowsProjects
Copy link
Collaborator Author

Branch has been split into two different branches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants