Skip to content

chore(ci): drop the gates the fleet already runs and fold the e2e nightly into nightly.yml - #259

Merged
Vivswan merged 2 commits into
mainfrom
chore/fleet-audit-dedupe-gates
Sep 18, 2026
Merged

Vivswan merged 2 commits into
mainfrom
chore/fleet-audit-dedupe-gates

Conversation

@Vivswan

@Vivswan Vivswan commented Sep 18, 2026

Copy link
Copy Markdown
Owner

What this changes

gate                          before                                        after
knip                          fleet action 6.35.1  +  checks.yml @ 6.34.0    fleet action alone
yamllint                      fleet action 1.38.0  +  setup composite pipx   fleet action alone
whole e2e corpus + tripwire   e2e-nightly.yml (3rd cron, e2e-fuzz label)    nightly.yml `e2e` job -> nightly-failure issue
nightly.yml   checks ─┐
              float-canary ─┼─> report: any != success -> file nightly-failure
              e2e (new) ─┘            all == success   -> close it

How

  • checks.yml loses the knip and lint:yaml steps; the setup composite loses its yamllint input and pin. The check script mirrors checks.yml again.
  • nightly.yml gains the e2e job (fresh spec fetch, corpus, endpoint-coverage tripwire, failure artifacts) in the report job's needs and both conditions. e2e-nightly.yml and its e2e-fuzz label go.
  • Rendered settings: the branch sync commit re-renders .github/settings.yml without the label and moves the manifest stamp to the platform head; nothing there is hand-edited.
  • Local: the dead .husky/ shell beside lefthook.yml was untracked cruft and is removed on this machine only.

Proof

  • Gate: bun run check green, 3322 tests.
  • New test: the report job's red and green conditions are evaluated with each sibling's result substituted; a sibling left out of either side, or a || turned into &&, fails it (both controls run red).
  • Census: e2e-nightly, e2e-fuzz, lint:yaml-in-CI, and the yamllint: input have zero references left in the tree.
