Skip to content
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

Ignore invalid flags in the ci_runner script #6080

Merged
merged 2 commits into from
Mar 6, 2024
Merged

Conversation

maggie-lou
Copy link
Contributor

This will make it easier to add flags to this script in the future.

Right now, if you pass an undefined flag to this script, the script will immediately fail when flag.Parse encounters the unexpected flag. This will make it challenging to ever iterate on this script and add new flags, especially because customers with self-hosted executors may rarely update their executors to pull in new changes to this script. The workflow service / our schedulers don't know what version of this script will be on an executor, so it won't be able to tell whether it's safe to send a new flag.

@maggie-lou
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @maggie-lou and the rest of your teammates on Graphite Graphite

enterprise/server/cmd/ci_runner/main.go Outdated Show resolved Hide resolved
@maggie-lou maggie-lou merged commit 29cfc56 into master Mar 6, 2024
21 checks passed
@maggie-lou maggie-lou deleted the ci_runner_flags branch March 6, 2024 21:43
sluongng added a commit that referenced this pull request Mar 26, 2024
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.

None yet

3 participants