Repository navigation
ci: restore push/pull_request triggers accidentally removed by #718 - #1766
Conversation
#718 (refactor(cli): remove foreground resource policy) — a PR with no CI scope — silently reverted the trigger blocks on ci.yml, nix.yml, actionlint.yml, and dep-audit.yml, leaving only `workflow_dispatch:`. As a result the CI test/lint/nix gate has not run automatically on master or PRs since 2026-05-02, and ~61 test failures accumulated undetected. Restores the exact pre-#718 triggers (verified via `git show 8b2b0fa~1`): - ci.yml / nix.yml: push[master] + pull_request[master, types] - actionlint.yml: pull_request[master, paths: workflows/actions] - dep-audit.yml: push/pull_request[master, paths] + weekly schedule (pr-policy.yml and proof-comment.yml stay deleted — that was the intentional #1737 ceremonial-verification cleanup, not collateral.)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughFour GitHub Actions workflow files (actionlint, CI, dependency audit, Nix) are updated to trigger automatically on push to the master branch and pull request events, replacing manual-only execution via ChangesGitHub Actions Workflow Triggers
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
Holding this PR (do not merge yet) — GitHub Actions minutes. The trigger restoration here is correct (it reverts the accidental #718 clobber), but re-enabling Options when minutes allow:
Leaving open so the fix is ready; the trigger config is the bug-free version regardless of when it's enabled. |
…ns (#1767) ## Summary Continues clearing the inherited test failures (after #1765). Fixes one real search bug, one real #1737 docs-cleanup gap, and three stale surface pins. ## Problem & Solution Failures that accumulated while CI was off (#1766): 1. **`escape_fts5_query` bug** (`fts_escape_in_insights`): bare-asterisk queries like `* * *` passed through unquoted and SQLite rejected them (`unknown special query: *`). The prefix logic treated any `*`-at-word-boundary as valid `word*` syntax. Now only word-suffixed `*` is preserved; bare asterisks are quoted (safe literal). Updated the `test*` security case to the preserved-prefix form (still MATCH-compiles). 2. **Dangling verification docs** (`render_docs_surface`): #1737 deleted `docs/verification-catalog.md` and `docs/verification-lab.md` but left their entries in `devtools/docs_surface.py`; the renderer skipped the missing files so the README dropped them and the pin failed. Removed the dead entries + test assertion; regenerated the docs README. 3. **Stale surface pins**: `perf_rescue_1314` (v22 moved per-role counts to `conversation_stats`, eliminating the messages scan — dropped the stale assertion); `click_app` (registered 6 new commands); `message_render_envelope` (added `paste_boundary_state`, #1655). ## Verification ``` pytest tests/unit/storage/test_fts_escape_in_insights.py tests/unit/storage/test_query_security.py # 46 passed pytest <perf_rescue, click_app, envelope, render_docs_surface> # all pass devtools verify --quick # push gate green ``` ## Remaining (tracked for follow-up) Still-open inherited failures, triaged in #1765's body — needing per-case judgment: the `ASSURANCE_REGISTRY` real gap (6 new commands need output contracts), `exercise_catalog`/`config source_roots` (ambiguous), and the slower real candidates `test_source_laws` (zip "not seekable" — likely a real regression), `test_resilience` (source_name), `test_acquisition_encoding` (BOM).
Summary
Restores the
push/pull_requestCI triggers that were accidentally removed by #718, re-enabling automatic test/lint/nix gating onmasterand PRs.Problem
#718 (
refactor(cli): remove foreground resource policy) — a PR whose scope was entirely CLI resource policy, with no mention of CI — silently reverted the trigger blocks on four workflows, leaving each with onlyworkflow_dispatch:(manual-only):ci.yml(lint + test ×3 Python)nix.yml(nix build + flake check)actionlint.ymldep-audit.ymlConsequence: the CI test gate has not run automatically since 2026-05-02 (the last
ci.yml/nix.ymlruns are on9029a37a). Across the ~20 commits merged since, ~61 unit-test failures accumulated undetected — see #1765. This is the root cause of the test debt.(
pr-policy.ymlandproof-comment.ymlwere also gutted by #718, but those stay deleted — that was the intentional ceremonial-verification cleanup in #1737, not collateral.codeql.ymlretains a working trigger and is unaffected.)Solution
Restore the exact pre-#718
on:blocks (verified againstgit show 8b2b0fae~1:.github/workflows/<f>.yml):ci.yml/nix.yml:push: [master]+pull_request: [master](opened/reopened/synchronize/ready_for_review)actionlint.yml:pull_request: [master](paths:.github/workflows/**,.github/actions/**)dep-audit.yml: push/pull_request (paths:pyproject.toml,uv.lock, the workflow) + weeklycron: 0 6 * * 1Verification
Once merged,
ci.ymlwill run onmasterand PRs and will be red until the inherited test failures are cleared. That is the intended signal, not a regression introduced here. The known failures are partly fixed in #1765 (collection error, keyset, config, stale tests) and partly still open (a handful of real-bug candidates triaged in #1765's body). Recommended order: merge #1765, work the remaining real failures, then this fix's CI will go green. Merging this first is also fine — it just makes the existing red state visible.Summary by CodeRabbit