Skip to content

Update affected dependencies and declare Rust 1.87 minimum - #24

Merged
rrnewton merged 11 commits into
rrnewton:mainfrom
unormal:codex/review-dependencies
Sep 7, 2026
Merged

rrnewton merged 11 commits into
rrnewton:mainfrom
unormal:codex/review-dependencies

Conversation

@unormal

@unormal unormal commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

The locked dependency graph matches six RustSec advisories across anyhow, bytes, git2, and rand. Update the affected packages without a general dependency refresh: anyhow 1.0.104, bytes 1.12.1, git2 0.21.0, and rand 0.8.8. Raise direct minimums for anyhow/rand and upgrade the build helper to built 0.8.1 to obtain patched git2; declare and document its Rust 1.87 requirement. The new git2 graph also removes unused URL/ICU dependencies.

Addresses anyhow RUSTSEC-2026-0190, bytes RUSTSEC-2026-0007, git2 RUSTSEC-2026-0008, RUSTSEC-2026-0183, RUSTSEC-2026-0184, and rand RUSTSEC-2026-0097. These were affected-version matches; the review did not establish application-specific exploitability.

Validation: an OSV batch query of all 141 registry package/version entries returned no matches and no pagination. On Windows with Rust 1.98, 66 library tests, 87 CLI unit tests, 24 native regressions, and the migration regression pass. Formatting and all-target/all-feature Clippy pass. Rust 1.87 itself, Unix shell suites, and cargo-audit were not run locally; the existing CI security job runs cargo-audit.

Depends on #23. Merge the series in order; earlier commits remain in the diff until their PRs merge.

unormal and others added 11 commits September 5, 2026 02:31
Test Results Summary
- 64 library and 76 CLI unit tests passed on Windows.
- Migration regression and native help/version smoke test passed.
- Formatting, all-target/all-feature Clippy, and diff checks passed.
- Unix shell suites were platform-gated; direct Cargo validation used because Make is unavailable.
Test Results Summary
- 64 library and 76 CLI unit tests passed on Windows.
- Existing migration regression and four native regressions passed.
- Hostile create/rename/comment/import/sync cases preserve external files.
- Formatting, all-target/all-feature Clippy, and diff checks passed.
- Unix symlink regression is included for CI; Unix shell suites were platform-gated.
Test Results Summary
- 66 library and 79 CLI unit tests passed on Windows.
- Migration regression and eight native regressions passed.
- Covered swaps, cycles, closed/open grouping, comment identity, ancestry, JSONL IDs, rollback and interrupted-commit recovery.
- Formatting, all-target/all-feature Clippy, and diff checks passed.
- Unix shell suites were platform-gated; no live GitHub issues or comments were changed by tests.
Test Results Summary
- 66 library and 79 CLI unit tests passed on Windows.
- Existing migration regression and ten native regressions passed.
- Close/reopen, missing prerequisites, statistics and query-filter regressions passed.
- Formatting, all-target/all-feature Clippy, and diff checks passed.
Test Results Summary
- 66 library and 79 CLI unit tests passed on Windows.
- Existing migration regression and thirteen native regressions passed.
- Unknown/duplicate sections retain original bytes; CRLF/BOM and delimiter-like titles survive updates.
- Formatting, all-target/all-feature Clippy, and diff checks passed.
Test Results Summary
- 66 library and 79 CLI unit tests passed on Windows.
- Existing migration regression and twenty native regressions passed.
- Held-lock, stale-snapshot, custom-path, conflict, JSON dry-run and write-failure coverage passed.
- Formatting, all-target/all-feature Clippy, and diff checks passed.
Test Results Summary
- 66 library and 85 CLI unit tests passed on Windows.
- Existing migration regression and twenty-one native regressions passed.
- Thirteen native GitHub tests passed after the legacy hash adjustment.
- Covered network/write races, workflow statuses, state merges and comment identity without live GitHub mutations.
- Formatting, all-target/all-feature Clippy, and diff checks passed.
Test Results Summary
66 library, 85 CLI unit, 24 native regression, and 1 migration tests pass on Windows. Formatting and all-target/all-feature Clippy pass. Unix shell suites not executed locally.
Test Results Summary
66 library, 87 CLI unit, 24 native regression, and 1 migration tests pass on Windows. Formatting and all-target/all-feature Clippy pass. Unix-only cases await CI.
Test Results Summary
66 library, 87 CLI unit, 24 native regression, and 1 migration tests pass on Windows with Rust 1.98. Formatting and all-target/all-feature Clippy pass. OSV checked 141 registry entries with no matches. Minimum Rust and Unix suites not run locally.
Preserve migration source timestamps and JSONL precedence; publish timestamps with transaction contents; compare persisted GitHub snapshots; align punctuation-ID replacement with Git word boundaries. Add regression coverage and record review/landing plan in ai_docs. Update minibeads-37 and minibeads-3 with completed checks and remaining final-head CI/landing work; no new issues created. The separate sync overhaul remains on human-review hold and is not included.

Test Results Summary
- Debug make -o purge validate: 203 passed (66 library, 101 binary, 7 shell fixtures, 1 migration, 28 regressions); formatting and Clippy pass.
- Rust 1.87.0 debug: same 203 tests pass.
- Strict all-target/all-feature Clippy and git diff --check pass.
- cargo audit --deny warnings: zero vulnerabilities/warnings (142 dependencies, 1242 advisories).
- Local purge skipped to preserve private database boundary; randomized release-hardcoded stress harness not run.
@rrnewton

rrnewton commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Reviewed all ten cumulative PRs (#15–#24) with independent scoped reviewers. Added commit 25b963f with narrow review corrections: preserve migration timestamps/newer JSONL edits (#17), use canonical persisted snapshots for GitHub writes/imports (#21), and match Git word boundaries for punctuation IDs (#23), plus regressions. 203 debug tests pass on stable and Rust 1.87; formatting, strict all-target/all-feature Clippy, and audit are clean. See ai_docs/pr-landing-review.md for evidence. Earlier heads fail audit until this dependency fix; plan is one normal merge of this corrected full stack after final-head CI passes, preserving all original commits in order and verifying earlier PRs are indirectly merged. The separate sync-overhaul prototype is excluded and awaiting the owner’s plan review.

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.

2 participants