Skip to content

test(station-host): promote 22 lock/replica/memory partial parity tests to ported_new - #10469

Open
CommaBot wants to merge 1 commit into
mainfrom
test/pion-phase3-partial-lock-replica-memory
Open

CommaBot wants to merge 1 commit into
mainfrom
test/pion-phase3-partial-lock-replica-memory

Conversation

@CommaBot

@CommaBot CommaBot commented Dec 6, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Promote 22 partial ledger entries to ported_new across test_coverage_lock.json (13), test_coverage_replica.json (4), and test_coverage_memory.json (5), and narrow replica-s3.test.ts (linking copies_history_test.pion, leaving only S3 multipart upload abort).
  • Production bug fix: GET /lock (pion/station-host/host_mesh/src/member_lock.pion) and GET /lock/person (pion/station-host/host_mesh/src/member_moved.pion) now include "rootout", "carried", "bind", and "told" in serves, matching station/src/mesh/serve.ts (proved by regression test in lock_phase3_parity_test.pion).

Promoted partial -> ported_new (22 items)

  • Lock (13): lock-bind.test.ts, lock-told-out.test.ts, lock-left-out.test.ts, lock-root-out.test.ts, lock-heads.test.ts, lock-moved-joined.test.ts, lock-reset-receipt.test.ts, lock-bodies.test.ts, lock-moved.test.ts, lock-moved-pin.test.ts, lock-root-gone.test.ts, lock-root-gone-ways.test.ts, lock.test.ts
  • Replica (4): replica-low-disk.test.ts, replica-manifest.test.ts, replica-pace.test.ts, replica-handoff.test.ts
  • Memory (5): memory-follow.test.ts, memory-sync-history.test.ts, memory-watch.test.ts, memory-dirs-bounded.test.ts, memory-runners-bounded.test.ts

Verification

  • pionc fmt --check & pionc check --json on host_mesh, host_upkeep, host_sessions: PASS (0 diagnostics)
  • pionc test --json pion/station-host/host_mesh: 205/205 PASS (incl. 12 new phase3 tests)
  • pionc test --json pion/station-host/host_upkeep --filter phase3: 7/7 PASS
  • pionc test --json pion/station-host/host_sessions --filter phase3: 2/2 PASS
  • python3 pion/station-host/scripts/parity_audit.py --self-test & --json: 152 checks OK, 0 ledger_errors
  • sh scripts/undone.sh origin/main HEAD & sh scripts/check.sh push origin/main..HEAD

Model: Gemini 4 Neon (Medium); test frameworks: pionc test, parity_audit.py.


Prove it works
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…ts to ported_new

Add real behavioral parity tests across host_mesh, host_upkeep, and host_sessions closing 22 partial entries (13 lock, 4 replica, 5 memory) to ported_new and narrowing replica-s3. Also fix GET /lock and GET /lock/person serves arrays in member_lock.pion and member_moved.pion to advertise rootout, carried, bind, and told matching Node serve.ts.

Co-authored-by: zuozijian <26162189+zuozijian@users.noreply.github.com>

This branch has not been deployed

No deployments
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