← Back to Pull requests

Move old verifier to encoding/json/v2 for case sensitivity (without Go version bump) #5256

Open
cmurphy opened this pull request with 190 lines diff across 21 files
View on GitHub
cmurphy cmurphy commented on Nov 26, 2026 01:30 UTC
Author

Alternative to https://github.com/sigstore/cosign/pull/5255
<!--
Thanks for opening a pull request! Please do not just delete this text. The three fields below are mandatory.

Please remember to:

  • This PR requires an issue. If it is a new feature, the issue should precede the PR and will have allowed sufficient time for discussions to take place. Please use

  • issue tags such as "Closes #XYZ" or "Resolves sigstore/repo-name#XYZ".
  • ensure your commits are signed-off, as sigstore uses the DCO using git commit -s, or git commit -s --amend if you want to amend already existing commits

  • lastly, ensure there are no merge commits!
  • Thank you :)
    -->

    Summary


    <!--
    Explain the motivation for making this change. What existing problem does the pull request solve? How can reviewers test this PR?
    -->

    Release Note


    <!--
    Add a release note for each of the following conditions:

    Config changes (additions, deletions, updates)
    API additions—new endpoint, new response fields, or newly accepted request parameters
    Database changes (any)
    Websocket additions or changes
    Anything noteworthy to an administrator running private sigstore instances (err on the side of over-communicating)
    New features and improvements, including behavioural changes, UI changes and CLI changes
    Bug fixes and fixes of previous known issues
    Deprecation warnings, breaking changes, or compatibility notes

    If no release notes are required write NONE. Use past-tense.

    -->

    Documentation


    <!--

    Does this change require an update to documentation? How will users implement your new feature?

    Please reference a PR within https://docs.sigstore.dev

    -->

    Diff: 190 lines (+187 / -3) across 21 files Reviewer: Hayden-IO Review duration: 8350m
    All Vouch review confidence checks passed
    Residual risk 0.07 = Change Risk (0.63) × (1 − Review Confidence (0.88)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.63 · 190 lines diff across 21 files
    0.63
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.96 · 1 substantive comment(s)
    0.96
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    88%
    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.314
    Mass File Touch mass_file_touch
    0.080
    Real PR Conversation Timeline
    3 items
    codecov[bot] codecov[bot] commented on Nov 26, 2026 01:35 UTC
    Bot

    Codecov Report


    :white_check_mark: All modified and coverable lines are covered by tests.
    :warning: Please upload report for BASE (release-2.6@365b058). Learn more about missing BASE report.

    <details><summary>Additional details and impacted files</summary>

    @@              Coverage Diff               @@
    ##             release-2.6    #5256   +/-   ##
    ==============================================
      Coverage               ?   36.08%           
    ==============================================
      Files                  ?      218           
      Lines                  ?    12524           
      Branches               ?        0           
    ==============================================
      Hits                   ?     4519           
      Misses                 ?     7291           
      Partials               ?      714           
    

    </details>

    :umbrella: View full report in Codecov by Harness.
    :loudspeaker: Have feedback on the report? Share it here.
    <details><summary> :rocket: New features to boost your workflow: </summary>

  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

  • </details>

    Hayden-IO Hayden-IO commented on Nov 30, 2026 19:50 UTC
    Reviewer
    Reviewers
    Assignees
    cmurphy cmurphy
    Labels
    risk: low confidence: 88.1% 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: 62.9% (MEDIUM) · Higher = larger blast radius
    62.9%
    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: 88.1% · Lower = rushed or shallow review
    88.1%
    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: 7.5% · Safe to merge
    7.5%