Repository navigation
test(ci): verify the packed SDK flow and Postgres races - #224
Conversation
Astra reviewReviewed StandardsNo merge-blocking method or YAGNI findings. Spec
Verification: Summary: Standards: 0 blockers. Spec: 1 blocker—real-Postgres concurrency is not an enforced merge gate. |
Sol reviewStandardsNo verified standards findings. The large concurrency file is justified by the seven required real-Postgres races: its timing seams stay local, prove distinct blocked sessions, and assert final caller-visible state. I found no avoidable abstraction, duplicated production mechanism, or YAGNI violation worth changing. SpecBlocking — make The packed init → dev shell → hosted shell → additive republish path and the other concurrency invariants trace cleanly to #208. I also verified the rollback test's direct pointer-change seam: no production rollback API exists, and the seam races the real publish row lock while asserting the observable pointer, content, cumulative inventory, and old/new-version behavior. No additional spec finding there. Summary: Standards — 0 findings. Spec — 1 finding; worst is the missing |
|
Updated disposition for the Astra review and Opus review. Opus is the current cross-family review, superseding Sol. Pulled merged base 97d40cc; fixes are committed and pushed as 539fed6. Fixed
Kept, with reasons
Verification
Unresolved merge blockers: none under the agreed disposition. The post-main ruleset step remains intentionally deferred and tracked. Ready to merge into the stack base; not merged. |
|
Fixed the packed tier-1 response-body race reported by downstream #225 in run 34588317366. Final fix: 29b99b9, committed and pushed on The first attempt ( The final harness captures the body inside the browser: the real native fetch response is cloned and decoded, and the value is copied through a Playwright binding before the original response returns to the broker. Node-side waiters consume these captured values, not navigation-scoped Playwright Verification of the final implementation:
|
Opus reviewReviewed Verified locally in the PR worktree: Spec1. Blocking — the Discovered by neither runner, with no error. One line: Everything else traces to #208. All seven invariants are present and each asserts caller-visible state through The overlaps with the package suites are real but not duplication: the I also agree with the one deliberate deviation from the spec's prose. #208 says the hosted runtime call "returns the inserted row"; Standards2. 3. Method and YAGNINot blocking, but both would materially shrink the change:
SummaryStandards: 2 findings; worst is the PR-scoped activation note checked into |
476d781 to
796508f
Compare
539fed6 to
c73e67c
Compare
The SDK stack landed its docs ticket by ticket, leaving stale tier-0-only claims and conflicting terminology. This pass reconciles the product, glossaries, ADRs, guides and skills against the completed stack, including the seven migration records and post-merge concurrency gate. It also fixes nullable-array notation in the generated API reference. **Stacked on `sdk/208-ci-e2e` (#224).** This PR contains only the #209 reconciliation commit above that branch. The prototype PRs remain closed with build-ticket pointers, their remote branches are deleted, and the SDK map has its final build record. Existing schema-revision and dev-inventory differences from the spec are documented without changing runtime behavior. Closes #209. ## Verification - `pnpm lint` and `pnpm typecheck` passed (18 packages). - `pnpm test`: 701 tests passed across 74 files. - Generated API-doc test and before/after renderer smoke passed. - Standards and spec reviews: no actionable findings remain. Model: GPT-6 Astra. Harness: Oh My Pi.
The SDK needs an end-to-end check of the shipped package and real-Postgres coverage for races that PGlite cannot prove.
Adds the packed init → dev → headless insert → stop → publish → authenticated runtime → additive republish flow, plus one real-Postgres block covering the seven concurrency invariants. Both run as unconditional CI checks with fatal startup failures; the test-tier docs explain the commands and isolation. Dev rows remain local, so the hosted flow inserts and reads its own row.
Stacked on
sdk/207-patchy-dev(#223). This PR contains only the #208 commit above that branch.Closes #208.
Verification
--maxWorkers=4. The initial default-worker run hit a 5-second timeout in the unchanged Postgres runtime test; that test passed independently.GitHub branch-protection settings were not changed; both workflow jobs are unconditional.
After this PR reaches main
main, addedpostgres-concurrencyto the activemain CIruleset.cli-smokewas already required and contains the packed SDK flow. Verified the seven required contexts; strict up-to-date checks and all other rules remain enabled.Implemented with GPT-6 Astra in the Oh My Pi harness.