Commit b16f062
* fix(security): suppress uv-missing-dependency-cooldown on agent/pyproject.toml (#532)
semgrep's uv-missing-dependency-cooldown rule wants a global exclude-newer
cooldown under [tool.uv]. Setting one is structurally incompatible with this
repo: deps are exact-pinned (==) and several pins (fastapi, bedrock-agentcore,
boto3) are to versions published within any reasonable cooldown window, so a
global exclude-newer makes `uv lock`/`uv sync` unsatisfiable and re-breaks on
every fresh pin bump.
The rule's threat model (surprise malicious/unstable version) is already
covered by exact pins + committed uv.lock + reviewed upgrade-main PRs +
uv sync --frozen in the image. Suppress with a justified nosemgrep on the line
preceding [tool.uv] rather than adding a redundant, workflow-breaking cooldown.
Approach approved by maintainer (Option B) in #532.
Verified: `mise run security:sast` -> 0 findings; `uv sync --all-groups` and
`uv lock --check` both resolve.
Fixes #532
Co-Authored-By: Claude <noreply@anthropic.com>
* chore: re-trigger CI — clear stuck CodeQL run (#532)
---------
Co-authored-by: Mandeep Singh <mandeep408@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Alain Krok <alkrok@amazon.com>
Co-authored-by: Sphia Sadek <isadeks@gmail.com>
1 parent cf2408e commit b16f062
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
52 | 60 | | |
53 | 61 | | |
54 | 62 | | |
| |||
0 commit comments