Skip to content

test(ci): keep package-manager post-merge push checks after concurrency change - #1101

Merged
777genius merged 2 commits into
mainfrom
fix/package-manager-main-push-policy-20261123
Nov 24, 2026
Merged

777genius merged 2 commits into
mainfrom
fix/package-manager-main-push-policy-20261123

Conversation

@777genius

Copy link
Copy Markdown
Owner

Why

main@1f39044c intentionally keeps push Package Manager E2E runs (PR jobs may cancel stale heads), but scripts/test_package_manager_ci_policy.py still asserts that cancel-in-progress contains both pull_request and push. Thus test_required_source_and_test_paths_are_watched fails on every newly generated PR merge ref, before native E2E runs. Reproduced from #1016 job 138025135894: 13 of 14 policy tests passed, one stale assertion failed; artifact upload then had no report because the test exited early.

Change

Change only the policy test, with an exact assertion for the existing main concurrency group and pull_request-only cancellation. No workflow, product, native contract or security gate is changed. Source design is already independently present in #1087 and #1071; extracted as a minimal prerequisite so their unrelated feature work is not merged prematurely. The resulting policy-test file is byte-identical to the concurrently validated #1016 version.

Acceptance

  • Actual Python policy preflight on exact HEAD: 14/14 tests PASS, no skips
  • Relevant Package Manager E2E runs required for this test-only diff qualify (no stale worker/workflow push cancellation)
  • Review diff, mark ready, ordinary merge, inspect post-merge main

queued, skipped, neutral and cancelled are not PASS. This PR is a CI policy regression repair, not a native installation success claim.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 41 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 1f39044 and 2b13b8a.

Files selected for processing: 1

  • scripts/test_package_manager_ci_policy.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@777genius
777genius marked this pull request as ready for review November 23, 2026 21:43
@strix-security

Copy link
Copy Markdown

Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here.

So far, Strix has reviewed 392 pull requests, surfaced 113 security issues (1 critical/high) and blocked 3 risky merges across this workspace.

Copy link
Copy Markdown
Owner Author

Independent source-level audit on exact HEAD 2b13b8a264b9a7cf195da7a8f13faf7b8464029b: inspected the complete current scripts/test_package_manager_ci_policy.py, .github/workflows/package-manager-e2e.yml and PR diff. Confirmed one changed file only (Python policy test); the exact new concurrency assertion is present and matches the existing main workflow byte-for-byte. The old push-cancellation assertion is absent. As a negative control, substituting the old push-cancellation expression into the workflow makes the exact new assertion fail; no workflow execution semantics change in this PR. This is targeted static/source preflight only, NOT 14/14 Python tests or multi-OS E2E PASS. Ready-PR Package Manager E2E and Required remain queued. No merge pending those actual results.

@codecov

codecov Bot commented Nov 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.07%. Comparing base (1a865bf) to head (2b13b8a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1101      +/-   ##
==========================================
- Coverage   64.07%   64.07%   -0.01%     
==========================================
  Files        2315     2315              
  Lines      140173   140173              
==========================================
- Hits        89814    89813       -1     
+ Misses      37465    37463       -2     
- Partials    12894    12897       +3     

☔ View full report in Codecov by Harness.
📢 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.

@777genius
777genius merged commit 3aa4206 into main Nov 24, 2026
52 of 54 checks passed
@777genius
777genius deleted the fix/package-manager-main-push-policy-20261123 branch November 24, 2026 14:04
777genius added a commit that referenced this pull request Nov 24, 2026
Merge verified main 3aa4206 (PR #1101) while preserving the current Cursor source and all upstream CI policy. Resolve only scripts/test_package_manager_ci_policy.py: retain the Firebase automatic source proof and PR-only concurrency cancellation with distinct main-push run grouping. Tree independently checked against 8,290 leaves. Contains the preceding narrow Copilot and historical Codex regression fixes.
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.

1 participant