Skip to content

fix(ci): treat fork action_required as pending, not failed (residual false-close) - #1143

Merged
JSONbored merged 1 commit into
mainfrom
fix/fork-action-required
Jun 24, 2026
Merged

fix(ci): treat fork action_required as pending, not failed (residual false-close)#1143
JSONbored merged 1 commit into
mainfrom
fix/fork-action-required

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Follow-up to the harm-stop (#1138). A fork PR awaiting maintainer 'Approve and run' has required checks with conclusion=action_required; CI_FAILING_CONCLUSIONS folded that into failed → ciState='failed' → the agent still auto-closed the fork as 'CI failing' even though nothing ran. Now it falls through to anyPendingpending → deferred/held, never closed. Full suite green (3608).

…he residual false-close)

The harm-stop (#1138) held ciState='unverified' fork PRs but MISSED this path: a fork awaiting maintainer
'Approve and run' surfaces its required checks with conclusion='action_required', which CI_FAILING_CONCLUSIONS
folded into failingDetails → ciState='failed' → the agent still one-shot CLOSED the fork citing 'CI is failing',
even though no check ever ran. Removing 'action_required' from the failing set lets it fall through to
anyPending → ciState='pending' → the PR is DEFERRED/held, never closed, until its runs are approved (manually
or by upcoming fork CI auto-approval). Full suite green (3608).
@JSONbored
JSONbored merged commit 0333067 into main Jun 24, 2026
@dosubot dosubot Bot added the size:XS label Jun 24, 2026
@JSONbored
JSONbored deleted the fix/fork-action-required branch June 24, 2026 02:19
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.78%. Comparing base (e5fc5b8) to head (63625c5).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1143   +/-   ##
=======================================
  Coverage   94.78%   94.78%           
=======================================
  Files         156      156           
  Lines       18872    18872           
  Branches     6833     6833           
=======================================
  Hits        17887    17887           
  Misses        404      404           
  Partials      581      581           

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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