Skip to content

fix(ci): cut golden suite critical path by removing duplicate gate work - #161

Merged
danielvm-git merged 3 commits into
mainfrom
fix/ci-critical-path
Oct 25, 2026
Merged

danielvm-git merged 3 commits into
mainfrom
fix/ci-critical-path

Conversation

@danielvm-git

@danielvm-git danielvm-git commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

Golden Suite took 6–7.5 min (7m24s on main after #159). Three gates were ~335s of the ~444s gate step, all repeated work. Every check still runs — only the repetition goes. Bug file: specs/bugs/BUG-2026-10-25-ci-critical-path.md.

  • story-verify ran twice — inside verification-gates (221s) and as its own story-verify job. CI now sets GOLDEN_SKIP_GATES=story-verify; the gate reports SKIP (runs in the story-verify job of this workflow). Local Preflight still runs every gate. An unknown name in the skip list is a FAIL.
  • Identical story verify commands — 12 stories ran the same installer test (~11s each), 10 more repeated test-adapter-render.sh. Each distinct command (and each segment of a plain a && b chain) now runs once per run; every story keeps its own verdict. Local: 2:39 → 0:52, all 115 verdicts identical.
  • G-13 orphan scan was quadratic — one grep per (script × file); self-test rescanned. Now one grep -l per script: ~57s + 56s in CI → ~3s each locally.
  • Failing gates were silent — output went to /dev/null. Failing gates now print their last 20 lines.
  • Workflows (portfolio template, danielvm-git/.github): 10–15 min timeout-minutes on every job; npm cache; cancel-in-progress: false on Release and Pages so a running semantic-release or Pages deploy is never cancelled mid-way; read-only permissions on publish-wiki.

Out of scope (separate task): consolidating into one test-build-release pipeline, ubuntu-22.04, SHA-pinned actions.

Test plan

  • run-story-verify.sh --self-test — new fixtures prove a shared command runs once and a shared failure fails every story declaring it (bash 5 and macOS /bin/bash 3.2)
  • test-golden-gate-runner.sh (new golden gate) — failing output shown, skip reported with reason, unknown skip name fails, default runs all gates
  • golden-g13-script-orphans.sh --self-test and a probe orphan script is still caught
  • Local Preflight: compliance exit 0, golden 44/44, sync-skills, trace --strict
  • This PR's Golden Suite (run 40192307998): 1m 25s total, down from 7m 24s — verification-gates 82s, story-verify job 40s

🤖 Generated with Claude Code

Golden Suite took 6-7.5 min; every check stays, only repeated work goes.

- run-story-verify: run each distinct verify command (and each segment of
  a plain && chain) once per run; every story keeps its own verdict.
  Self-test proves shared commands run once and a shared failure fails
  every story that declares it.
- golden gates: GOLDEN_SKIP_GATES reports named gates as SKIP with a
  reason (unknown names FAIL); CI skips story-verify inside
  verification-gates because the story-verify job runs it. Failing gates
  now print the last 20 lines of output. New golden-gate-runner gate.
- G-13: one grep per script across all reference files instead of one
  per (script, file) pair (~115s -> ~9s with self-test).
- workflows: 10-15 min timeouts on every job, npm cache, and
  cancel-in-progress: false on Release and Pages so a running
  semantic-release or Pages deploy is never cancelled mid-way.

Refs: BUG-2026-10-25-ci-critical-path
@danielvm-git
danielvm-git merged commit 2db0bb9 into main Oct 25, 2026
5 checks passed
@danielvm-git
danielvm-git deleted the fix/ci-critical-path branch October 25, 2026 12:22
github-actions Bot pushed a commit that referenced this pull request Oct 25, 2026
## [2.88.13](v2.88.12...v2.88.13) (2026-10-25)

### Bug Fixes

* **ci:** cut golden suite critical path by removing duplicate gate work ([#161](#161)) ([2db0bb9](2db0bb9))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.88.13 🎉

The release is available on:

Your semantic-release bot 📦🚀

danielvm-git added a commit that referenced this pull request Oct 30, 2026
…lit oversized files (#171)

* fix(compliance): restore akita.feature to 0 FAIL — dedupe helpers, split oversized files

akita.feature sat at PASS 17 / FAIL 2 on main. The 94% global gate
(97% overall) hid it. Root cause: duplicate bash function names
(pass/fail/run_fixture/run_verify_cmd) added in #118, #123/#125 and #161,
and two files over the 300-line cap (srp-engine.py via #155,
run-story-verify.sh via #161). The checks were right, so the code is fixed:

- lib/test-assertions.sh gains ta_err/ta_ok; the validate-*.sh gates and
  two test scripts use the shared ta_* helpers.
- run_fixture -> ggr_run_fixture; run-story-verify's run_verify_cmd ->
  run_memoized_chain, moved with its memo helpers to lib/story-verify-memo.sh.
- render_okf_concept moves to lib/srp_engine_okf.py.

Compliance is now 98 PASS / 0 FAIL (100%). Exit-code policy is unchanged.

BUG-2026-10-30-compliance-akita-masked

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(mcp): default OMP_PLUGIN_ROOT so bigpowers-mcp starts outside OMP (#168) (#169)

The shipped .mcp.json used ${OMP_PLUGIN_ROOT} with no default. omp
injects it, but Claude Code project scope does not and leaves an unset
${VAR} literal, so it spawned node '${OMP_PLUGIN_ROOT}/...' and the
server failed with CONNECTION_CLOSED. Both references now use
${OMP_PLUGIN_ROOT:-.}, which omp ignores and other hosts resolve from
the project root.

mcp-smoke.ts now expands the manifest per host profile (omp, claude-code)
instead of hard-coding the entry, and validate-mcp-package.sh rejects a
reference without a :- default.

The failures reported in #168 (bare node ENOENT, missing SDK) were the
pre-2.88.4 manifest; re-verified fixed on a packed 2.88.16 install, so
BUG-2026-09-10-pi-mcp-omp-startup is marked fixed.

Closes #168

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
github-actions Bot pushed a commit that referenced this pull request Oct 30, 2026
## [2.88.17](v2.88.16...v2.88.17) (2026-10-30)

### Bug Fixes

* **compliance:** restore akita.feature to 0 FAIL — dedupe helpers, split oversized files ([#171](#171)) ([4ed9a26](4ed9a26)), closes [#118](#118) [123/#125](#125) [#161](#161) [#155](#155) [#161](#161) [#168](#168) [#169](#169) [#168](#168) [#168](#168)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant