Point the arcade at the live registry - #11
Merged
Conversation
DefaultURL becomes https://api.termca.de. Its own comment set the condition for this — "when that is deployed and answering, and not before, because this value is compiled into every released binary, so pointing it at a host that is not up costs a release to undo". The host now serves: /healthz answers, the catalog responds, and the deploy's health checks passed. TERMCADE_REGISTRY still overrides it, which is how a local termcade-be stack is reached now that the default is not localhost. Verified with a binary built from this commit and no configuration at all: the bundled three still list and play with no network, and a marketplace add reaches api.termca.de and comes back with that registry's own answer rather than a connection error. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DefaultURLbecomeshttps://api.termca.de.Its own comment set the condition for this change:
That condition is now met. aviorstudio/termcade-be#7 deployed the stack;
/healthzanswers, the catalog responds, and the deploy's own health checks passed.TERMCADE_REGISTRYstill overrides it, which is how a local termcade-be stack is reached now that the default is not localhost:Verification
Built from this commit, run against a clean
HOMEwith no environment overrides:termcade listaddwhile signed outaddwith a session, live hostno game aviorstudio/tetris in the marketplaceThat last line is the point: it is
api.termca.deanswering — the registry's own response about an empty catalog — not a connection error. The compiled-in default reaches production with nothing configured.go vetclean, full suite passes.Note
The catalog is empty, so a released binary can play the bundled three and browse an empty marketplace. Publishing
asteroid,tetrisandbrickoughis deliberately left out of this PR: under the current first-publish-wins model, the account that publishes them permanently claims theaviorstudionamespace, and that should be a real account rather than one created in passing.🤖 Generated with Claude Code