Repository navigation
Add versioned links network migrations - #212
Conversation
Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: #209
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
Working session summaryPR #212 implements issue #209 in Rust, C#, and JavaScript and is ready for review. The branch includes the latest The CLIs support listing and planning migrations, manual and automatic upgrades and downgrades, and conflict-checked rollback that preserves unrelated writes. Migration history and rollback data commit with the store changes and survive journal compaction. Managed stores restrict checkout and branch switching to keep data and migration history in sync. The PR also updates repository terminology to “links network.” Migration guide All 14 CI workflows succeeded on Elapsed time was 1 hour 53 minutes. This summary was automatically extracted from the AI working session output. |
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (723.8K + 37.7M cached) input tokens, 129.8K output tokens, $12.381625 cost 🤖 Models used:
📎 Log file uploaded as Gist (2331KB)This AI session has ended. Monitoring of this pull request continues. Feel free to review and add feedback while checks are running. |
✅ Ready to mergeThis pull request is now ready to be merged:
|
Fixes #209
Changes
The latest target follows the supplied manifest, so an older release can reverse a newer schema using the saved rollback data. Managed databases use the default transitions journal and an activation marker. Tags are available on managed stores. Branch movement and checkout are restricted so a version-control restore cannot bypass schema admission. An auto-up or auto-down open can export a LiNo snapshot after the binary store reaches the target.
Reproduce and verify
Run these commands from the repository root using the pre-migration CLI in the issue reproduction.
The last command exits with
Error: unknown option '--migrate'. The runnable example uses the new CLI to apply a rename and backfill, export the new schema, make an unrelated write, and reverse the changes. The final state contains(task: key value)and(later: task task).The Rust, C#, and JavaScript migration integration tests cover targeted and automatic opens, rollback conflicts, atomic failure, and journal retention. JavaScript also tests recovery with and without a durable commit decision. The Rust–JavaScript differential test compares command output and persisted files, and the cross-runtime experiment compares LiNo exports across all three implementations. A separate CLI check reimported each binary export after auto-up and auto-down and matched it byte for byte against the corresponding LiNo export in all three implementations.
Local verification includes the focused Rust and C# suites, Rust Clippy and formatting, the JavaScript migration and differential tests, JavaScript lint and repository tests, and the parity checker. The initial PR CI failures came from the generated root
.gitkeep, which failed the layout test. Its removal is included.The
pre-commitexecutable was unavailable. The applicable checks were run manually. The local .NET 10.0.112 solution formatter reported whitespace findings in unchanged files. Changed C# files passed the focused whitespace check, and the full format check passed in GitHub Actions using .NET 10.0.403.See the migration guide and case study.
CI follow-up
All 14 GitHub Actions workflows succeeded on
a58b6067. GitHub reported 92 passing checks and 19 skipped jobs. The Windows, macOS, and Linux Rust and C# suites passed. PR checksEPERMduring atomic file replacement. The JavaScript text store now uses the same bounded Windows retry as PID lock cleanup and holds the store lock throughout. A deterministic test injects the sharing error and verifies that the staged file replaces the original. All 90 focused tests passed, with 100% coverage of the retry and storage code. Windows test loglucide-react1.83.0, fixing a dependency check that also failed onmain. The registry check and production Vite build passed locally. Default branch dependency checkWorkbench wording
Playwright ran the same family-links query in both versions and checked the heading, accessible image name, counters, and rendered links. The production bundle also passed with the updated icon dependency.