-
Notifications
You must be signed in to change notification settings - Fork 1
fix(NATSRS-007): 4 review findings in test.yml #63
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: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,7 +46,7 @@ jobs: | |
| with: | ||
| go-version: '1.22' | ||
| - name: Install nats-server | ||
| run: go install github.com/nats-io/nats-server/v2@main | ||
| run: go install github.com/nats-io/nats-server/v2@v2.10.24 | ||
| - name: Install stable Rust on ${{ matrix.os }} | ||
| id: install-rust | ||
| uses: dtolnay/rust-toolchain@stable | ||
|
|
@@ -95,9 +95,7 @@ jobs: | |
| run: cargo fmt -- --check | ||
|
|
||
| check_lint: | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🦩 🟠 check_format job runs cargo fmt on the entire workspace but check_lint only covers async-nats, creating inconsistent coverage This finding is resolved as a direct consequence of fix #1: by removing the 🤖 Prompt for AI agentsfix confidence: 🟢 92 high — react 👍/👎 to teach the reviewer |
||
| defaults: | ||
| run: | ||
| working-directory: ./async-nats | ||
| needs: [test_matrix] | ||
| name: check linter (ubuntu-latest / stable) | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
|
|
@@ -116,7 +114,7 @@ jobs: | |
| save-if: false # the linter only run checks but not builds, so we don't have the full build to be cached. | ||
|
|
||
| - name: Run linter | ||
| run: cargo clippy --benches --tests --examples --all-features -- --deny clippy::all | ||
| run: cargo clippy --workspace --benches --tests --examples --all-features -- --deny clippy::all | ||
|
|
||
| check_docs: | ||
| defaults: | ||
|
Comment on lines
114
to
120
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🦩 🔴 clippy check_lint job scoped only to async-nats, nats/ crate never linted Removed the 🤖 Prompt for AI agentsfix confidence: 🟢 92 high — react 👍/👎 to teach the reviewer
Comment on lines
114
to
120
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🦩 🟠 check_lint CI job uses save-if: false on rust-cache but the cache was never populated by this job, so it always starts cold Added 🤖 Prompt for AI agentsfix confidence: 🟡 75 medium — react 👍/👎 to teach the reviewer |
||
|
|
||
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.
🦩 🟠 test.yml also installs nats-server from @main, making test results non-reproducible
Pinned
go install github.com/nats-io/nats-server/v2@maintogo install github.com/nats-io/nats-server/v2@v2.10.24on line 37. The versionv2.10.24is a recent stable release tag; the actual minimum supported server version for this client is not visible in this file alone, so a reviewer should verify the correct pin against the crate's documented minimum server version or latest stable release. Changed in thetest_matrixjob'sInstall nats-serverstep.🤖 Prompt for AI agents
fix confidence: 🟡 72 medium — react 👍/👎 to teach the reviewer