Skip to content

Tooling improvements - #202

Merged
KubaO merged 8 commits into
twinbasic:mainfrom
KubaO:worktree-tender-churning-meerkat
Sep 24, 2026
Merged

KubaO merged 8 commits into
twinbasic:mainfrom
KubaO:worktree-tender-churning-meerkat

Conversation

@KubaO

@KubaO KubaO commented Sep 24, 2026

Copy link
Copy Markdown
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
@KubaO
KubaO merged commit a46fd3f into twinbasic:main Sep 24, 2026
1 check 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