tests: copy every local import of the debug launcher into the run.ps1 control #3703
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3703
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3701"
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?
@KelboLive on GitHub · 2026-12-01 04:43 UTC · original
KelboLive:tests/run-ps1-local-imports→main· +7 −1 · 1 files · 1 commits · merged 2026-12-01 11:21 UTCChange
The
real_log_errorcontrol ofstartup_run_ps1copies the realdebug_launch.pyinto a scratch tree,then makes
log/events.txta directory so the launcher raisesPermissionErrorand the check looks for thattext in the captured summary. The modules it copied alongside were a hard-coded list:
#3676 (
58352a682) added an import to the launcher:and did not update that list. The copied launcher therefore dies at import with
ModuleNotFoundError, beforeit reaches
events.txt; the exit code is still 1, so the exit-code half of the control passes, and thesummary half fails:
Fix
Copy every local module
debug_launch.pyimports, derived from the file itself, instead of a list that has tobe maintained by hand — so the next import addition cannot break this control the same way.
Verification
In-box dev preset,
daddf6155:The
powershellandpwshcases both pass, which is what distinguishes this from an environment problem:the failure was Python import resolution inside the copied tree, identical on both shells.
Refs #3676.
github-bot referenced this pull request2026-12-01 05:14:23 +00:00
s_bitset1_b32on a root address high word to the stride-one V# #3704@R0Y00 on GitHub · 2026-12-01 11:21 UTC · original · approved these changes
Reviewed the temporary launcher fixture dependency discovery. Local startup_run_ps1 passed outside the sandbox, including the expected real launcher log error path.
github-bot referenced this pull request2026-12-01 13:31:40 +00:00
github-bot referenced this pull request2026-12-01 14:06:42 +00:00
github-bot referenced this pull request2026-12-02 07:05:29 +00:00
github-bot referenced this pull request2026-12-02 07:28:58 +00:00
github-bot referenced this pull request2026-12-02 23:16:54 +00:00
github-bot referenced this pull request2026-12-03 16:08:44 +00:00