fix: disable the production startup check #28

Merged
Jc-965 merged 2 commits from repo-restructure into main 2026-10-04 21:16:45 +00:00
Member

Summary

Production has returned 502 since the Sep 26 deploy of #20, and the agent refuses to start because the new production check expects an AGENT_SHARED_SECRET of at least 32 characters, and OpenBao's prod profile does not provide one. Thus, Kennel's health check fails, and the unit is stopped.

This turns the check off by removing the AGENT_ENV default from the prod profile, so production starts as it did before. Note that this is a temporary change and the check will be turned back on once the secret is stored in OpenBao.

Changes

  • Remove the AGENT_ENV default from [profiles.prod] in secretspec.toml
  • Update the matching comment in settings.py and the README.

AI use

  • None
  • Minor: autocomplete or suggestions for a few lines
  • Some: AI drafted parts of the change, the rest was written by hand
  • Most: AI wrote the bulk of the change, edited by hand
  • All: AI wrote the whole change, reviewed and tested by hand

Checklist

  • DATABASE_URL="" uv run pytest passes
  • uv run pytest evals run, if prompts or tool selection changed
  • Hooks pass (devenv shell -- prek run --all-files, or ruff and ty directly)
  • README updated if a variable, route, or command changed
  • No secrets, keys, or .env values in the diff
  • Commits follow Conventional Commits, one change each, rebased onto main
  • Title written like a commit subject
<!-- Lines like this one are hidden when the description is rendered. Fill in each section below and delete any that does not apply. --> ## Summary <!-- What changes and why, in one or two sentences. Write "Closes #<Issue Number>" if there is an issue. --> Production has returned 502 since the Sep 26 deploy of #20, and the agent refuses to start because the new production check expects an `AGENT_SHARED_SECRET` of at least 32 characters, and OpenBao's prod profile does not provide one. Thus, Kennel's health check fails, and the unit is stopped. This turns the check off by removing the `AGENT_ENV` default from the prod profile, so production starts as it did before. Note that this is a temporary change and the check will be turned back on once the secret is stored in OpenBao. ## Changes <!-- For a prompt or tool change, add the query you used to check it. --> - Remove the `AGENT_ENV` default from `[profiles.prod]` in `secretspec.toml` - Update the matching comment in `settings.py` and the README. ## AI use <!-- Tick one. Whatever the level, you have read and verified every line. --> - [ ] None - [ ] Minor: autocomplete or suggestions for a few lines - [x] Some: AI drafted parts of the change, the rest was written by hand - [ ] Most: AI wrote the bulk of the change, edited by hand - [ ] All: AI wrote the whole change, reviewed and tested by hand ## Checklist <!-- Tick each item before requesting review. If one does not apply, leave it unticked and say why in the summary. --> - [x] `DATABASE_URL="" uv run pytest` passes - [x] `uv run pytest evals` run, if prompts or tool selection changed - [x] Hooks pass (`devenv shell -- prek run --all-files`, or ruff and ty directly) - [x] README updated if a variable, route, or command changed - [x] No secrets, keys, or `.env` values in the diff - [x] Commits follow Conventional Commits, one change each, rebased onto `main` - [x] Title written like a commit subject
fix: disable the production startup check
Some checks failed
kennel/build build succeeded
kennel/deploy deployment healthy
CI / check-1 (pull_request) Failing after 1m59s
CI / build (pull_request) Failing after 45s
CI / check (pull_request) Failing after 0s
CI / test-agent (pull_request) Has been skipped
8ba83f54a0

Kennel Deployments

Torn down at 2026-10-04 21:16:47 UTC.

<!-- kennel-deployment --> ### Kennel Deployments Torn down at 2026-10-04 21:16:47 UTC.
build: fix the devenv shell build and clear security scan findings
All checks were successful
kennel/build build succeeded
kennel/deploy deployment healthy
CI / check-1 (pull_request) Successful in 12m11s
CI / build (pull_request) Successful in 17m53s
CI / check (pull_request) Successful in 0s
CI / test-agent (pull_request) Successful in 13m47s
56c9d20172
Jc-965 merged commit 555d1ba9f8 into main 2026-10-04 21:16:45 +00:00
Sign in to join this conversation.
No description provided.