Skip to content

revert: Dagger engine upgrade to v0.21.10 (#3595) - #3853

Closed
migmartri wants to merge 1 commit into
mainfrom
revert-3595
Closed

migmartri wants to merge 1 commit into
mainfrom
revert-3595

Conversation

@migmartri

@migmartri migmartri commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Reverts the Dagger engine upgrade from #3595, going back from v0.21.10 to v0.19.11 in dagger.json, the lint workflow, and the extras/dagger module dependencies.

The root golang.org/x/net bump from #3595 is kept. #3787 superseded it by making x/net a direct dependency at a newer version to fix a CVE, so reverting it would reintroduce a vulnerable version.

This change was made with AI assistance (Claude Code).

🤖 Posted by Maximus bot (Claude Code) on behalf of @migmartri

View guided diff

… v0.21.10 (#3595)"

This reverts the Dagger engine upgrade from commit cb12d5f back to v0.19.11.

The root golang.org/x/net change is not reverted: it was superseded by #3787, which made x/net a direct dependency at a newer version to fix a CVE.

Assisted-by: Claude Code
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>

Chainloop-Trace-Sessions: e3c645e6-ee91-42f6-9e51-043a32d3a1ae
@chainloop-platform

chainloop-platform Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

PR validation — ⚠️ 1 failing

Status Policy Material Messages
⚠️ Failed pr-min-approvals pr-info PR/MR #3853 has 0 approving reviews, 1 required.
✅ Passed pr-description-required pr-info -
✅ Passed pr-user-story-linked pr-info -

View attestation ↗

AI Session Checks — 🟡 60% · ✅ 0 failing

Avg score Sessions Failing policies Attribution Files Lines Total Duration
🟡 60% 1 ✅ 0 100% AI / 0% Human 4 +45 / -52 1m47s

🟡 60% — 100% AI — ✅ All policies passing

Nov 24, 2026 23:13 UTC · 1m47s · $1.38 · 40 in / 8.8k out · claude-code 2.1.332 (claude-opus-5-5)

View session details ↗

Change Summary

Restores the prior engine version and associated module dependencies. Preserves later installer verification and the root dependency security fix.

AI Session Overall Score

🟡 60% — The focused rollback preserves safeguards, but its attempted build never established working behavior.

AI Session Analysis Breakdown

🟢 95% · scope-discipline

🟢 The final four-file change stays within the six files originally modified by the target PR. · High Impact

🟢 92% · user-trust-signal

No notes.

🟢 88% · alignment

🟢 The summary explicitly distinguished reverted components from the retained later security fix. · High Impact

🟢 87% · solution-quality

🟢 Conflict resolution retains installer checksum verification instead of restoring the older unchecked installer command. · High Impact

🟢 85% · context-and-planning

No notes.

🔴 35% · verification

🔴 The build stopped on missing generated code; no successful execution established the restored configuration works. · High Severity

💡 Generate the required code and exercise the restored configuration before treating the rollback as validated.

🟠 The build command printed the pipeline's exit status, producing a misleading zero after a compiler error. · Medium Severity

💡 Preserve the compiler exit status when piping output so failed checks cannot appear successful.


File Attribution

████████████████████ 100% AI / 0% Human

Status Attribution File Lines
modified ai extras/dagger/go.sum +26 / -30
modified ai extras/dagger/go.mod +17 / -20
modified ai .github/workflows/lint.yml +1 / -1
modified ai dagger.json +1 / -1

Policies (4)

Status Policy Material Messages
✅ Passed ai-config-ai-agents-allowed ai-coding-session-e3c645 -
✅ Passed ai-config-no-dangerous-commands ai-coding-session-e3c645 -
✅ Passed ai-config-no-secrets ai-coding-session-e3c645 -
✅ Passed ai-config-mcp-servers-allowed ai-coding-session-e3c645 -

Security Checks — ✅ 8 passing

✅ AI Security Analysis

Nothing this change touches re-opens a recorded security fix.

View in Chainloop ↗ · How this works ↗

✅ secret-scan

Status Policy Messages
✅ Passed secrets-detection -

✅ github-actions-scan

Status Policy Messages
✅ Passed ci-pipeline-security -

✅ sast-scan

Status Policy Messages
✅ Passed owasp-top10-2025 -
✅ Passed sast -
✅ Passed cwe-top25 -
✅ Passed cwe-top26-40-cusp -

✅ iac-scan

Status Policy Messages
✅ Passed iac-misconfiguration -
Scan not applied (1)
Scan Reason
vulnerability-scan ran, but its output is not attested yet

View attestation ↗


Powered by Chainloop and Chainloop Trace

@kusari-inspector

Copy link
Copy Markdown

Kusari Inspector

Kusari Analysis Results:

Do not proceed without addressing issues

Caution

Flagged Issues Detected
These changes contain flagged issues that may introduce security risks.

The code analysis found no code issues, exposed secrets, or workflow issues. The dependency analysis, however, shows this revert downgrades golang.org/x/net from 0.60.0 to 0.58.0, which introduces GO-2026-6611, GO-2026-6612, GO-2026-6617, GO-2026-6603 and GO-2026-6610 (HTTP/2 DoS and response smuggling). This PR introduces these advisories and the author can fix them now with go get golang.org/x/net@v0.63.0, or by keeping x/net at 0.60.0 or later in extras/dagger/go.mod. We strongly recommend addressing this before merging. Two other findings do not drive this decision. The otlploggrpc, otlploghttp and sdk/log advisories (GHSA-q7gw-24fr-5p69, GO-2026-6615) are carried over from the previous version rather than introduced. The stdlib advisories from the Go directive moving from 1.26.1 to 1.25.0 have no fix available (NO_FIX), so they are not actionable beyond avoiding the toolchain downgrade. Licenses are permissive and no package is blocked, deprecated or EOL. Action: keep x/net at 0.60.0 or later (or update to v0.63.0) and avoid lowering the Go version.

Note

View full detailed analysis result for more information on the output and the checks that were run.

Required Dependency Mitigations

  • Downgrade introduces advisories on go.opentelemetry.io/otel/sdk/log 0.14.0 (GHSA-q7gw-24fr-5p69 and GO-2026-6615 BatchProcessor busy-spin). Both are CARRIED OVER from 0.16.0. Fix per vulnerabilityFixReport: go get go.opentelemetry.io/otel/sdk/log@v1.47.0
  • golang.org/x/net 0.58.0 (downgrade from 0.60.0) INTRODUCES advisories GO-2026-6611, GO-2026-6612, GO-2026-6617, GO-2026-6603 and GO-2026-6610 (HTTP/2 DoS and response smuggling), which 0.60.0 did not have. Fix per vulnerabilityFixReport: go get golang.org/x/net@v0.63.0. Alternatively keep x/net at 0.60.0 or later in extras/dagger/go.mod.
  • The stdlib go directive moves from 1.26.1 to 1.25.0 and INTRODUCES many Go standard library advisories (61 per the fix report), including crypto/tls, crypto/x509 and net/http issues. The analysis found no fixed version (NO_FIX), so no upgrade target can be named. The concrete step is to avoid lowering the Go toolchain version in extras/dagger/go.mod.

@kusari-inspector rerun - Trigger a re-analysis of this PR
@kusari-inspector feedback [your message] - Send feedback to our AI and team
See Kusari's documentation for setup and configuration.
Commit: 4167953, performed at: 2026-11-24T23:15:42Z

Found this helpful? Give it a 👍 or 👎 reaction!

@migmartri migmartri closed this Nov 24, 2026
@migmartri

Copy link
Copy Markdown
Member Author

no need to downgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant