env_reference falsely flags captured APS5_TRACE_ALL_PHASES as stale #24926
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by vgpastor on 2026-11-21T11:17:50Z.
What happens
python tools/env_reference.py --checkrejects the documentedAPS5_TRACE_ALL_PHASESoption as stale, althoughTraceFormat::Summaryconsumes it from the capturedsummary.environment. Removing the documentation would hide a supported option.Title, test or build step
The environment-reference consistency check; introduced alongside the captured-environment read in #18243. This is a tooling false positive, not a rendering or title failure.
AnyPS5 commit
Main
133008c0ee976fe44ada669a332edc9c7f088074. Also observed while validating the unrelated presentation branch6a385ddd5c06e67600a6e0350bca64f9face9b53, whose only runtime change is a guard forAPS5_NO_PRESENT_QUEUE. The trace reader and scanner are identical to main.System
Windows 11 Pro 10.0.26300. Full check with native Python 3.14.10; isolated reproduction with Python 3.10. GPU/compiler are not used by the reproduction (host GTX 1060 3GB, NVIDIA 581.80).
Steps to reproduce
On the main revision above:
The same false positive can be reproduced without scanning the repository: create a source directory containing one
.cppwith the actual reader expression,and a reference document containing its table row, then run:
The one-row document can be:
Log
Exit code 1. The isolated reproduction also returns 1 with the same stale-option diagnostic.
What was checked
getenvcall.APS5_TRACE_ALL_PHASES=1throughsummary.environmentand checks the expanded summary. That test was inspected, not executed for this report.AI-assisted: yes.