-
Notifications
You must be signed in to change notification settings - Fork 1
feat: add "--update-context" flag to app installation commands #1543
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "opensearch-host": OptionFlag<string>; | ||
| "opensearch-port": OptionFlag<string>; | ||
| entrypoint: OptionFlag<string | undefined>; | ||
| "update-context": BooleanFlag<boolean | undefined>; |
Copilot
AI
Dec 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The type BooleanFlag<boolean | undefined> is inconsistent with the flag definition where default: undefined is set. Boolean flags should typically use BooleanFlag<boolean> since they resolve to true/false at runtime, or the default should be explicitly set to false rather than undefined.
| "update-context": BooleanFlag<boolean | undefined>; | |
| "update-context": BooleanFlag<boolean>; |
| "update the CLI context to use the newly created app installation", | ||
| char: "c", | ||
| required: false, | ||
| default: undefined, |
Copilot
AI
Dec 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Boolean flags should have default: false instead of default: undefined. Setting default: undefined is unusual for boolean flags and can lead to unexpected behavior when checking the flag value.
| default: undefined, | |
| default: false, |
No description provided.