ON-PREM CHOREO CLOUD BOTH

What it is

agent-manager-private is a private GitHub repository (wso2-enterprise/agent-manager) that keeps a copy of the open source Agent Manager code and stays level with the public repository wso2/agent-manager. When a change lands on its main branch, an automatic hand-off tells the SaaS shell repository (agent-platform) to pick it up. The SaaS shell uses the Agent Manager service code from here as a Go module dependency.

It is head office's private copy of a public recipe book. Every hour it is brought up to date from the public book, and when a page changes it sends a note to the SaaS kitchen to update its own copy.

Why it exists

Choreo Cloud runs the same core service as the open source product, wrapped in a SaaS shell. A private repository that follows the public one lets the shell receive core changes through an automated hand-off instead of copying code by hand.

How it works

  • A scheduled workflow (sync-upstream.yml) runs every hour and brings the private repository level with wso2/agent-manager.
  • When a push to main changes agent-manager-service or agent-manager-observer, the workflow cloud-handoff.yml starts the matching update workflow in wso2-enterprise/agent-platform (update-agent-manager-dep.yml for the service, update-agent-manager-observer-dep.yml for the observer).
  • The console is handed off separately, by the workflow publish-core-ui-private.yml, once its package has been published.
  • In agent-platform the update workflow pins the new commit as the version of the agent-manager-service module in the shell's go.mod, through a pull request.

Identity and access

The hand-off workflow signs in as a GitHub App, with its credentials kept as repository secrets. The token it creates is limited to the agent-platform repository and may only run workflows there.

Key facts

Repository
wso2-enterprise/agent-manager
Follows
wso2/agent-manager (hourly sync)
Hand-off workflow
cloud-handoff.yml, on pushes to main
Consumer
wso2-enterprise/agent-platform (SaaS shell)
Edition
Choreo Cloud (SaaS)

Talks to (2)

Used by (1)