Skip to content

chore(gastown): stage release updates#3353

Open
jrf0110 wants to merge 8 commits into
mainfrom
gastown-staging
Open

chore(gastown): stage release updates#3353
jrf0110 wants to merge 8 commits into
mainfrom
gastown-staging

Conversation

@jrf0110
Copy link
Copy Markdown
Contributor

@jrf0110 jrf0110 commented May 20, 2026

Summary

  • Continue the long-lived Gastown staging release PR from gastown-staging to main.
  • Remove persisted dynamic container env vars from TownContainerDO and hydrate runtime town, rig, agent, token, and auth configuration through control-server/container dispatch requests instead; boot logs now use the dynamic town id from the hydrated runtime config.
  • Fix Gastown session ingest for mayor/prewarm sessions via #3372: bump @kilocode/cli to 7.3.1, extract shared Kilo auth env construction, and pass KILO_AUTH_CONTENT, KILO_PLATFORM, and KILO_ORG_ID through the prewarm path.
  • Shorten mayor cold-start readiness via #3369: mint container JWTs without a synchronous refresh-token request, move best-effort git credential refresh and non-critical registry/worktree setup off the visible request path, prioritize mayor hydration/prewarm, and add phase timing telemetry.
  • Add Gastown to the cloud-agent sessions platform filter via #3426, so Gastown sessions can be isolated in the sessions UI.
  • Bump Gastown staging resources and make agent worktree creation idempotent when a local branch already exists but its worktree directory is missing; this prevents startup failures like fatal: a branch named '<branch>' already exists after partial setup or cleanup.
  • Exclude internal @kilocode/* packages from the pnpm minimum-release-age delay so coordinated internal package bumps can be installed during release work.

Verification

N/A for this release-rollup PR. See the constituent PRs linked above for change-specific verification notes.

Visual Changes

N/A

Reviewer Notes

This PR is intended to stay open as the ongoing Gastown staging-to-main release vehicle; more commits may be added over time. Direct commits on gastown-staging currently include the container env-var cleanup/hydration fixes, dynamic town id boot logs, resource bump, worktree branch reuse fix, and pnpm release-age exception. Constituent PRs merged into the staging branch include #3372, #3369, and #3426.

@kilo-code-bot

This comment was marked as resolved.

@jrf0110

This comment was marked as resolved.

jrf0110 and others added 5 commits May 20, 2026 13:00
…rm (#3372)

Bug 1: @kilocode/cli@7.2.14 doesn't read KILO_AUTH_CONTENT, causing all
kilo serve session-ingest to silently no-op. Bumped to 7.3.1 which has the
feature. Verified KILO_AUTH_CONTENT present in binary strings.

Bug 2: buildPrewarmEnv didn't set KILO_AUTH_CONTENT, KILO_PLATFORM, or
KILO_ORG_ID, so mayor sessions (which go through prewarm) were invisible.
Extracted buildKiloAuthEnv helper from buildAgentEnv and used it in both
buildAgentEnv and buildPrewarmEnv.

Refs #3307

Co-authored-by: John Fawcett <john@kilcoode.ai>
* perf(gastown): shorten mayor cold start path

* fix(gastown): address mayor latency review feedback

* fix(gastown): remove stale mayor setup parameter

* fix(gastown): remove stale mayor setup comment
* feat(cloud-agent): add Gastown filter option to ChatSidebar and mobile modal

* fix(cloud-agent-next): remove stale comment in default branch handling

---------

Co-authored-by: John Fawcett <john@kilcoode.ai>
Make worktree creation tolerate an existing local branch with a missing worktree directory, and allow internal @kilocode package updates to bypass release-age delays.
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