Repository navigation
ci: stop Dependabot failing on the generated .dagger SDK path dependency - #92
Merged
Merged
Conversation
Bump multidict 6.7.1 -> 7.0.0 in .dagger/uv.lock. This closes the open alert for GHSA-54p9-h82j-f925 (multidict >=6.7.0,<=6.9.0), which is what kept starting a Dependabot security-update job in /.dagger. That job cannot resolve the generated, uncommitted `dagger-io` path dependency (sdk/), so every run went red on main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QfxWgyzxj7Q4LtWoUmxvg7
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.
Claim touched: none user-facing. This keeps main's "Dependabot Updates" workflow green and closes a real advisory in the CI module's lockfile.
Root cause
Dependabot alert #4 (GHSA-54p9-h82j-f925, multidict >=6.7.0,<=6.9.0, patched in 6.9.1) is open on
.dagger/uv.lock, which pinned multidict 6.7.1. With security updates enabled, Dependabot starts a uv security-update job in/.daggerfor that alert. The job aborts withThe following path based dependencies could not be retrieved: "dagger-io" at /.dagger/pyproject.tomlbecausedagger-iois{ path = "sdk", editable = true }andsdk/is generated bydagger developand gitignored. Failing run: https://github.com/gainratio/edge-proc/actions/runs/37713298087Fix
uv lock --upgrade-package multidictin.dagger: multidict 6.7.1 -> 7.0.0. Only.dagger/uv.lockchanges. No alert means no security-update job in/.dagger, so main stops going red. Coverage is unchanged: the/uv/npm and github-actions entries in dependabot.yml are untouched.This matches the green repos: gainratio/ci has multidict 7.0.0 and gainratio/assay 6.9.1 in
.dagger/uv.lock; neither has any.daggerspecial-casing in dependabot.yml.Why not
exclude-paths: the GitHub docs say it applies "during update scans for the given package-ecosystem entry" and patterns are "relative to the directory specified for the update configuration" (options reference). Security updates are driven by alerts, and the docs state "There is no interaction between the settings specified in the dependabot.yml file and Dependabot security alerts" (security updates); config only applies to security updates when "the directory must be the path to the manifest files" (configure security updates). So excluding.daggerfrom the/entry would not stop the alert-driven job, and silencing the alert would lose coverage.Evidence
uv lock --checkin .dagger.daggermodule tests (pytest tests, real generated SDK)dagger functions(module loads in the engine with the new lock)check-jsonschema --builtin-schema vendor.dependabot .github/dependabot.ymlNot verified
.dagger/uv.lockwill hit the same path-dependency error, because Dependabot can never resolve the generated SDK. The durable answer is to keep that lock current (as here) when such an alert opens.🤖 Generated with Claude Code
https://claude.ai/code/session_01QfxWgyzxj7Q4LtWoUmxvg7