← Back to Pull requests

deps: bump knative.dev/pkg to fix OTel schema URL conflict panic #2044

Closed
unknown closed this pull request without merging on Nov 09, 2026 14:12 UTC
View on GitHub
unknown unknown commented on Nov 09, 2026 10:24 UTC
Author

Xref: #2018 #2019 #2020 #2021 #2042

Summary

Bumping go.opentelemetry.io/otel/sdk past v1.44 makes the policy-controller webhook crash on startup, which is why every e2e job fails on the open otel and minor-patch dependabot PRs:

panic: conflicting Schema URL: https://opentelemetry.io/schemas/1.43.0 and https://opentelemetry.io/schemas/1.41.0
knative.dev/pkg/observability/resource.Default (default.go:66)

The pinned knative.dev/pkg merges its resource using semconv v1.41.0, while newer otel SDKs use v1.43.0. knative.dev/pkg main has moved to semconv v1.43.0, so this bumps it. That also pulls otel to v1.47.0 and k8s to v0.36.5.

The new knative.dev/pkg marks ConditionManager.MarkFalse as printf-like, so go vet/lint flag passing msg as the format string. Those calls now use "%s", msg, which also stops a % in an error message from being mangled.

Testing

  • resource.Default(...) no longer panics and returns schema 1.43.0.

  • go build ./..., go vet, golangci-lint run (0 issues), and ./hack/update-codegen.sh (no diff) pass.

  • go test ./... passes except pkg/policy, which hangs fetching the public TUF root from my machine. It hangs the same way on main, so it's environmental.
  • Not covered here

  • #2030 (GitHub Actions bump): the new setup-kind drops v1.33.x. #2040 already updates the k8s matrix and setup-kind.

  • #2042 lint: the sigstore/sigstore bump deprecates pkg/tuf and fulcioroots. #2037 (migrate to sigstore-go) addresses that.
  • 🤖 Generated with Claude Code

    Diff: 197 lines (+147 / -50) across 2 files Reviewer: bobcallaway Review duration: 228m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 197 lines diff across 2 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.316
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #2044"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 36.1% (MEDIUM) · Higher = larger blast radius
    36.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14.3% · Safe to merge
    14.3%