Skip to content

revert(ata): rip the exFAT diagnostics back out of rolling -- they hang the page#532

Merged
NathanNeurotic merged 1 commit into
devfrom
revert-ata-diag-from-rolling
Jul 16, 2026
Merged

revert(ata): rip the exFAT diagnostics back out of rolling -- they hang the page#532
NathanNeurotic merged 1 commit into
devfrom
revert-ata-diag-from-rolling

Conversation

@NathanNeurotic

Copy link
Copy Markdown
Owner

Maintainer, on rolling: "Entering exFAT HDD page: Horrific lag in the 40%'s... I enter the page and its stuck loading. This was supposed to be the one thing we DID NOT TAKE from experimental."

Right on both counts. #518 graduated EXP11's diagnostics into rolling, and they are the regression. The crash marker writes to the memory card on every integer step changeEnsurePopstarterDir (folder probe + 3-asset existence sweep) plus a full WriteAtomic tmp/rename/backup dance — roughly 25 times per page entry across the 4-attempt retry loop. That's 200+ memory-card operations wedged inside the ATA probe, on every exFAT page entry, for every user, to diagnose a bug one tester has.

The EXP11 adversarial review called this exactly ("New memory-card IO on every ata probe that did not exist before EXP11... ~24 writes"). I filed it severity: note and shipped it. The tester is not where I should be discovering a warning I already had.

Removed from rolling: staged 43–50 percents, the crash marker and its next-boot toast, the bdm_query pre-check, the iop128k readout, the attempt param.

Verified byte-identical to the pre-#518 build he confirmed working (d24168a): EnsureMassBackendsReady, BuildMassRootIdentity, BuildATAIdentityDeferred, GetATAMassRootNow all diff clean. Two ui.lua deltas kept on purpose: PLDR.L on the "Locating..." string (translation, no I/O) and a pcall around InitATAPopsRoot (can't hang; only stops a Lua error from stranding the overlay).

The diagnostics belong in experimental, where sAGA tests. That's the channel's whole purpose and I put them in the wrong place.

lua54 parse-clean; host harness 21/21.

🤖 Generated with Claude Code

…ng the page

Maintainer, on ROLLING: "Entering exFAT HDD page: Horrific lag in the 40%'s
... I enter the page and its stuck loading. This was supposed to be the one
thing we DID NOT TAKE from experimental."

He is right on both counts. #518 graduated EXP11's diagnostics into rolling
and they are the regression: the crash marker writes to the MEMORY CARD on
every integer step change -- EnsurePopstarterDir (folder probe + a 3-asset
existence sweep) plus a full WriteAtomic tmp/rename/backup dance, ~25 times
per page entry across the 4-attempt retry loop. That is ~200+ memory-card
operations wedged inside the ATA probe, on every exFAT page entry, for every
user, to diagnose a bug ONE tester has.

The EXP11 adversarial review predicted this precisely ("New memory-card IO on
every ata probe that did not exist before EXP11... ~24 writes") and I filed it
as severity: note and shipped it anyway. That was the mistake; the tester is
not the place to discover a warning I already had in hand.

Removed from rolling: the staged 43-50 percents, the crash marker + its
next-boot toast, the bdm_query pre-check, the iop128k readout, and the
BuildMassRootIdentity attempt param. Verified byte-identical to the pre-#518
build he confirmed working: EnsureMassBackendsReady, BuildMassRootIdentity,
BuildATAIdentityDeferred and GetATAMassRootNow all diff clean against
d24168a. Two ui.lua deltas kept deliberately: PLDR.L on the "Locating..."
string (translation, no I/O) and a pcall around InitATAPopsRoot (cannot hang,
only stops a Lua error from stranding the busy overlay).

Diagnostics belong in EXPERIMENTAL, where sAGA tests. That is the channel's
entire purpose and I put them in the wrong place.

lua54 parse-clean; host harness 21/21.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@NathanNeurotic
NathanNeurotic merged commit ae0bebe into dev Jul 16, 2026
7 checks passed
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