-
Notifications
You must be signed in to change notification settings - Fork 2.1k
fix(watch): correctly derive opts from watch mode args #9761
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
Conversation
…ds test for loading opts from various commands
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -1,5 +0,0 @@ | |||
{"run_id":"1737179308-428315000","line":309,"new":{"module_name":"turborepo_lib__task_graph__visitor__command__test","snapshot_name":"error_short_circuits_factory","metadata":{"source":"crates/turborepo-lib/src/task_graph/visitor/command.rs","assertion_line":309,"expression":"cmd.to_string()"},"snapshot":"Internal errors encountered: oops!"},"old":{"module_name":"turborepo_lib__task_graph__visitor__command__test","metadata":{},"snapshot":"internal errors encountered: oops!"}} |
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.
No clue what this was from. Probably not needed anymore?
"log_order": "Stream", | ||
"summarize": false, | ||
"experimental_space_id": null, | ||
"is_github_actions": false, |
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.
I think you want to reduce the data caught in these snapshots. is_github_actions
and log_order
both get affected depending on where the tests will get run.
Description
I forgot to derive the
Opts
struct from the watch mode command. This PR does that and adds a test.Testing Instructions