← Back to Pull requests

Fix broken anchor links in GPU plugin documentation #2218

Closed
unknown closed this pull request without merging on Feb 04, 2026 13:54 UTC
View on GitHub
unknown unknown commented on Feb 04, 2026 11:53 UTC
Author

Fix GPU docs NFD info links

  • Update TOC entry in /cmd/gpu_plugin/README.md to match the actual subsection header

  • Remove the Table of Contents in /cmd/gpu_nfdhook/README.md

  • Fix "Verify Plugin Registration" to "Verify Plugin Installation" in TOC

  • Run code review

  • Run security check
  • Summary

    Fixed outdated NFD (Node Feature Discovery) info links in the GPU plugin documentation:

    1. Updated anchor in /cmd/gpu_plugin/README.md: Changed TOC entry from #labels-created-by-gpu-plugin to #labels-created-for-intel-gpus-via-nfd to match the actual subsection header "Labels created for Intel GPUs via NFD"

    2. Removed obsolete TOC in /cmd/gpu_nfdhook/README.md: Removed the outdated Table of Contents section that was not being maintained

    3. Fixed verify-plugin-registration anchor: Changed from #verify-plugin-registration to #verify-plugin-installation to match the actual section heading

    These changes ensure documentation links work correctly and improve navigation for users.

    Security Summary

    No security vulnerabilities were introduced or discovered as these are documentation-only changes.

    <!-- START COPILOT ORIGINAL PROMPT -->

    <details>

    <summary>Original prompt</summary>

    > ----

    > This section details on the original issue you should resolve

    > <issue_title>GPU docs NFD info links are out of date</issue_title>

    <issue_description>Describe the bug

    > NFD info links in the documentation are out of date.

    > To Reproduce

    > Check TOC links here:

    Whole TOC is bogus: https://github.com/intel/intel-device-plugins-for-kubernetes/tree/main/cmd/gpu_nfdhook

    Invalid link: https://github.com/intel/intel-device-plugins-for-kubernetes/tree/main/cmd/gpu_plugin#labels-created-by-gpu-plugin

    > Additionally, this lists count label only for data center GPUs, but AFAIK it's a generic one: https://github.com/intel/intel-device-plugins-for-kubernetes/blob/main/cmd/gpu_plugin/labels.md

    > Expected behavior

    > Doc links work.

    > Screenshots

    N/A

    > System (please complete the following information):

    N/A

    > Additional context

    N/A

    </issue_description>

    > <agent_instructions>update #labels-created-by-gpu-plugin anchor to match with "Labels created for Intel GPUs via NFD" subsection and remove Table of Contents in https://github.com/intel/intel-device-plugins-for-kubernetes/tree/main/cmd/gpu_nfdhook README</agent_instructions>

    > ## Comments on the Issue (you are @copilot in this section)

    > <comments>

    <comment_new><author>@mythi</author><body>

    @copilot in one PR, update #labels-created-by-gpu-plugin anchor to match with "Labels created for Intel GPUs via NFD" subsection and remove Table of Contents in https://github.com/intel/intel-device-plugins-for-kubernetes/tree/main/cmd/gpu_nfdhook README </body></comment_new>

    </comments>

    </details>

    <!-- START COPILOT CODING AGENT SUFFIX -->

  • Fixes intel/intel-device-plugins-for-kubernetes#2217
  • <!-- START COPILOT CODING AGENT TIPS -->
    ---

    💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

    Diff: 428 lines (+321 / -107) across 5 files Reviewer: eero-t Review duration: 121m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 428 lines diff across 5 files
    0.45
    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.363
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #2218"
    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: 45.1% (MEDIUM) · Higher = larger blast radius
    45.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.8% · Safe to merge
    17.8%