Skip to content

fix: preserve gh run view passthrough args#419

Open
tsubasakong wants to merge 3 commits intortk-ai:masterfrom
tsubasakong:lucas/issue-416-gh-run-view-job
Open

fix: preserve gh run view passthrough args#419
tsubasakong wants to merge 3 commits intortk-ai:masterfrom
tsubasakong:lucas/issue-416-gh-run-view-job

Conversation

@tsubasakong
Copy link

Summary

  • pass rtk gh run view straight through before trying to extract a positional run ID when the user requested raw log/JSON output
  • preserve flag-only forms like rtk gh run view --log-failed --job <job-id> instead of misclassifying the job id as the run id
  • teach the shared identifier parser that --job/--attempt consume values, and add focused regression tests for those cases

Fixes #416.

Validation

  • git diff --check
  • Rust toolchain (cargo) is not installed on this host, so unit tests could not be executed locally in this opener lane

Copy link

@saimonmoore saimonmoore left a comment

Choose a reason for hiding this comment

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

Cool. Thanks a lot!

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.

Issue accepting arguments for gh run

2 participants