Repository navigation
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Low impact] The PR appears safe to merge. Reviews (1) · Last reviewed commit: "test: suppress cross-file ShellCheck not..." · Reviewed by Greptile |
This was referenced Nov 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
A full local
bin/fm-lint.shrun withoutFM_LINT_REQUIRE_BOUNDSexits 1 on main with three info-level ShellCheck notes intests/fm-daemon.test.sh, all intest_housekeeping_overdue_queue_failure_resume_discards: SC2329 on theescalate_addandfm_wake_status_append_self_announcedstubs, which the sourced library calls throughfixture housekeepingandfixture handle_wake, and SC2031 on$routeafter the per-route subshell, whererouteis the loop variable and the subshell never assigns it. CI does not see them, because in the Lint 2 partition this root hits the 12 GiB memory ceiling with--external-sourcesand passes on the no-source retry, which cannot raise these codes. Suppress the three notes with reasoned# shellcheck disabledirectives in the style the file already uses, so a full unbounded lint of this file exits 0. Comments only; test behaviour does not change.What Changed
# shellcheck disable=SC2329directives, each with a reason, to theescalate_addandfm_wake_status_append_self_announcedstubs intest_housekeeping_overdue_queue_failure_resume_discards(tests/fm-daemon.test.sh). The library under test calls both stubs indirectly.# shellcheck disable=SC2031directive, with a reason, before the per-route subshell.routeis the loop variable, and the subshell never assigns it.Risk Assessment
✅ Low: The change adds only three ShellCheck directive comments in the file's existing style, and test behaviour is unchanged.
Testing
I ran the real pinned lint owner (ShellCheck 0.11.0, extended analysis, external sources) on tests/fm-daemon.test.sh with no bounds. At the base commit it reports SC2329 at lines 1592 and 1598 and SC2031 at line 1617, and exits 1. At the target commit it reports nothing and exits 0. The one test function the comments touch still passes. No UI surface; the evidence is CLI transcripts.
Evidence: Base lint: the three notes, exit 1
Source: Base lint: the three notes, exit 1
Evidence: Target lint: clean, exit 0
Source: Target lint: clean, exit 0
fm-lint.sh: ShellCheck 0.11.0 (pinned 0.11.0) fm-lint.sh: full ShellCheck extended analysis enabled exit=0Evidence: The affected test still passes
Source: The affected test still passes
ok - failed enqueue followed by a worker event closes without an obsolete alert, retaining failed resolutions exit=0Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
bin/fm-lint.sh tests/fm-daemon.test.shat base 427056c4 (temporary detached worktree, FM_LINT_REQUIRE_BOUNDS unset, full extended analysis)bin/fm-lint.sh tests/fm-daemon.test.shat target 33db197f (FM_LINT_REQUIRE_BOUNDS unset)FM_TEST_ONLY=test_housekeeping_overdue_queue_failure_resume_discards bash tests/fm-daemon.test.sh✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.