Repository navigation
feat(web): one installer puts any workflow package into a tenant over stock routes (CL-9526) - #1050
Merged
Merged
Conversation
TheGreatAxios
force-pushed
the
cl-9526-package-installer
branch
from
September 30, 2026 17:03
ef7d754 to
fff3e30
Compare
… stock routes (CL-9526) installPackage composes the stock asset, git-token, git push and deployments routes; identical files make no new commit and no new deployment. deployAgentSource now calls it. A hub-level e2e installs a minimal echo workflow into a fresh tenant, mails it, and checks a run is listed.
Use LightningFS instead of memfs (which needs Node's Buffer at import) and call the injected fetch unbound (window.fetch throws Illegal invocation as a method). The install e2e provides IndexedDB via fake-indexeddb.
TheGreatAxios
force-pushed
the
cl-9526-package-installer
branch
from
September 30, 2026 17:42
08de2f0 to
c019090
Compare
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.
Extracts the client-driven install path out of
agent-deploy.tsinto a genericinstallPackage(asset, git token, push, stock deploy). Re-running with identical files pushes nothing and returns the existing deployment.deployAgentSourceis now a thin caller.git-push.tstakes an injectedfetch, uses an in-memory fs, and skips the push whenmainalready holds the tree.Adds
e2e/install/: boots the hub, installs a minimal echo workflow into a fresh tenant, mails it, asserts a run is listed, and asserts a second install makes no second deployment.Resolves CL-9526