Skip to content

pipeline convert help corrections#649

Open
karensawrey wants to merge 2 commits intomainfrom
TSDOCS-263-CLI-help-fix
Open

pipeline convert help corrections#649
karensawrey wants to merge 2 commits intomainfrom
TSDOCS-263-CLI-help-fix

Conversation

@karensawrey
Copy link

Description

Changes

This PR changes nothing in the way CLI fuctions, but changes help descriptions for auto-detection on vendors and the use of timeouts.
-->

Testing

Does not apply.

Disclosures / Credits

Minor fix in the descriptions.
-->

@karensawrey karensawrey requested a review from a team as a code owner February 16, 2026 16:52
Vendor string `help:"CI/CD vendor (auto-detected if the file name matches vendor path and name - otherwise, needs to be specified)" short:"v"`
Output string `help:"Custom path to save the converted pipeline (default: .buildkite/pipeline.<vendor>.yml)" short:"o"`
Timeout int `help:"Timeout in seconds for conversion" default:"300"`
Timeout int `help:"Timeout in seconds for conversion (increase for large pipelines, decrease to fail conversion on timeout)" default:"300"`
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure if it's clear to me what's the intent of the current wording, especially around decreasing the timeout value.

Copy link
Author

Choose a reason for hiding this comment

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

@omehegan we might need your assistance here as I tried to convey your explanation to the best of my ability, and it didn't seem to have worked.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, I don't know that this needs a change, maybe I'm biased here as I know what timeout is, but I think it's generally accepted as a term and function?

decrease to fail conversion on timeout, what happens if I set to 0?

Copy link
Author

Choose a reason for hiding this comment

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

@mcncl if the timeout is set to zero, same thing happens as when the timeout is shorter than the conversion needs to run - "panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x10 pc=0x104d337d0]"

Copy link
Author

Choose a reason for hiding this comment

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

Should we add a warning to advise users against setting the timeout to zero, to be on the safe side?

@karensawrey karensawrey requested a review from mcncl February 17, 2026 20:37
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

Comments