Repository navigation
test(guardrails): isolate block-noncanonical-commit suite from enclosing repo state - #2455
Conversation
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Claude finished @kyle-sexton's task in 58s —— View job Security Review
Scope: What the new test does: it sets a persisted git alias ( Findings: None. This change is test-only:
Note (non-security, FYI only): the PR description says this run isolates the suite via a mktemp cwd to hide ambient repo state ( |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8a9ff9e23a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Claude finished @kyle-sexton's task in 6m 1s —— View job Code Review
This PR's only change is an 11-line addition to Findings🔴 Important — the new assertion is broken, and CI already caught it. Inline comment: the fixture's alias body ( which contradicts the PR description's Test Plan claim of "204 passed" (author-claimed, and now shown stale/inaccurate by the CI run itself). 🟡 Nit — inline comment: the hang-guard fallback doesn't skip the follow-up Note (unverified): the PR description says the suite now "runs from a mktemp cwd so Once the fixture's alias body is fixed to include the embedded newline, this looks like a solid, well-isolated regression test consistent with the file's existing conventions. |
|
Claude has reviewed this PR 5 times. The lane skips further automatic reviews after 5; deleting this comment resets the count. |
c680780 to
e116851
Compare
|
Claude finished @kyle-sexton's task in 49s —— View job Security Review
Scope: FindingsNo security issues found.
Out of scope (already reported elsewhere, not a security issue): this fixture's asserted exit code ( |
|
Claude finished @kyle-sexton's task in 2m 7s —— View job Code Review
This PR's only diff (against merge base 🔴 Important — inline comment: the new fixture's alias body ( 🟡 Nit — inline comment: the hang-guard fallback doesn't skip the follow-up Description/diff note: the PR description says this run "isolates the suite via a mktemp cwd" to hide ambient repo state from Once the fixture's alias body gets the embedded newline (and optionally the hang-guard nit), this is a solid, well-isolated regression test consistent with the file's conventions. |
e116851 to
040b8bc
Compare
|
Claude finished @kyle-sexton's task in 47s —— View job Security Review
Scope: FindingsNo security issues found.
Out of scope (already reported elsewhere, not a security issue): the fixture's asserted exit code doesn't match the hook's actual behavior for a single-line |
70f6bb5 to
d792d3d
Compare
|
Claude finished @kyle-sexton's task in 2m 1s —— View job Security Review
Scope (current HEAD
FindingsNo security issues found.
|
|
Claude finished @kyle-sexton's task in 4m 46s —— View job Code Review
Previously flagged issues are now fixed (verified by reading the current file, not restating the author's claim): the New finding🔴 Important — filed as an inline comment on the Net effect: this PR's new test currently exercises a stale, pre-fix hook implementation, and rebasing onto current |
d792d3d to
7a15d9a
Compare
|
Claude finished @cursor[bot]'s task in 1m 24s —— View job Security Review
Scope (HEAD
FindingsNo security issues found.
|
|
Last security-reviewed head: |
|
Claude finished @cursor[bot]'s task in 3m 13s —— View job Code Review
Scope (HEAD Findings (posted inline)
Both findings point to the same underlying issue: the intended fix landed on the wrong call site. Recommend fixing |
|
Claude finished @cursor[bot]'s task in 1m 14s —— View job Security Review
Skip gate: no re-review needed. This head ( Diffing against the last security-reviewed head ( FindingsNo security issues found. Nothing new since the last review:
|
|
Claude finished @cursor[bot]'s task in 3m 2s —— View job Code Review (CI lane)
Scope (HEAD Findings (posted inline)
Both findings are repeats from the prior review pass on this branch; this push didn't change the code, only added a version bump and a changelog entry that restates the same disputed claim. |
|
Claude finished @cursor[bot]'s task in 57s —— View job Security Review
Skip gate: no re-review needed. This head ( Diffing against the last security-reviewed head (
FindingsNo security issues found. Nothing new since the last review:
|
b4d5094 to
9beb183
Compare
|
Claude finished @cursor[bot]'s task in 2m 11s —— View job CI Security Review
Scope (HEAD
This head isn't covered by any prior successful security review on this thread (the branch's commit graph was reset since the last review at FindingsNo security issues found.
Out of scope, but flagging prominently (not a security issue — build-breaking, for the author's awareness): |
9beb183 to
5642424
Compare
|
Claude finished @cursor[bot]'s task in 1m 47s —— View job CI Security Review
Scope (HEAD
FindingsNo security issues found.
Out of scope, repeating from the prior review (not a security issue — build-breaking, for the author's awareness): |
…ing repo state (#2455) Co-authored-by: Kyle Sexton <[email protected]>
5642424 to
9c172d6
Compare
|
Claude finished @cursor[bot]'s task in 1m 23s —— View job CI Security Review
Skip gate: no re-review needed. This head ( Diffing against the last security-reviewed head (
FindingsNo security issues found. Nothing new since the last review:
Out of scope, repeating from prior reviews (not a security issue — build-breaking, for the author's awareness): |
…ing repo state (#2455) Co-authored-by: Kyle Sexton <[email protected]>
9c172d6 to
c8cb845
Compare
|
Claude finished @cursor[bot]'s task in 2m 14s —— View job CI Security Review
Scope (HEAD What changed: this commit resolves the unresolved git merge-conflict markers ( FindingsNo security issues found.
(Note: the previously-flagged build-breaking merge markers and the fixture-correctness/hang-guard issues are code-review/correctness concerns, not security findings — noting their resolution here only for continuity with earlier passes on this thread.) |
Co-authored-by: Kyle Sexton <[email protected]>
Replace A && B || C with an explicit if/else so shellcheck hygiene passes. Co-authored-by: Kyle Sexton <[email protected]>
|
Claude finished @cursor[bot]'s task in 58s —— View job CI Security Review
Scope (HEAD What changed: the if ((rc == 124)); then
bad "persisted lookup with locating globals: the hook HUNG"
else
assert_exit "persisted lookup replays --git-dir/--work-tree (blocks multi-line -m via alias chain)" 2 "$rc"
fiSee FindingsNo security issues found.
|
Summary
Fixes #942
Test plan
bash plugins/guardrails/hooks/block-noncanonical-commit.test.sh(204 passed)Related
N/A