Repository navigation
deps(rust): Rust 1.99 and current crates (sqlx 0.9 and five majors) - #139
Merged
Merged
Conversation
…ajors) Toolchain 1.99; sqlx 0.9 (SqlSafeStr: static queries via concat!, the spec-built installation export SQL audited with AssertSqlSafe; the pre- migration backup builds its Migrator through with_migrations), argon2 0.6 (hash_password_with_salt from our own entropy), sha2 0.11, zip 9 (fallible entry names become NotAnArchive findings), getrandom 0.4, axum-extra 0.12, and the semver-compatible updates. Bundled SQLite moves 3.46.0 -> 3.51.3 with sqlx. Clippy 1.99's assert_is_empty findings are fixed, not allowed. Existing installations keep working byte for byte: databases initialized by main and by the v0.2.0 release start, keep identical _sqlx_migrations rows and record manifests, and verify; all four export kinds are byte-identical to the old build at a fixed instant; old argon2 hashes verify. A new upgrade_compat test pins the released migration checksums, the argon2 parameters, and a v0.5 hash, with negative controls. Refs #136 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…uoting A test writes a fixed archive through ArchiveWriter at a fixed instant and pins its SHA-256 and every central-directory entry's metadata (stored, flags 0, mode 0644, DOS time, no extra fields); the same digest holds under the pre-upgrade build (zip 8.6.0), so a future zip change that alters container bytes fails instead of silently breaking cross-build determinism. quoted() refuses an identifier containing a quote or NUL, so the installation export's AssertSqlSafe rests on code, not a comment. The changelog records the Rust 1.99 build requirement and bundled SQLite 3.51.3. Refs #136 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
1 of 3 tasks
This was referenced Oct 15, 2026
TusanHomichi
added a commit
that referenced
this pull request
Oct 15, 2026
…als (#145) * test: one runtime test credential, and a guard against password literals Integration tests no longer declare passwords: tests/support provides a per-process password generated from OS randomness (plus wrong, fresh, and too-short variants), the shared login and user helpers that 14 and 12 test crates had each copied, and assertion messages that name no user. With no literal there is nothing for CodeQL's hard-coded-credential and cleartext-logging rules to flag in new test files (#126; recurred on #130 and #139). tests/no_credential_literals.rs scans every test source and fails on a password, passphrase, or secret literal in a binding, struct field, JSON key, JSON-in-a-string, or a credential call, with its scan contract in the header, an exact-path allowlist (upgrade_compat's argon2 0.5 fixture), and negative controls for every shape it flags and every allowed shape it must not; against the pre-change tests it reports 38 findings across 28 files. Closes #126 Co-Authored-By: Claude Opus 5.5 <[email protected]> * test: close the credential guard's review gaps Independent review found no blockers. Follow-ups: upgrade_compat again checks a one-character near miss of the fixture password, built at run time (a verifier that ignored the last byte passed the previous version); a sensitive binding is flagged for any non-empty literal in its initializer (arrays, vec!, Some, match/if arms, closures), a ("password", "literal") pair and macro/turbofish credential calls are caught, and sign-in helpers are matched by more names; empty literals are exempt, so absence and empty-password tests read naturally; the header lists every remaining miss with its reason. The controls move to a 149-case corpus checked against the header in both directions, the walk skips symbolic links, and an unreadable file is named. Against the pre-change tests: 38 findings in 26 files. Refs #126 Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
TusanHomichi
added a commit
that referenced
this pull request
Oct 15, 2026
A minor release under ADR 0022: the complete installation export (#130), the web stack on SvelteKit 3 and Vite 8 (#140) with the browser floor it brings (Chrome/Edge 111, Firefox 114, Safari 16.4), Rust 1.99 and SQLite 3.51 (#139), and doctor's migration verdict matching serve (#144, ADR 0029). Upgrading from 0.2.0 runs no migration. Versions agree across Cargo and web (tests/release_version.rs); the changelog, README, roadmap, and install guide name 0.3.0. Refs #146 Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Primary Issue
Closes #136
Problem And Outcome
The maintainer's policy (2026-10-15): "use latest versions of packages here where it makes sense in general". The Rust side was a toolchain behind (pinned 1.98; latest stable 1.99.1) and six crates behind a major version. After merge, the workspace builds on Rust 1.99 with every direct dependency at its latest release, and nothing is held back. Existing installations keep working byte for byte.
Changes
SqlSafeStr:concat!; their SQL text is byte-identical to before, as the reviewer verified by expanding them;AssertSqlSafe, andquoted()now refuses"and NUL;Migratorthroughwith_migrations.hash_password_with_saltwith our own 16 random bytes.canonical::to_hex.NotAnArchivefinding, which fails closed and is currently unreachable.CHANGELOG.mdunder Unreleased/Changed.Scope
doctorchecksum comparison (doctor: compare stored migration checksums, not just versions #138, found here).Verification
b165802eed2ff31e808f41985fa8f36fd8db36ff(tree1985502e).scripts/proof.pypassed 7/7 gates in 482 s with rustc 1.99.1.be8f3cdb…, archived on the maintainer machine.main(48ccb8e) and by the v0.2.0 release start under the new build:doctorreports ok;_sqlx_migrationsrows are identical (16);tests/upgrade_compat.rspins the released migration checksums (released prefix only), the argon2 parameters, and a v0.5 hash. Its negative controls fail as they should.zip_container::writer_pinpins the container writer's SHA-256 and every entry's metadata. The digest is identical under the old build (zip 8.6), and controls for permissions and extra fields fail.Review And Merge Notes
3282072): 0 blocking, 1 should-fix, 4 nits.b165802).#[must_use]placement, and thequoted()guard.3282072..b165802: self-reviewed by the integrator. Each fix carries its own negative control.sha2 0.10and its digest crates remain insidesqlx-core0.9.🤖 Generated with Claude Code