Skip to content

Commit 59f13b5

Browse files
authored
Merge pull request #416 from githubnext/codex/evergreen-structural-blockers
Prioritize structural Evergreen blockers
2 parents e8ffe01 + 5ac54ad commit 59f13b5

4 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/evergreen.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/evergreen.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,12 @@ that command, rerun the same command, and repeat until it passes, only
589589
non-mechanical blockers remain, or a stop rule applies. Prefer one coherent
590590
gate-clearing commit over several tiny symptom commits.
591591

592+
Prioritize structural blockers before warning churn. If the failing command is
593+
dominated by a large complexity, architecture, or control-flow blocker that will
594+
keep the gate red, address that blocker directly when it is scoped and safe; if
595+
it requires a broader refactor or policy decision, report that instead of
596+
spending the run on smaller diagnostics that cannot make the gate pass.
597+
592598
## Stop States
593599

594600
End each run with exactly one of these states:

.github/workflows/shared/evergreen/repo-policy.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ readiness controller and the agentic orchestrator must both respect this file.
133133
failures, `bun run lint` is the source of truth; do not guess from truncated
134134
GitHub summaries. For lint and typecheck gates, iterate locally until the
135135
current command passes, only non-mechanical blockers remain, or a stop rule
136-
applies.
136+
applies. Prioritize structural blockers, such as large complexity or
137+
control-flow issues, before warning churn that cannot make the gate pass.
137138
- Generated file policy: recompile committed lockfiles/snapshots when their
138139
sources change. After editing any `.github/workflows/*.md` workflow, recompile
139140
and commit the generated `.lock.yml`.

.github/workflows/shared/skills/deterministic-repair.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ Prefer targeted commands over broad commands. Apply or propose the smallest
1818
safe patch that clears the current failing gate, not just the first diagnostic.
1919
For lint and typecheck failures, fix all current mechanical diagnostics from the
2020
same command when they are local and low-risk, then rerun the command before
21-
pushing. Route policy conflicts to the appropriate review or human decision
22-
instead of guessing.
21+
pushing. Prioritize structural blockers, such as large complexity or control
22+
flow issues, before warning churn that cannot make the gate pass. Route policy
23+
conflicts to the appropriate review or human decision instead of guessing.

0 commit comments

Comments
 (0)