Repository navigation
Add the Rook GitHub Actions workflows to the incident-scribe sample - #62
ishanaggarwal04 wants to merge 2 commits into
Conversation
rook-assurance.yml and rook-prepare-suite.yml, plus the rook-setup composite action they share, copied as-is from the incident-scribe agent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Continuous Review — Round 1 — ❌ FAILHead: Per-reviewer summary
Findings
|
The gate installed Rook 0.1.5 inline while rook-setup, used by every rook-prepare-suite.yml stage, installed 0.1.11, so a suite prepared by one release was gated by another. Both now install through a new rook-install action, the only place the version is pinned, and a change to it triggers the gate. Also note in the select step that ci/select-scenarios.mjs writes the PR run's ids and mode to $GITHUB_OUTPUT itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Continuous Review — Round 2 —
|
| Reviewer | Verdict | CRIT | HIGH | MED | LOW | Duration |
|---|---|---|---|---|---|---|
claude |
ABSTAIN_ERROR | 0 | 0 | 0 | 0 | 1s |
glm |
PASS | 0 | 0 | 1 | 0 | 571s |
Findings
glm — 1 finding(s)
[MED] The 'pinned' Rook installer is fetched from the mutable main branch and executed after secrets are already in the job environment
- File:
samples/incident-scribe/.github/actions/rook-install/action.yml:20 - Scenario: rook-setup runs its 'Resolve secrets' step first, exporting LT_USERNAME, LT_ACCESS_KEY, LLM_API_KEY and SCRIBE_API_TOKEN to GITHUB_ENV, and rook-assurance's run job does the same before invoking this action. The action then curls https://raw.githubusercontent.com/LambdaTest/rook/main/install.sh and runs it with bash. Any change merged to the public rook repo's main branch (accidental breakage or compromise) immediately changes the code executing in every consumer's CI with those credentials in its environment; the 0.1.11 pin constrains only the --version argument, not the script that actually runs.
Auto-posted by continuous-review-agent v1.3 (findings now include a suggested fix / code snippet). Contact @vipulkv for feedback.
rook-assurance.yml and rook-prepare-suite.yml, plus the rook-setup composite action they share, copied as-is from the incident-scribe agent.