← Back to Pull requests

fix(httplogreport): fix false-positive V2/V3/V4/V7 HTTP log validation failures #16166

Closed
unknown closed this pull request without merging on Nov 20, 2026 02:35 UTC
View on GitHub
unknown unknown commented on Nov 19, 2026 19:29 UTC
Author

  • specdiff: skip omitted fields/labels retained in non-SSA golden objects (including Ref values and dotted keys), match duration equivalents and keyed-slice proto maps, normalize ref key matching deterministically, treat spec.resourceID as client-side no-op in updates, support variable-length masks, and fall back to write-only only for omitted/redacted credential leaves

  • logparser & classifier: recognize /removePeering and :removePeering as delete RPCs, keep parent-targeted child action verbs (/addPeering, /removePeering, :childTerm) as primary using camelCase token matching

  • fixture: add genuinely non-deletable GCP resource kinds (e.g. APIQuotaPreference, DiscoveryEngineUserStore, FirestoreField, IAPSettings) to IsNonDeletable

  • validator: allow known unvendored real-GCP @type URLs and discard unknown real-GCP fields on Saas responses

  • tests: add unit tests across logparser, classifier, fixture, specdiff, and validator
  • BRIEF Change description

    <!--
    Describe what this pull request does.

    If your pull request is to address an open issue, indicate it by specifying the
    issue number:
    If your pull request fixes an issue which has not been filed, please file the
    issue and put the number here.

    For example: "Fixes #858"
    -->
    Fixes #16060

    WHY do we need this change?

    Special notes for your reviewer:

    Does this PR add something which needs to be 'release noted'?


    <!--
    If no, just write "NONE" in the release-note block below.
    If yes, a release note is required:
    Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".
    -->
    ``release-note
    None
    
    - [ ] Reviewer reviewed release note.
    
    #### Additional documentation e.g., references, usage docs, etc.:
    
    <!--
    This section can be blank if this pull request does not require any additional documentation.
    
    When adding links which point to resources within git repositories, like
    usage documentation, please reference a specific commit and avoid
    linking directly to the master branch. This ensures that links reference a
    specific point in time, rather than a document that may change over time.
    
    See here for guidance on getting permanent links to files: https://help.github.com/en/articles/getting-permanent-links-to-files
    
    Please use the following format for linking documentation:
    - [Usage]: <link>
    - [Other doc]: <link>
    -->
    
    docs

    `

    Intended Milestone

    Please indicate the intended milestone.

  • Reviewer tagged PR with the actual milestone.
  • Tests you have done

    <!--

    Make sure you have run "make ready-pr" to run required tests and ensure this PR is ready to review.

    Also if possible, share a bit more on the tests you have done.

    For example if you have updated the pubsubtopic sample, you can share the test logs from running the test case locally.

    go test -v -tags=integration ./config/tests/samples/create -test.run TestAll -run-tests pubsubtopic

    -->

  • Run make ready-pr` to ensure this PR is ready for review.

  • Perform necessary E2E testing for changed resources.
  • Diff: 389 lines (+291 / -98) across 4 files Reviewer: barney-s Review duration: 426m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 389 lines diff across 4 files
    0.43
    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.357
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #16166"
    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: 43.1% (MEDIUM) · Higher = larger blast radius
    43.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: 17% · Safe to merge
    17%