Repository navigation
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
No actionable comments were generated in the recent review. Summary
Change: Refactor Merge Risk:
|
|
Most of the `SearchPlatform` protocol only selects descriptor fields for one platform. This adds that selection as plain data: a frozen `SearchContext` record, built by `linux_search_context()` or `windows_search_context()`. Each platform's rules now read as one table. Nothing uses the record yet. A new test checks that it equals the existing platform classes for every catalog entry on Linux, Windows x64 and Windows arm64 (150 cases). The next change switches the search steps over and removes the classes. No behavior change. 1795 passed, 6 skipped. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Rob Parolin <rparolin@nvidia.com>
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
af4c0e3 to
229e8b6
Compare
1 similar comment
…athfinder-readability/4-add-resolved-search-context # Conflicts: # cuda_pathfinder/cuda/pathfinder/_dynamic_libs/search_platform.py
— codex on behalf of Ralf —
Description
Part 5 of 23 of a readability stack for
cuda.pathfinder(stack: #3623 → #3602 → #3603 → #3604 → #3605 → #3606 → #3607 → #3608 → #3609 → #3610 → #3611 → #3613 → #3618 → #3619 → #3620 → #3621 → #3622 → #3627 → #3628 → #3629 → #3630 → #3631 → #3632). No behavior change.Most of the
SearchPlatformprotocol only selects descriptor fields for one platform. This adds that selection as plain data: a frozenSearchContextrecord, built bylinux_search_context()orwindows_search_context(). Each platform's rules now read as one table.Nothing uses the record yet. A new test checks that it equals the existing platform classes for every catalog entry on Linux, Windows x64 and Windows arm64 (150 cases). The next change switches the search steps over and removes the classes.
No behavior change. 1795 passed, 6 skipped.
For the reviewer: this PR and #3606 are split on purpose. This one adds the record and proves it equals the existing classes. #3606 switches the search steps to it and deletes the classes and the comparison test.
Testing
cuda_pathfindertest suite at this commit: 1795 passed, 6 skipped (Linux, Python 3.14).mypy-pathfinder.PLC Local Security Evidence (Advisory)
Local advisory checks only, run over the whole stack. Not release-gate results.
subprocess.runcall in the canary probe inload_nvidia_dynamic_lib.pyChecklist
🤖 Generated with Claude Code