Repository navigation
chore(deps): bump github/codeql-action from 4.32.2 to 4.32.4 - #54
Merged
hyperpolymath merged 2 commits intoFeb 27, 2026
Merged
Conversation
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.32.2 to 4.32.4. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@45cbd0c...89a39a4) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.32.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
hyperpolymath
deleted the
dependabot/github_actions/github/codeql-action-4.32.4
branch
February 27, 2026 14:53
hyperpolymath
added a commit
that referenced
this pull request
Sep 30, 2026
…us + inline directives honoured (#881) > **Stacked on #877** (itself on #876). The base retargets to `main` once #877 lands. Squash automerge will be armed then, not before: armed now, it would merge into #877's branch. ## Why A Hypatia `hardcoded_tmp` alert on launch-scaffolder#46 exposed a real CWE-377 defect in the launcher generator. That was fixed upstream in launch-scaffolder #54/#58/#62. The rule itself was part of the problem: | Input | Before | After | |---|---|---| | `PID_FILE="/tmp/x.pid"` | fires | **fires** (positive control) | | `d=$(mktemp -d /tmp/foo.XXXXXX)`, the rule's own advice | **fires** | clean | | `# comment mentioning "/tmp/"` | **fires** | clean | | `/tmp` line under `tests/fixtures/`, `test/`, `lib/rules/`, `scripts/fix-scripts/` | **fires** | suppressed | | `# hypatia: allow content_patterns/hardcoded_tmp -- …` | **silently ignored** | honoured | ## Changes - **Remediation text.** It now separates pid/state files, which the next run must re-find (per-user `${XDG_RUNTIME_DIR:-${XDG_STATE_HOME:-$HOME/.local/state}}/<app>/`), from scratch files (`mktemp -d` with no `/tmp` template, plus `trap … EXIT`). The old text said "use mktemp", which is the wrong cure for a pid file. - **Own-cure skip.** `skip_comment_lines: true`, plus a new generic rule key `skip_if_line_matches` (here `~r/\bmktemp\b/`). - **Training-corpus exemption.** Added under `"content_patterns"`, the key the findings are **emitted** under in `cli.ex`. A `"cicd_rules"` key would be vacuous. - **Inline directives.** `hypatia: allow <module>/<rule>` is now honoured by the content engine under either module spelling. Rule ids are atoms, so they are stringified before `inline_allowed?/4`. - **Line-1 fix.** Line 1 no longer treats the file's **last** line as its "previous line" (`Enum.at(lines, -1)` wraps around). - **Docs.** The `.hypatia-ignore` header and `.claude/CLAUDE.md` now document the two-spelling trap and the directive behaviour. ## Not changed, deliberately - `applies_to` stays `["*.sh"]`. Widening it to `*.rs` would flag `#[cfg(test)]` literals under `src/`, and cicd_rules has no Rust comment stripping. - The file-level `hypatia: allow` form is still not wired for content patterns. CLAUDE.md now says so. ## Trade-off, stated plainly After this PR, fixtures under `tests/` are no longer scanned for this rule. On the launch-scaffolder side, the generator's own literal-pinned tests (`DEFAULT_PID_LINE`) are now the detector for a `/tmp` regression. ## Verification - `test/hardcoded_tmp_pipeline_test.exs` has 16 tests running the **real** pipeline (`collect_findings` → normalise → suppress), never a hand-built finding. - Four mutants were each killed: | Mutant | Red tests | |---|---| | Exemption key renamed | 4 | | mktemp skip removed | 1 | | `n > 1` guard reverted | 1 | | `inline_allowed?` clause removed | 3 | - Full suite: 1689 tests, 0 failures. `mix compile --warnings-as-errors --force` is clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_0136eszqrQ53Kj7aBH1D4rXK --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
Bumps github/codeql-action from 4.32.2 to 4.32.4.
Release notes
Sourced from github/codeql-action's releases.
Changelog
Sourced from github/codeql-action's changelog.
... (truncated)
Commits
89a39a4Merge pull request #3494 from github/update-v4.32.4-39ba80c47e5d84c8Apply remaining review suggestions0c20209Apply suggestions from code review314172eFix typocdda72dAdd changelog entriescfda84cUpdate changelog for v4.32.439ba80cMerge pull request #3493 from github/update-bundle/codeql-bundle-v2.24.200150daAdd changelog noted97dce6Update default bundle to codeql-bundle-v2.24.250fdbb9Merge pull request #3492 from github/henrymercer/new-repository-properties-ffDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)