Found during the 0.106.2 release. Not a release blocker, but it makes the deploy / deploy check red and useless as a signal.
What fails
The deploy / deploy job, at the step "Deploy preview environment". Supertokens crashes on startup, repeatedly:
What caused the crash: io.supertokens.pluginInterface.exceptions.DbInitException:
java.sql.SQLException: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException:
Failed to initialize pool: FATAL: database "agenta_oss_supertokens" does not exist
The job then exits 1.
Why it matters
The environment was bootstrapped without that database, so every deploy into it fails deterministically. This is the same shape of problem #5588 addresses for missing services: a preview environment that was created incompletely and then fails on every later deploy.
It is not caused by this release. #5567 showed the same red deploy / deploy before the train was merged.
Scope
This affects the Railway preview environments used for pull requests only. The release stages, staging.preview.agenta.dev and oss.preview.agenta.dev, deploy through the agenta_cloud workflows onto their own databases and are unaffected.
Suggested fix
Either create the missing database during bootstrap the same way #5588 now verifies services exist, or make the bootstrap fail loudly when a required database is absent so the environment can be repaired by a re-run instead of failing silently forever.
Found during the 0.106.2 release. Not a release blocker, but it makes the
deploy / deploycheck red and useless as a signal.What fails
The
deploy / deployjob, at the step "Deploy preview environment". Supertokens crashes on startup, repeatedly:The job then exits 1.
Why it matters
The environment was bootstrapped without that database, so every deploy into it fails deterministically. This is the same shape of problem #5588 addresses for missing services: a preview environment that was created incompletely and then fails on every later deploy.
It is not caused by this release. #5567 showed the same red
deploy / deploybefore the train was merged.Scope
This affects the Railway preview environments used for pull requests only. The release stages, staging.preview.agenta.dev and oss.preview.agenta.dev, deploy through the agenta_cloud workflows onto their own databases and are unaffected.
Suggested fix
Either create the missing database during bootstrap the same way #5588 now verifies services exist, or make the bootstrap fail loudly when a required database is absent so the environment can be repaired by a re-run instead of failing silently forever.