Skip to content

feat: support newer rules_lint#953

Open
thesayyn wants to merge 2 commits intomainfrom
axel-f-rules-lint
Open

feat: support newer rules_lint#953
thesayyn wants to merge 2 commits intomainfrom
axel-f-rules-lint

Conversation

@thesayyn
Copy link
Member

@thesayyn thesayyn commented Mar 2, 2026

Changes are visible to end-users: yes

  • Searched for relevant documentation and updated as needed: yes
  • Breaking change (forces users to change their own code or config): no
  • Suggested release notes appear below: yes

Support newest rules_lint

Test plan

  • New test cases added

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 613d3894a3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

fibre = "0.5.0"
flate2 = "1.1.2"
rand = "0.8.5"
semver = "1"

Choose a reason for hiding this comment

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

P0 Badge Remove duplicate semver dependency entry

Adding semver a second time in the same [dependencies] table makes the manifest invalid TOML, so cargo fails before compilation (duplicate key) and the whole workspace cannot build or run tests. This is a release-blocking regression because it affects every Cargo command in this repo.

Useful? React with 👍 / 👎.

Comment on lines +294 to +296
if marker not in desired:
for c in comments:
delete_review_comment(

Choose a reason for hiding this comment

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

P1 Badge Guard cleanup when changed-lines data is unavailable

This branch deletes every existing aspect-lint review comment not present in desired, but desired becomes empty whenever list_pull_request_files fails upstream (we return early without populating changed_lines). In that failure mode, a successful comments-list call here will purge all prior lint comments on the PR, causing data loss and noisy comment churn.

Useful? React with 👍 / 👎.

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.

1 participant