Technical details
  • Source: fleet audit from the repo-platform session; findings 1 to 3 and 5 land here. Finding 4 (auto-fix.yml vs auto-format.yml consolidation) is an owner call and is not in this PR.
  • Tracking issue shape: the e2e failure now files the generic nightly-failure report (run link) instead of a fuzz-issue excerpt of report.md; the e2e job still uploads test/e2e/.artifacts/ on failure.
  • Line accounting: workflows and config +48 -134; tests +62 -44 (the evaluated-condition test replaces the per-job e2e-nightly suite and the lint:yaml CI-branch test); docs +1 -1; generated (branch sync) +2 -5.
  • Review: codex rubber duck, two rounds; round 1 replaced substring assertions on the conditions with the evaluator and dropped a wrong "skipped matches neither side" claim (this file's != 'success' shape does fold skipped into red).
  • knip: the devDependency and knip script stay for local runs, as the platform repository keeps its own.

Copilot AI balanced review requested due to automatic review settings September 18, 2026 06:42
@github-actions

Copy link
Copy Markdown
Contributor

File size check

0 over a hard cap (fails), 14 warning(s).

File Size Tier Cap
.github/scripts/release-pipeline.ts:6 156 chars warn 150
.github/scripts/release-pipeline.ts:449 151 chars warn 150
.github/scripts/release-pipeline.ts:1206 153 chars warn 150
.github/scripts/release-pipeline.ts:1 30 comment lines (header) warn 25
.github/scripts/release-pipeline.ts:445 14 comment lines warn 10
.github/workflows/post-green.yml:27 153 chars warn 150
.github/workflows/post-green.yml:140 11 comment lines warn 10
src/flows/settings-write.ts:142 159 chars warn 150
src/flows/settings-write.ts:30 11 comment lines warn 10
src/flows/snapshot.ts:189 13 comment lines warn 10
src/sections/contract/module.ts:637 174 chars warn 150
src/sections/contract/module.ts:387 11 comment lines warn 10
src/sections/shared/variables-engine.ts:50 151 chars warn 150
test/docs/guides.test.ts:451 155 chars warn 150

Split the file, wrap the line, shorten or exempt the comment, or list the path in .file-size-allow.local with a # reason.

5 managed file(s) skipped; repo-platform owns them.

@Vivswan Vivswan added the repo-platform:sync Sync this pull request's branch from repo-platform (the workflow removes the label) label Sep 18, 2026
@github-actions github-actions Bot removed the repo-platform:sync Sync this pull request's branch from repo-platform (the workflow removes the label) label Sep 18, 2026
@github-actions

github-actions Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Build c81f6ac157538498b02b50ee37846e4656f6a578 pushed onto chore/fleet-audit-dedupe-gates as 8746519 (run).
GitHub holds the new head's pull_request run for approval, so its checks stay unreported until you approve the run from the merge box or push a commit of your own.

Sync report

Build Modules Visibility
c81f6ac157538498b02b50ee37846e4656f6a578 bun, site, release-please, pr-title, fuzzer, nightly public

Written

Path Class Change Detail
.editorconfig split unchanged
.gitattributes split unchanged
.gitignore split unchanged
.github/CODEOWNERS split unchanged
.github/dependabot.yml managed unchanged
.github/actionlint.yaml starter unchanged
.github/instructions/review.instructions.md managed unchanged
.github/settings.local.yml starter unchanged
.github/settings.yml managed updated
.github/workflows/ci.yml managed unchanged
.github/workflows/checks.yml starter unchanged
.github/workflows/post-green.yml starter unchanged
.github/workflows/update-release.yml starter unchanged
.github/workflows/update-release-pr.yml starter unchanged
.github/actions/site-build/action.yml starter unchanged
.github/workflows/copilot-setup-steps.yml starter unchanged
.gitleaks.toml starter unchanged
.yamllint managed unchanged
.github/workflows/auto-assign.yml managed unchanged
.github/workflows/sync-branch.yml managed unchanged
.github/workflows/auto-format.yml starter unchanged
.typography-allow managed unchanged
AGENTS.md split unchanged
LICENSE.md split unchanged
.bun-version managed unchanged
.release-please-manifest.json starter unchanged
release-please-config.json starter unchanged
.github/workflows/pr-title.yml managed unchanged
.github/workflows/nightly-fuzz.yml starter unchanged
.github/workflows/nightly.yml starter unchanged

Mirrors

Source Target Outcome Detail
AGENTS.md CLAUDE.md current
AGENTS.md .github/agents.md current
AGENTS.md .github/copilot-instructions.md current

Review

Hold for review: no

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The workflow consolidation is internally consistent and its reporting conditions are covered by focused tests.

Pull request overview

Consolidates CI by relying on fleet-provided gates and moving full-corpus e2e coverage into the existing nightly workflow.

Changes:

  • Removes duplicate knip and YAML lint CI setup.
  • Adds e2e execution and failure reporting to nightly.yml.
  • Removes the standalone e2e workflow and label.
File summaries
File Description
.github/actions/setup/action.yml Removes yamllint installation support.
.github/settings.local.yml Removes the retired e2e label.
.github/workflows/checks.yml Drops duplicate knip and YAML lint steps.
.github/workflows/e2e-nightly.yml Deletes the superseded workflow.
.github/workflows/nightly-fuzz.yml Updates references to the consolidated nightly.
.github/workflows/nightly.yml Adds e2e and integrates its result into reporting.
CONTRIBUTING.md Documents the new nightly arrangement.
package.json Aligns the local check script with repo-owned checks.
test/docs/nightly-workflows.test.ts Tests consolidated report conditions and labels.
test/docs/repo-owned-workflows.test.ts Removes obsolete YAML lint behavior tests.
Review details
  • Files reviewed: 14/14 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI review requested due to automatic review settings September 18, 2026 06:44
@Vivswan
Vivswan force-pushed the chore/fleet-audit-dedupe-gates branch from 17c22d1 to 1ec2575 Compare September 18, 2026 06:46
@Vivswan Vivswan added the repo-platform:sync Sync this pull request's branch from repo-platform (the workflow removes the label) label Sep 18, 2026
@github-actions github-actions Bot removed the repo-platform:sync Sync this pull request's branch from repo-platform (the workflow removes the label) label Sep 18, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The workflow consolidation is consistent, tested, and leaves no unresolved defects.

Review details
  • Files reviewed: 12/12 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

Copilot AI review requested due to automatic review settings September 18, 2026 06:48
repo-platform-sync and others added 2 commits September 18, 2026 02:49
…htly into nightly.yml

The managed ci.yml's standard-checks job runs the fleet knip and yamllint actions against the same knip.json and the managed .yamllint on every PR, so the knip and lint:yaml steps in checks.yml judged the same tree twice, at a second knip version and behind a second yamllint pin in the setup composite. Both steps go, with the yamllint input of the composite and the CI-fails-when-missing branch of lint:yaml; the check script mirrors checks.yml again.

e2e-nightly.yml duplicated the shape of the nightly starter. Its corpus run and endpoint-coverage tripwire are now the e2e job of nightly.yml, in the report job's needs and folded into its red and green conditions, so a red corpus files the nightly-failure issue and the e2e-fuzz label is gone. The test of the report job evaluates the conditions with each sibling's result substituted, so a sibling left out of either side fails the suite.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The consolidated workflow preserves e2e coverage and correctly folds every nightly job into issue reporting.

Review details
  • Files reviewed: 12/12 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@Vivswan
Vivswan marked this pull request as ready for review September 18, 2026 06:53
@Vivswan
Vivswan merged commit f9afb3e into main Sep 18, 2026
30 checks passed
@Vivswan
Vivswan deleted the chore/fleet-audit-dedupe-gates branch September 18, 2026 07:55
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.

2 participants