chore(repo): batch dependabot security + lint bumps and clear codeql no-op - #269
Merged
Conversation
Owner
Author
|
Added |
…ear its 2 lint errors
arena-solver-ocr was the only Python component without `src`/`select` under
[tool.ruff], so it ran on ruff's *defaults*. ruff 0.16.3 widened those defaults
to include I and SIM, lighting up two errors that had never been gated before.
Because CI installed ruff unpinned, that reddened every open PR at once rather
than a single change.
Pin the rule set the way detector/harness/fleet do (select = E,F,I,UP,B,SIM,RUF,
plus src and target-version) so the gate no longer moves with the tool, then fix
what it finds:
- I001: `kitsune_arena_ocr` is first-party once `src` is declared, so it gets
its own import section.
- SIM117: collapse the nested `with` in test_solve_text_refuses_foreign_target.
Verified identical results under both ruff 0.15.20 (the lockfile pin) and 0.16.3
(current latest).
…lease can't redden every pr This was the only unpinned tool install left in any workflow — every other Python gate runs through `uv run`, which is lockfile-pinned. Because it floated to whatever was newest on PyPI, ruff 0.16.3 shipping new defaults turned all 15 open dependabot PRs red on a day nobody pushed anything. Pin to the versions in evaders/arena-solver-ocr/uv.lock so CI and local `uv run` agree. The pip install (rather than `uv sync`) is still deliberate: it keeps transformers/torch, which are tier-2 IO, off the unit gate.
… dependabot alerts
Both are transitive, so they need a lockfile bump rather than a pyproject change:
- h2 4.3.0 -> 4.4.1 (evaders/vanilla) — duplicate Host header could facilitate
request smuggling. Pulls hpack 4.1.0 -> 4.2.0 with it.
- setuptools 81.0.0 -> 84.0.0 (evaders/arena-solver-ocr) — MANIFEST.in
exclusion bypass in sdist via Unicode NFC/NFD collision on macOS APFS/HFS+.
Advisory needs >=83.0.0.
The pillow (<12.3.0, 13 alerts) and torch (<=2.12.1) alerts on this lock are
already covered by fb91544 earlier on this branch; they close when it lands.
…p path-traversal advisory postcss reaches us transitively through tsup -> postcss-load-config, so it goes in the existing pnpm.overrides block alongside esbuild and vite rather than into devDependencies. 8.5.15 -> 8.5.26. Covers both open advisories: the sourceMappingURL auto-load path traversal that discloses arbitrary .map files, and its incomplete fix (GHSA-6g55-p6wh-862q) where an attacker-controlled sourceMappingURL still reads arbitrary .map files when `from` is unset. brace-expansion was the third collector alert and is already at the patched 2.1.2 here, pulled in by the eslint bump in 908f5c2.
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.
Consolidates the stalled weekly Dependabot queue into one datascry-authored batch and clears every open security/quality alert. Each commit uses a valid component scope (the original bot PRs were red on commitlint because Dependabot's
deps/deps-devscope isn't in ourscope-enum).Security alerts cleared (15/15 Dependabot + 1 CodeQL)
evaders/arena-solver-ocr) — clears 10 high + 3 medium advisories; torch 2.2 → 2.13.0 clears 1 low. Supersedes chore(deps): bump the uv group across 1 directory with 2 updates #268.collector) — the collector dev-dep bump refreshes the lock to 2.1.2 / 5.0.7, both above the advisory's patched versions. Supersedes chore(deps-dev): bump the collector group across 1 directory with 3 updates #267.js/identity-replacementmedium — dropped the no-op.replace(/</g, "<")inhome.js(<is<, so it did nothing; the value renders viatextContent, which is never HTML-parsed).Also in the batch
>=2.3.0(supersedes chore(deps-dev): update mypy requirement from >=2.2.0 to >=2.3.0 in /fleet #266) and ruff>=0.15.21(supersedes chore(deps-dev): update ruff requirement from >=0.15.20 to >=0.15.21 in /fleet #265), plus a regeneratedfleet/uv.lock— Dependabot's requirement bumps only editedpyproject.tomland left the lock stale (would failuv lock --check).uv lockresolved mypy 2.3.0, ruff 0.15.22.Verification
ruff,mypy --strict, headers clean; 537 passed, 95.20% coverage (gate met).uv lock --checkclean for fleet and arena-solver-ocr.Closes #264, #265, #266, #267, #268 once merged.