Skip to content

Track CID path assignments by stable ID - #6303

Draft
Guillaume Hetier (guhetier) wants to merge 3 commits into
guhetier/defer_path_cid_replacement_copilotfrom
guhetier/path_cid_debug_id_copilot
Draft

Track CID path assignments by stable ID#6303
Guillaume Hetier (guhetier) wants to merge 3 commits into
guhetier/defer_path_cid_replacement_copilotfrom
guhetier/path_cid_debug_id_copilot

Conversation

@guhetier

@guhetier Guillaume Hetier (guhetier) commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Description

Replace debug-only destination CID ownership pointers with stable path IDs. Record the path ID when a CID is first assigned and retain it after detachment so dumps preserve which path used the CID, while live validation continues to ensure retired CIDs are no longer referenced by any path.

Testing

  • Debug x64 Schannel build
  • Focused IPv4 and IPv6 path tests covering local path changes, rebinding, and path-validation timeout behavior

Documentation

No documentation impact. This changes debug-only tracking and validation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 03ce1c1f-9bb3-4a56-be65-d7f4d3fb46eb
Keep debug CID ownership tracking aligned with 32-bit path identifiers and reserve UINT32_MAX as the unassigned sentinel.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 03ce1c1f-9bb3-4a56-be65-d7f4d3fb46eb
Record a destination CID's path ID once when assigned and retain it after detachment for debugging. Validate live detachment by checking path references instead of clearing the historical ID.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 03ce1c1f-9bb3-4a56-be65-d7f4d3fb46eb
@guhetier Guillaume Hetier (guhetier) changed the title guhetier/path cid debug id copilot Track CID path assignments by stable ID Sep 5, 2026
@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.55%. Comparing base (2decdde) to head (d23df2d).

Additional details and impacted files
@@                               Coverage Diff                               @@
##           guhetier/defer_path_cid_replacement_copilot    #6303      +/-   ##
===============================================================================
+ Coverage                                        85.52%   85.55%   +0.02%     
===============================================================================
  Files                                               60       60              
  Lines                                            19017    19014       -3     
===============================================================================
+ Hits                                             16265    16267       +2     
+ Misses                                            2752     2747       -5     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant