Skip to content

fix(cli): the cli runner should be able to run requests with workspace id by correct order#8220

Merged
ihexxa merged 9 commits into
developfrom
fix/runner/gen-ws-cmd
Dec 4, 2024
Merged

fix(cli): the cli runner should be able to run requests with workspace id by correct order#8220
ihexxa merged 9 commits into
developfrom
fix/runner/gen-ws-cmd

Conversation

@ihexxa
Copy link
Copy Markdown
Contributor

@ihexxa ihexxa commented Dec 2, 2024

Changes:

  • UI: only generate runner CLI command with workspace id, when requests order in runner is consistent with workspace requests order
  • CLI: run requests by manual sorting order, when no -i option has been set
  • UI: "run folder" should include all sub folders

Ref: INS-4760

@ihexxa ihexxa self-assigned this Dec 2, 2024
@ihexxa ihexxa changed the title fix(runner): should not generate command with workspace id when all request are selected fix(cli): should not generate command with workspace id when all request are selected Dec 2, 2024
@ihexxa ihexxa changed the title fix(cli): should not generate command with workspace id when all request are selected fix(cli): the cli runner should be able to run requests with workspace id by correct order Dec 2, 2024
@ihexxa ihexxa requested a review from a team December 2, 2024 08:23
@filfreire filfreire force-pushed the fix/runner/gen-ws-cmd branch from d5e2810 to a340629 Compare December 2, 2024 16:12
Copy link
Copy Markdown
Contributor

@notjaywu notjaywu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left a comment

Comment thread packages/insomnia/src/ui/routes/runner.tsx Outdated
Co-authored-by: Jay Wu <130019718+notjaywu@users.noreply.github.com>
@ihexxa
Copy link
Copy Markdown
Contributor Author

ihexxa commented Dec 3, 2024

left a comment

It looks good to me and ideally index could be changedItemIndex.

notjaywu
notjaywu previously approved these changes Dec 3, 2024
Copy link
Copy Markdown
Contributor

@notjaywu notjaywu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment thread packages/insomnia/src/ui/routes/runner.tsx Outdated
Comment thread packages/insomnia/src/ui/routes/runner.tsx Outdated
cwangsmv
cwangsmv previously approved these changes Dec 3, 2024
* fix(cli): cli should not prompt to ask for workspace id

* fix: support runing folder and sorting request by path

* fix: e2e tests

* fix: incorrect sorting
@notjaywu notjaywu dismissed stale reviews from cwangsmv and themself via f14bf7a December 4, 2024 07:22
Copy link
Copy Markdown
Contributor

@notjaywu notjaywu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ihexxa ihexxa merged commit e238c90 into develop Dec 4, 2024
@ihexxa ihexxa deleted the fix/runner/gen-ws-cmd branch December 4, 2024 09:05
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.

4 participants