Skip to content

Scope work queue stress runs and shorten PR profiles - #66991

Merged
pelikhan merged 1 commit into
mainfrom
copilot/optimize-work-queue-stress-test
Oct 8, 2026
Merged

pelikhan merged 1 commit into
mainfrom
copilot/optimize-work-queue-stress-test

Conversation

Copilot AI commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

The work queue stress workflow runs for unrelated JavaScript changes, and its full-scale profiles take several minutes on PRs.

  • Triggers: Limit JavaScript path filters to work-queue files; retain triggers for the stress workflow, simulator scripts, and work-queue specs.
  • Profiles: Run 256 retained-history entities and 16 worker lifecycles on PRs. Keep the 100,000-entity and 1,024-lifecycle profiles on main pushes.
  • Coverage: Update workflow assertions for included and excluded paths and event-specific profile sizes.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Scope work queue stress to queue files and shorten PR runs Scope work queue stress runs and shorten PR profiles Oct 8, 2026
Copilot AI requested a review from pelikhan October 8, 2026 19:42
@pelikhan
pelikhan marked this pull request as ready for review October 8, 2026 19:43
Copilot AI balanced review requested due to automatic review settings October 8, 2026 19:43
@pelikhan
pelikhan merged commit 1e3b581 into main Oct 8, 2026
3 checks passed
@pelikhan
pelikhan deleted the copilot/optimize-work-queue-stress-test branch October 8, 2026 19:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The linked work-queue documentation still describes the previous trigger scope and fixed full-scale profiles.

1 open finding
What changed in this PR

Scopes work-queue stress CI and reduces PR workload while preserving full-scale main-branch runs.

Changes:

  • Narrows JavaScript path triggers to work-queue files.
  • Uses smaller history and lifecycle profiles on pull requests.
  • Updates workflow assertions for paths and profile sizing.
File Description
.github/​workflows/​work-queue-stress.yml Narrows triggers and adds event-specific workload sizes.
actions/​setup/​js/​work_queue_stress_workflow.test.cjs Verifies path matching and workload configuration.

🧠 Review effort: Balanced

Comment on lines +37 to +38
HISTORY_ITEMS: ${{ github.event_name == 'pull_request' && '256' || '100000' }}
LIFECYCLE_ITEMS: ${{ github.event_name == 'pull_request' && '16' || '1024' }}
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.91.7

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.

3 participants