Repository navigation
Tags
Tags
[cuegui] Fix performance issues reported on #2617 (#2619) ## Related Issues Fixes #2617 ## Summarize your change. 1. Force the post-action refresh so the minimum update interval no longer drops it. 2. Let post-action refreshes bypass Cuebot's whiteboard cache so they show the new state right away. 3. Run user-triggered Cuebot calls (job actions) on a single ordered worker thread instead of the GUI thread. 4. Stop expanding the whole job tree on every refresh; groups are expanded when they are created. 5. Compute the job tree cell data once per refresh and store it in the items instead of on every paint. 6. Sort the job tree once per refresh, using sort keys cached in the items. 7. Only send the id and name of the parent group with each job in the nested whiteboard. 8. Fetch the subscriptions without holding the items lock, which also fixes a deadlock in `setShow`. 9. Collect only the young generations every 5 seconds and the full heap every 5 minutes. 10. Hand ThreadPool results to the GUI thread without blocking the workers, fixing a crash when widgets are closed while their data is loading. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * Added an optional fresh-refresh mode for job whiteboards, showing recently committed changes immediately. * Added asynchronous processing for CueBot actions, subscriptions, show loading, and monitoring to keep the interface responsive. * Added support for monitoring all active shows and deferred show selection. * **Bug Fixes** * Preserved expanded tree sections and selections during updates while preventing stale results. * Improved error reporting, job monitor rendering, sorting, booking metrics, and move operations. * **Tests** * Expanded coverage for refreshing, asynchronous actions, tree state, subscriptions, monitoring, and background tasks. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
[ci] Resolve release tags to master in the version scripts (#2598) ## Problem The v1.34.20 release pipeline failed every job on the tag/version check ([run](https://github.com/AcademySoftwareFoundation/OpenCue/actions/runs/37683408296)): ``` Commit count in master since last release: 21 Version check failed: code version v1.34.22-997e2f4d does not match tag name v1.34.20 ``` On a detached HEAD, which covers every tag-triggered run, `get_current_branch()` returns the first remote branch, alphabetically, that contains the commit. Between the merge and the tag, dependabot opened branches on top of master (`dependabot/cargo/...`, `dependabot/npm_and_yarn/...`). Those sort before `master`, so the script treated the tag as a feature branch. The packaging run for the same commit passed only because it ran before those branches existed. `generate_version_number.sh`, which the release step uses to write `VERSION`, has the same bug. Its sed fallback could also print several branch names. ## Fix - In both scripts, a detached HEAD that is reachable from `origin/master` resolves to `master`. Otherwise the existing fallback applies, and the shell version now keeps only its first match. - Add `ci/tests/test_generate_version_number.py`. It builds a throwaway origin with a later branch containing the release commit, and covers master, a detached tag, and a detached off-master commit. `ci/run_python_tests.sh` now runs it. ## Testing - The new tests pass with `unittest` and `pytest`, for both scripts. - With the fix reverted, the detached-tag test fails with `'1.2.3' != '1.2.4-<hash>'`, the same error CI hit. That holds separately for the `.py` and the `.sh`. - No new pylint findings. After this merges, we'll tag the merge commit for the release in place of v1.34.20. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
[scheduler] Add sqlx warnings as sentry events (#2250) ## Related Issues sqlx warnings should be tracked by sentry ## Summarize your change. Treat sentry sqlx warnings as events <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Enhanced error monitoring with improved categorization of logs and errors to better distinguish critical issues from routine entries, resulting in more effective incident detection and troubleshooting. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
[scheduler] Add sqlx warnings as sentry events (#2250) ## Related Issues sqlx warnings should be tracked by sentry ## Summarize your change. Treat sentry sqlx warnings as events <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Enhanced error monitoring with improved categorization of logs and errors to better distinguish critical issues from routine entries, resulting in more effective incident detection and troubleshooting. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
PreviousNext