Skip to content

Add Graphile build readiness and awaited disposal - #1747

Draft
Zetazzz wants to merge 2 commits into
mainfrom
agent/graphile-readiness-disposal
Draft

Add Graphile build readiness and awaited disposal#1747
Zetazzz wants to merge 2 commits into
mainfrom
agent/graphile-readiness-disposal

Conversation

@Zetazzz

@Zetazzz Zetazzz commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Graphile creation now waits for schema gathering and Grafserv readiness. If adapter attachment or readiness fails first, cleanup waits for schema settlement and preserves the original failure. Cache disposal belongs to the exact entry object, so failed old generations cannot suppress cleanup of a replacement using the same key.

Public preset-service release is awaited after PostGraphile teardown. The pinned @dataplan/pg 1.1.1 release originally returned before subscriber UNLISTEN/client return; a maintained PNPM patch now provides an idempotent completion promise, waits for pending connection work, destroys uncertain clients, and attempts every owned service releaser even after failure. The declaration and lockfile patch hash are included; unchanged lock entries retain their formatting.

Rebased onto current main. This is the release prerequisite for the runtime wiring split of #1754.

Validation: 4 suites / 25 tests passed, including deferred release and startup races, repeated calls, failed-generation isolation, and real PostgreSQL LISTEN/UNLISTEN with reuse of the same backend. CJS/ESM build, full test type check, frozen install, supply-chain policy, and CI matrix coverage passed. graphile-cache is now included in the PostgreSQL CI matrix. Full CI run passed all 17 jobs on e7d763665995924a4061b03fb5a08d43f14dfdd9.

Refs constructive-io/constructive-planning#1693 (F04).

@Zetazzz
Zetazzz force-pushed the agent/graphile-readiness-disposal branch from dec013c to e77d653 Compare September 6, 2026 01:51
@Zetazzz
Zetazzz force-pushed the test/performance-harness-core branch 2 times, most recently from 658736e to f7c63ec Compare September 7, 2026 03:22
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.

1 participant