Skip to content

feat(operation): complete operation v2 foundation - #471

Merged
genedna merged 2 commits into
libra-tools:mainfrom
jackieismpc:feat/scheam-update
Sep 5, 2026
Merged

feat(operation): complete operation v2 foundation#471
genedna merged 2 commits into
libra-tools:mainfrom
jackieismpc:feat/scheam-update

Conversation

@jackieismpc

@jackieismpc jackieismpc commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Complete the OL-02 to OL-04 operation v2 foundation on the version-frozen 0.22.14 surface.
  • Add copy-first, transactional v1-to-legacy migration and the canonical v2 SeaORM schema/entities.
  • Add canonical RepoViewV2 / facet codecs with fail-closed closure and restore validation.
  • Add OperationStoreV2 journal persistence, monotonic journal phases, multi-parent operation writes, generation-aware head CAS, and sibling-preserving head merge.
  • Keep active v1 operation logging on the legacy_* namespace until the OL-09/OL-15 cutover; no dual write, no change-id commit headers, no release/tag changes.

Validation

  • cargo +nightly fmt --all --check
  • LIBRA_SKIP_WEB_BUILD=1 cargo clippy --all-targets --all-features -- -D warnings
  • OL-02 schema/migration tests, OL-03 facet/view tests, OL-04 operation DAG/store tests
  • Existing migration, operation service/wrapper, worktree isolation, schema-upgrade, and upgrade tests
  • Full cargo nextest run --all --no-fail-fast --retries 2: 9429/9430 passed, 3 skipped; the remaining agent_bridge_span_test failure was isolated and passed on a focused rerun with retries.

Related to #452.

Signed-off-by: jackieismpc <jackieismpc@gmail.com>
Signed-off-by: jackieismpc <jackieismpc@gmail.com>
@genedna
genedna merged commit fce707f into libra-tools:main Sep 5, 2026
11 checks passed
@jackieismpc
jackieismpc deleted the feat/scheam-update branch September 6, 2026 09:36
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