Repository navigation
fix: unblock Clippy on main and correct 0.1.3 release documentation - #12
Merged
Merged
Conversation
Clippy 1.98.0 rejected `text.ends_with(".m")` in the static accuracy test as a
case-sensitive file extension comparison; `.m` is a member name. Compare the
last dotted segment instead. Test-only; the shipped binary is unchanged.
Documentation now matches the published state (0.1.2 is the latest release,
0.1.3 is an unpublished candidate):
- Installation guide: release status, example versions, the eight indexed
extensions, and the verified init/index/doctor/context flow.
- README: 0.1.2 prebuilt binaries; source-only rows marked 0.1.3 (unreleased).
- Developer experience, supported languages and agent investigation no longer
describe 0.1.2 features as upcoming or source-only.
- Module resolution no longer says internal 0.1.4 work was released.
- 0.1.3 release notes: direct install command, version/IR compatibility and
an evaluation section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
CI on
main(2891f31, the PR #11 merge) fails at Clippy with Rust 1.98.0.case_sensitive_file_extension_comparisonsfires ontext.ends_with(".m")incrates/cli/tests/static_accuracy.rs, where.mis a member name, not a file extension. Because Clippy stopped the Linux job, the Linux tests and release build never ran for that commit on hosted CI. macOS tests passed.Several public docs also still described the release state before 0.1.2.
Changes
rsplit_once('.'), thenmember == "m"). This is equivalent and test-only, so the shipped binary is unchanged.init/index/doctor/context.DEVELOPER_EXPERIENCE.md,SUPPORTED_LANGUAGES.md,AGENT_INVESTIGATION.md: no longer describe 0.1.2 features as upcoming or source-only. I checked that the published 0.1.2 asset indexes all eight extensions.MODULE_RESOLUTION.md: no longer says internal 0.1.4 work was "released".RELEASE_NOTES_0.1.3.md: adds the direct install command, a version/IR compatibility line (semantic IR 2 → 5; DB schema 5, memory schema 1 and export format 1 unchanged) and an Evaluation section.No version bump, tag or release. Cargo stays at 0.1.2.
Verification (local, Rust 1.98.0)
cargo fmt --all -- --check: passcargo clippy --workspace --all-targets --locked -- -D warnings: passcargo test --workspace --locked -- --test-threads=1: 326 passed, 0 failedcargo build --release --locked -p code-intel-cli: pass. Its semantic graphs are identical to the evaluated 0.1.3 candidate on four pinned repositories and five labeled fixtures.validategraders valid,test_harness.py36/36 passedscripts/prepare_source.py: 805 files validated