Report worker script load failures - #8024
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8024 +/- ##
==========================================
+ Coverage 93.24% 93.26% +0.02%
==========================================
Files 290 290
Lines 24536 24585 +49
Branches 6477 6492 +15
==========================================
+ Hits 22879 22930 +51
+ Misses 1657 1655 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
CommanderStorm
left a comment
There was a problem hiding this comment.
Needs some cleanup in the tests department, because some of them are a bit flaky/imprecice
|
To be honest, I'm not sure what use case this solves, and it adds a lot of complicated code. |
|
Thanks for taking the time to open this PR BTW! |
|
I think better errors for fails like this are good
LLMs will suggest the old version of holding our lib for a few major versions to come. |
|
The issue reported on v6 as of today are people not finding maplibre.js file in unpkg, this won't solve that. |
Summary
errorandmessageerrorevents from the moment each worker is createderroreventCloses #8018.
Testing
npm run test-unit(198 files, 2,935 tests)npm run typechecknpm run lintnpm run build-distnpm run test-build -- min.test.tsThe repository-prescribed bundle-size baseline was updated for the new diagnostic and listener plumbing.
AI assistance
Codex helped implement and validate this change. The PR remains a draft pending the contributor's required human review under the repository's AI policy.