Skip to content

release: v0.2.4 - #92

Merged
an1ndra merged 6 commits into
mainfrom
Develop
Nov 22, 2026
Merged

an1ndra merged 6 commits into
mainfrom
Develop

Conversation

@an1ndra

@an1ndra an1ndra commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Release v0.2.4.

A real deployment no longer starts with a provider catalogue it has no credentials for:

  • GATEWAY_SEED_DEFAULTS defaults to false (was true).
  • The example catalogue only fills a completely empty provider and route table, and no longer recreates a provider by slug, so deleting one in the console sticks.
  • deploy/dokploy/compose.yml passes GATEWAY_SEED_DEFAULTS through with a false default. Compose only injects variables it interpolates, which is why the line in Dokploy's Environment editor never reached the container.
  • Docs: quick start, configuration reference, common upstream base URLs (ChatGPT, Gemini, OpenCode) and a recipe for removing the example rows from an existing database.
  • New SeedNoResurrectionTest; suites that assert on the example catalogue opt in with gateway.seed-defaults=true.

./mvnw verify: 245 gateway tests + 8 adapter tests, 0 failures.

Tagging v0.2.4 after merge publishes the jar, SBOM, checksums and the multi-arch image; the Dokploy compose deploys on the tag.

Dokploy's trigger for the compose service is now On Tag. A release tag is the
only thing that restarts production; Develop pushes, pull requests and
Dependabot branches do not.

The compose keeps building from the tagged source instead of pulling :latest,
because both webhooks fire at the same moment and a :latest pull would race
the image build and could deploy the previous release.
GATEWAY_SEED_DEFAULTS defaulted to true, so a fresh gateway showed four
providers it had no credentials for plus a starter route table in the
admin console. It also recreated any missing example provider by slug on
every boot, so deleting one in the console brought it back after a
restart.

Seeding is now off unless GATEWAY_SEED_DEFAULTS=true, and it only fills a
completely empty catalogue, which makes a delete stick. The quick start,
the configuration reference and the operations guide describe how to
remove the examples from a database that already has them; tests that
assert on the example catalogue opt in explicitly.
Docker Compose only puts a variable into the container when the compose
file interpolates it, so the line in Dokploy's Environment editor never
reached the process and the seeder kept inserting four providers nobody
had configured. Pass it with a false default.
Bumps the reactor to 0.2.4 and adds the release notes. Seeding the example
provider/route catalogue is now opt-in and only fills an empty catalogue, so
a real deployment starts with the providers it actually configured.
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

The end-to-end job calls the seeded models by name (gpt-4o-mini,
claude-3.5-haiku, auto-fast), so with seeding off by default it failed on
its first admin lookup. Set GATEWAY_SEED_DEFAULTS=true for that job only
and document the requirement next to the local command.
@an1ndra
an1ndra merged commit bd08de2 into main Nov 22, 2026
14 checks passed
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