Skip to content

[Dart] fix dart3_aot regression (2)#10852

Open
iapicca wants to merge 4 commits intoTechEmpower:masterfrom
iapicca:dart3_aot_regression_fix_2
Open

[Dart] fix dart3_aot regression (2)#10852
iapicca wants to merge 4 commits intoTechEmpower:masterfrom
iapicca:dart3_aot_regression_fix_2

Conversation

@iapicca
Copy link
Contributor

@iapicca iapicca commented Mar 8, 2026

Follow-up to #10835

This PR fixes two issues that were silently preventing worker isolates from scaling correctly in AOT mode:

  • Dockerfile misconfiguration: Fixed an issue where the AOT snapshot wasn't being executed properly, preventing the isolate scaling logic from triggering.

  • Dart runtime crash: Fixed a silent crash in the worker processes. The VM passes command-line arguments as a fixed-length list, which caused an UnsupportedError when the child isolates tried to remove the _workerGroup flag. The arguments are now safely copied into a mutable list ([...arguments]) before modification.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2026

The following frameworks were updated, pinging maintainers:
dart3: @iapicca

@iapicca iapicca changed the title [Dart3] fix dart3_aot regression (2) [Dart] fix dart3_aot regression (2) Mar 8, 2026
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