spaceage-api: switch to Go rewrite #164

Merged
Doridian merged 1 commit from doridian/spaceage-api-go into main 2026-09-29 16:13:30 -07:00 AGit
Owner

Switch SpaceAge API to the Go rewrite (SpaceAge/space_age_api#87).

  • Bump the spaceage-api input to badcb0d (Go rewrite merged)
  • spaceage/api.nix: drop ExecStop/ExecReload (Elixir release commands) and run space_age_api migrate as ExecStartPre

Everything else stays the same: the binary path, the port (4000), the env vars (MYSQL_SOCKET/MYSQL_DATABASE/MYSQL_USERNAME from the mysql module, SECRET_KEY_BASE from sops) and the database schema. The migration step is a no-op on the existing DB, since it shares Ecto's schema_migrations table.

Verified:

  • islandfox evaluates, and pkgs.space_age_api builds to the Go binary
  • The Go MySQL driver connects over the socket with MariaDB unix_socket auth and no password (how ensureUsers sets up users)
  • nixfmt-tree --ci passes

Merging this deploys to prod.

🤖 Generated with Claude Code

Switch SpaceAge API to the Go rewrite (SpaceAge/space_age_api#87). - Bump the `spaceage-api` input to `badcb0d` (Go rewrite merged) - `spaceage/api.nix`: drop `ExecStop`/`ExecReload` (Elixir release commands) and run `space_age_api migrate` as `ExecStartPre` Everything else stays the same: the binary path, the port (4000), the env vars (`MYSQL_SOCKET`/`MYSQL_DATABASE`/`MYSQL_USERNAME` from the mysql module, `SECRET_KEY_BASE` from sops) and the database schema. The migration step is a no-op on the existing DB, since it shares Ecto's `schema_migrations` table. Verified: - islandfox evaluates, and `pkgs.space_age_api` builds to the Go binary - The Go MySQL driver connects over the socket with MariaDB `unix_socket` auth and no password (how `ensureUsers` sets up users) - nixfmt-tree `--ci` passes Merging this deploys to prod. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
spaceage-api: switch to Go rewrite
All checks were successful
/ lint (pull_request) Successful in 10m0s
7339a2f3ef
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
FoxDen/core!164
No description provided.