fix(bash-format): apply-ignore fallback, [*] opt-in, Windows paths - #1867
Conversation
…ws paths Co-authored-by: Cursor <cursoragent@cursor.com>
|
Claude finished @kyle-sexton's task in 1m 44s —— View job Security Review — PR #1867 (
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2aa00ed29d
ℹ️ 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 2m 29s —— View job Code Review — PR #1867 (
|
|
Claude has reviewed this PR 2 times. The lane skips further automatic reviews after 5; deleting this comment resets the count. |
|
Claude finished @kyle-sexton's task in 1m 7s —— View job Security Review — PR #1867 (
|
|
Claude finished @kyle-sexton's task in 26s —— View job Code Review — PR #1867 (
|
|
Claude encountered an error after 1s —— View job I'll analyze this and get back to you. |
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
|
Warning Automated review did not complete — this is an infrastructure failure, not a review verdict. Treat any Claude comment on this PR (including a placeholder like "I'll analyze this and get back to you") as incomplete, not "no findings."
Re-run the job to retry the review. A new push does not re-trigger this lane. |
Thirteen of the sixteen provisional numbers already matched. Three move up to clear versions claimed by open pull requests that "next patch above main" could not see: bash-format 0.6.11 -> 0.6.12 (#1867 claims 0.6.11) rate-limit-guard 0.4.1 -> 0.4.2 (#1866 claims 0.4.1) source-control 0.45.2 -> 0.46.1 (#1830 claims 0.46.0) Manifest and CHANGELOG heading move together; each entry keeps its position above that plugin's newest shipped entry, and all sixteen remain strictly greater than main. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
|
Claude finished @kyle-sexton's task in 51s —— View job Security Review — PR #1867 (
|
Summary
--apply-ignoreon the shfmt formatting path via a capability probe (no strip-ignore fallback). Defect 1 landed earlier in fix(bash-format): probe --apply-ignore instead of falling back on any failure #1823; retained here.[*]EditorConfig sections as shell opt-in; require an explicit shell glob ([*.sh],[*.bash],[*.{sh,bash}],[**/*.sh]).cygpath -lm), re-check file existence before shfmt/ShellCheck, and never surface GHCopenBinaryFileas a finding.Closes #1817
Related
--apply-ignoreprobe); this PR finishes defects 2 and 3 and closes the issue.[*]opt-in); defect 3 diagnosed as missing-file/openBinaryFilewith Windows path hardening.Test plan
bash plugins/bash-format/hooks/bash-format.test.sh— PASS=48 FAIL=0[*](with indent props and eol-only) leaves shell files untouched[*.sh]/ brace-list / path-prefixed globs still format--apply-ignorerun does not re-format without the flagopenBinaryFilestub output is not surfaced; Win32 path form runs cleanly