这是indexloc提供的服务,不要输入任何密码
Skip to content

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

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

NicholasLYang
Copy link
Contributor

Description

I forgot to derive the Opts struct from the watch mode command. This PR does that and adds a test.

Testing Instructions

…ds test for loading opts from various commands
@NicholasLYang NicholasLYang requested a review from a team as a code owner January 22, 2025 18:19
Copy link

vercel bot commented Jan 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 4:58am
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 4:58am
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 4:58am
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 4:58am
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 4:58am
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 4:58am
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 4:58am
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 4:58am
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 4:58am

@@ -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!"}}
Copy link
Contributor Author

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,
Copy link
Member

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.

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.

3 participants