-
Notifications
You must be signed in to change notification settings - Fork 549
Linear cli #836
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
Linear cli #836
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.
Caution
Changes requested ❌
Reviewed everything up to 7254092 in 3 minutes and 4 seconds. Click for details.
- Reviewed
456lines of code in2files - Skipped
0files when reviewing. - Skipped posting
5draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. .github/workflows/release-macos.yml:317
- Draft comment:
The brew install command now uses the '--no-quarantine' flag and removes the tap command. Disabling quarantine can bypass macOS security checks. Please ensure this change is intentional and document the rationale behind it. - Reason this comment was not posted:
Comment did not seem useful. Confidence is useful =40%<= threshold50%The comment is asking the PR author to ensure the change is intentional and to document the rationale, which violates the rules. However, it does point out a potential security issue with disabling quarantine, which could be useful. The comment could be rephrased to focus on confirming the intention without asking for documentation.
2. hack/linear/linear-cli.ts:115
- Draft comment:
The regex in extractIssueId has been updated to allow alphanumeric prefixes (e.g. B2BPROD-206). Consider extracting the regex pattern into a constant to avoid duplication in later validations. - Reason this comment was not posted:
Confidence changes required:50%<= threshold50%None
3. hack/linear/linear-cli.ts:1129
- Draft comment:
The help description for the get-issue-v2 command mentions the 'parents' field, but the default value does not include it. Consider aligning the default fields with the documentation if 'parents' is meant to be included. - Reason this comment was not posted:
Comment looked like it was already resolved.
4. hack/linear/linear-cli.ts:556
- Draft comment:
Images in fetchImages are downloaded sequentially in a loop. Consider using Promise.all or another concurrent approach to improve performance when dealing with many images. - Reason this comment was not posted:
Comment was not on a location in the diff, so it can't be submitted as a review comment.
5. hack/linear/linear-cli.ts:1189
- Draft comment:
In the bash completion script generation, the JavaScript variable 'commands' is interpolated via '${commands.join(' ')}', but a local shell variable 'commands' is also declared. This could be confusing and may lead to unintended behavior. Consider renaming the JavaScript variable to avoid potential naming conflicts. - Reason this comment was not posted:
Comment was not on a location in the diff, so it can't be submitted as a review comment.
Workflow ID: wflow_osSECtEGBtGwlII1
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
| await displayIssue(issue); | ||
|
|
||
| // Fetch and display parent issues | ||
| const parentIssues = []; |
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 logic for fetching and displaying parent issues is duplicated in both getIssue and getIssueV2. Consider refactoring this into a shared helper function to improve maintainability.
What problem(s) was I solving?
What user-facing changes did I ship?
How I implemented it
How to verify it
make check testpassesDescription for the changelog
A picture of a cute animal (not mandatory but encouraged)
Important
Adds
assign-to-mecommand, enhances issue ID pattern matching, and updates Homebrew installation command.assign-to-mecommand inlinear-cli.tsto assign issues to the current user.extractIssueId()andresolveIssueId().release-macos.ymlto include--no-quarantineflag.assignToMe()function inlinear-cli.tsto handle issue assignment.getIssue()andgetIssueV2()to display parent issues.updateStatus(),addLink(), andfetchImages()to support alphanumeric prefixes.This description was created by
for 7254092. You can customize this summary. It will automatically update as commits are pushed.