← Back to Pull requests

chore(deps): update module github.com/mgechev/revive to v1.17.1 #2269

Closed
unknown closed this pull request without merging on Oct 07, 2026 13:09 UTC
View on GitHub
unknown unknown commented on Oct 07, 2026 12:40 UTC
Author

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| github.com/mgechev/revive | v1.17.0 → v1.17.1 | !age | !confidence |

---

Release Notes

<details>
<summary>mgechev/revive (github.com/mgechev/revive)</summary>

v1.17.1

Compare Source

What's Changed

A patch release with fixes for rules that reused configuration across runs and for false positives/negatives.

\[!IMPORTANT]

add-constant now inspects nested call arguments and function literal signatures (#&#8203;1843), so existing projects may see new findings after upgrading.

##### Bug Fixes

  • add-constant: inspect nested arguments by @&#8203;dajiaohuang in revive-lint#1843

  • add-constant: reset configuration by @&#8203;dajiaohuang in revive-lint#1839

  • banned-characters: reset configuration by @&#8203;dajiaohuang in revive-lint#1851

  • enforce-switch-style: reset configuration by @&#8203;dajiaohuang in revive-lint#1849

  • file-header: reset configuration by @&#8203;dajiaohuang in revive-lint#1853

  • file-length-limit: reset configuration by @&#8203;AdamMagued in revive-lint#1856

  • import-alias-naming: reset configuration by @&#8203;AdamMagued in revive-lint#1859

  • string-format: reset configuration by @&#8203;dajiaohuang in revive-lint#1833

  • struct-tag: reset configuration by @&#8203;dajiaohuang in revive-lint#1841

  • unhandled-error: reset configuration by @&#8203;dajiaohuang in revive-lint#1837

  • var-naming: reset configuration by @&#8203;alexandear in revive-lint#1845

  • Reset configuration in Configure by @&#8203;alexandear in revive-lint#1889

  • enforce-repeated-arg-type-style: fix error message by @&#8203;alexandear in revive-lint#1880

  • function-length: continue after empty function by @&#8203;dajiaohuang in revive-lint#1827

  • max-public-structs: count only structs by @&#8203;dajiaohuang in revive-lint#1829

  • max-public-structs: do not count Unicode names by @&#8203;alexandear in revive-lint#1878

  • struct-tag: track tag numbers per tag key by @&#8203;alexandear in revive-lint#1887

  • unnecessary-format: handle escaped percent by @&#8203;alexandear in revive-lint#1884

  • unnecessary-if: handle same branch values by @&#8203;alexandear in revive-lint#1883

  • unnecessary-stmt: ignore switch with only default by @&#8203;alexandear in revive-lint#1885

  • Escape all regexp metacharacters in literal file filters by @&#8203;alexandear in revive-lint#1886

  • Include all configured SARIF rules by @&#8203;alexandear in revive-lint#1823
  • ##### Documentation

  • Migrate repo to revive-lint organization by @&#8203;alexandear in revive-lint#1806

  • Add "Revive version" to "Available Rules" table by @&#8203;alexandear in revive-lint#1807

  • Add revive version to rules descriptions by @&#8203;alexandear in revive-lint#1808

  • Update sections in release policy by @&#8203;alexandear in revive-lint#1805
  • ##### Dependency Updates

  • Update github.com/revive-lint/dots to v1.1.0 by @&#8203;alexandear in revive-lint#1882
  • New Contributors

  • @&#8203;dajiaohuang made their first contribution in revive-lint#1827

  • @&#8203;AdamMagued made their first contribution in revive-lint#1856
  • Full Changelog: <https://github.com/revive-lint/revive/compare/v1.17.0...v1.17.1>

    </details>

    ---

    Configuration

    📅 Schedule: (UTC)

  • Branch creation

  • - At any time (no schedule defined)
  • Automerge

  • - At any time (no schedule defined)

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

    ---

    This PR was generated by Mend Renovate. View the repository job log.
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzQuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjEzNC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: dmathieu Review duration: 28m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    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.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #2269"
    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: 52% (MEDIUM) · Higher = larger blast radius
    52%
    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: 20.5% · Safe to merge
    20.5%