mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-26 01:39:51 +01:00
## Thinking Path > - Paperclip is the open source app people use to manage AI agents for work. > - Post-merge release verification in `.github/workflows/release-verify.yml` runs `verify_paperclip_runner` matrix lanes in parallel to prove exact-source readiness. > - Today, the `rust` lane runs `check:runner` (236s) and `check:api-authority` (92s) serially on one runner, stretching the lane to ~6m 39s–7m 34s even though `check:api-authority` is independent and reads the same shared `release-runner-v2` Rust dependency cache. > - Meanwhile, PR verification (`pr-trusted.yml`) already separates `check:api-authority` from the Rust test lane. > - This pull request moves `check:api-authority` into its own `api-authority` lane in `.github/workflows/release-verify.yml` and updates `.github/scripts/tests/release-runner-cache.test.mjs` to cover the new lane. > - The benefit is cutting ~1m 30s off the `Verify Paperclip Runner (rust)` critical path on every post-merge `cloud-readiness.yml` and release verification run. ## Linked Issues or Issue Description **What existing behavior does this improve?** Wall-clock duration of `Verify Paperclip Runner (rust)` in `.github/workflows/release-verify.yml`. **Subsystem affected** Cross-cutting (multiple of the above) **Current behavior** The `rust` matrix entry executes `checks: check:runner check:api-authority` serially in one job (~328s in the check step, ~399s–454s total job duration). **Proposed behavior** Run `check:runner` in the `rust` lane (which remains the sole Rust cache writer) and run `check:api-authority` concurrently in a dedicated `api-authority` lane that restores the same `release-runner-v2` Rust cache. **Reason and benefit** Removes ~92s of serial wall-clock time from `Verify Paperclip Runner (rust)` with identical check coverage (`check:all-without-vitest` stays exact and complete). **Breaking changes** None. All checks in `check:all-without-vitest` remain required before verification passes. ## What Changed - Split `checks: check:runner check:api-authority` in `.github/workflows/release-verify.yml` into `lane: rust` (`checks: check:runner`) and `lane: api-authority` (`checks: check:api-authority`). - Updated `.github/scripts/tests/release-runner-cache.test.mjs` to verify `api-authority` restores the shared Rust cache without writing it and preserves complete `check:all-without-vitest` coverage. ## Verification - `node --test .github/scripts/tests/release-runner-cache.test.mjs scripts/__tests__/release-verify-workflow.test.mjs .github/scripts/tests/cloud-readiness.test.mjs` (80/80 passed). ## Risks - Low risk. No production code, schema, or test assertions change; `rust` remains the sole cache writer (`save-if: matrix.lane == 'rust'`), and `release-verify-workflow.test.mjs` enforces exact `check:all-without-vitest` coverage. ## Model Used - Google Gemini 3.1 Pro (thinking mode, tool use and code execution) ## Checklist - [x] I have included a thinking path that traces from project context to this change - [x] I have specified the model used (with version and capability details) - [x] I have checked ROADMAP.md and confirmed this PR does not duplicate planned core work - [x] I have searched GitHub for duplicate or related PRs and linked them above - [x] I have either (a) linked existing issues with `Fixes: #` / `Closes #` / `Refs #` OR (b) described the issue in-PR following the relevant issue template - [x] I have not referenced internal/instance-local Paperclip issues or links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip` URLs) - [x] My branch name describes the change (e.g. `docs/...`, `fix/...`) and contains no internal Paperclip ticket id or instance-derived details - [x] I have run tests locally and they pass - [x] I have added or updated tests where applicable - [x] I have updated relevant documentation to reflect my changes - [x] I have considered and documented any risks above - [ ] All Paperclip CI gates are green - [ ] Greptile is 5/5 with no open P2s, recommendations, or follow-ups - [x] I will address all Greptile and reviewer comments before requesting merge