refactor(forge): rename SpriteSession/SpriteClient to InfraSession/InfraClient#35
Open
patrickdet wants to merge 1 commit intoagentjido:mainfrom
Open
refactor(forge): rename SpriteSession/SpriteClient to InfraSession/InfraClient#35patrickdet wants to merge 1 commit intoagentjido:mainfrom
patrickdet wants to merge 1 commit intoagentjido:mainfrom
Conversation
…fraClient Decouple the Forge subsystem from the Sprites-specific naming so it can work with any infrastructure provider (Sprites, Hetzner, local fake). - SpriteSession → InfraSession, SpriteClient → InfraClient, SpriteSupervisor → InfraSupervisor - InfraClient dispatch via resolve_infra_client/1 supports :default, :fake, :live, :sprite, :hetzner, and arbitrary modules - InfraSession.init merges hetzner_config/workspace_id into the infra spec so ForgeAdapter.create receives the full config - on_progress callback now returns :ok for emit_progress with-chain - Import colocated LiveView hooks in app.js (fixes terminal input) - DB columns kept as sprite_id/sprite_name to avoid migration - Legacy :sprite_client spec key still accepted for backward compat
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.
Summary
SpriteSession→InfraSession,SpriteClient→InfraClient,SpriteSupervisor→InfraSupervisorInfraClientdispatch supports:default,:fake,:live,:sprite,:hetzner, and arbitrary modules viaresolve_infra_client/1InfraSessionto mergehetzner_config/workspace_idinto infra spec forForgeAdapter.createon_progresscallback to return:ok(required byemit_progresswith-chain)app.js(fixes terminal input on Forge show page)sprite_id/sprite_nameto avoid migration:sprite_clientspec key still accepted for backward compatTest plan
--warnings-as-errorslib/