Tooling improvements - #202
Merged
Merged
Conversation
KubaO
commented
Sep 24, 2026
Collaborator
- Improved robustness when dealing with build errors, compiler crashes, timeouts, etc.
…ddin.mjs, buildProject, addAddin), tbrun's tree staging shared as lib/tb-project.mjs, and the registry tidy clears the build target the IDE remembers under harness folders -- Samples 10 and 15 build and load; P8 answered, P7 half answered
…rash) -- Samples 10 and 15 carried out end to end; CDP calls time out, dialogs are recorded and dismissed, a DevTools port another IDE holds is refused, and the tidy never restores an association that named the temp folder
…ane.mjs, test/addin) with Samples 10 and 15 passing; TB_ADDIN_TEST reaches add-ins (P10); the recent list restored as found
… entry that was last at the mark, as round 8's console rule asks -- measured on an open line and with Sample 10's PrintText; the IDE's double escaping of a continued Debug.Print line queued
…s for up to 5 s instead of re-reading once after 2 s -- the first crash never names it, the second does 1.8 to 3.0 s later with four IDEs running, and the fixed wait missed it 31% of the time; 24 crash-fixture runs, 12 on four lanes, all named it
…e compiler died parsing on its own before halving -- 3 builds and 22 s against 7 and 48 s on a nine-sample page holding the crash fixture, halving kept as the fallback; tb-lane's closeProject waits for the name as well (awaitCrashName, shared with waitForCompile); examples.bat 1,123 of 1,123 and both add-in lanes pass
… no one of them crashes alone, instead of counting them all as compiling -- halving separated any such pair and both halves built clean; runBatch builds through a lane, so 7 probes drive isolation with a fake one, and the three set-shaped ones failed before the fix; the placeholder crash needs only a placeholder name with any Extends, and an Interface extending itself compiles clean, both queued
…and waited for by the compiler's new pid rather than a pause -- a win64 probe runs in twinBASIC_win64_noDEP.exe as a 64-bit process (LongPtr 8 bytes, AMD64, not WOW64, x64 binary); tbrun names its output as the IDE does, which opens no Save dialog; the registry tidy puts back a named project's remembered target, measured end to end; examples.bat 1,123 of 1,123
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.