Repository navigation
fix(core): compile analysis workloads eagerly with sparkplug #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,7 @@ export const getV8Flags = () => { | |
| "--hash-seed=1", | ||
| "--random-seed=1", | ||
| "--no-opt", | ||
| "--always-sparkplug", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Existing tests compare configured flags with another call to Prompt To Fix With AIThis is a comment left during a code review.
Path: packages/core/src/introspection.ts
Line: 23
Comment:
**New flag lacks direct tests**
Existing tests compare configured flags with another call to `getV8Flags()`, so they would still pass if this line disappeared or moved into the wrong mode. Add focused assertions that simulation, instrumentation, and memory include `--always-sparkplug`, while walltime and disabled mode exclude it.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time! |
||
| "--predictable", | ||
| "--predictable-gc-schedule", | ||
| "--expose-gc", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding
--always-sparkplughere leaves the companioncodspeed execwrapper using the old analysis flags. Its flag list mirrorsgetV8Flags()but does not read it. Update that wrapper alongside this change socodspeed execand plugin-driven runs use the same compilation settings.Prompt To Fix With AI