Skip to content

lane-orders: the PostgreSQL rig recipe also creates the darling database, as CI does - #5292

Merged
erikdarlingdata merged 1 commit into
devfrom
docs/lane-orders-darling-database
Oct 5, 2026
Merged

erikdarlingdata merged 1 commit into
devfrom
docs/lane-orders-darling-database

Conversation

@erikdarlingdata

@erikdarlingdata erikdarlingdata commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Why

A rig built from this recipe has no darling database. The role-provisioning live tests grant CONNECT on it, so they fail with 3D000 (database "darling" does not exist). In earlier runs on recipe-built rigs, five live test classes for the server and viewer failed this way.

CI's init step creates the database. It runs createdb.exe for darling in .github/workflows/build.yml around line 1120, and again for each extra cluster around line 1178.

CI also points DARLING_TEST_PG at darling itself, while the recipe keeps a separate suite database. I left that as it is.

What changes

Step 5 of the "PostgreSQL rig" recipe in .claude/skills/lane-orders/SKILL.md now also creates darling. It uses the same createdb call as CI and gives the reason in one sentence.

The suite database and the hand-run database stay as they were. Nothing else in the file changes, and the file keeps its CRLF line endings.

Test plan

  • I searched Darling/Darling.Tests and Lite.Tests for lane-orders and SKILL.md. Only FleetIdentifierScrubTests reads the skill, to scan it for fleet names.
  • I built Darling/Darling.Tests/Darling.Tests.csproj with 0 warnings and 0 errors.
  • I ran FleetIdentifierScrubTests: 3 tests, 0 failed, 0 skipped.
  • No product code changed, so no other tests apply.

…ase, as CI does

Step 5 of the rig recipe created only the suite and hand-run databases. CI's init step also creates darling, and the role-provisioning live tests grant CONNECT on it, so they fail with 3D000 on a rig built from the recipe. Step 5 now creates it with the same createdb call as CI and says why.
@erikdarlingdata erikdarlingdata added the merge-train In a merge train: its CI ran on the train PR label Oct 5, 2026
@erikdarlingdata
erikdarlingdata marked this pull request as ready for review October 5, 2026 22:53
@erikdarlingdata
erikdarlingdata merged commit 1a83b41 into dev Oct 5, 2026
12 of 15 checks passed
@erikdarlingdata
erikdarlingdata deleted the docs/lane-orders-darling-database branch October 5, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-train In a merge train: its CI ran on the train PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant