registry-reconcile Job applies them on every install and
upgrade. Edit them to point an air-gapped install at your own index, to add or
drop a source, or to change how one is mirrored.
A workspace adds its own sources itself, without the operator; see
add a skill registry.
Prerequisites
- The chart installed as in deploy on Kubernetes, with
object storage configured. A
mirrorskills registry stores its content there during the Job; without storage credentials the Job fails that registry. - Each source reachable from the cluster: an index URL, or a GitHub repository.
Steps
List the registries
registryReconcile.registries is a list of entries, passed to the Job as
the REGISTRIES_CONFIG environment variable and read by
agentarea-api reconcile.registries in your values replaces the whole default list, so
copy the shipped entries you want to keep from the chart’s values.yaml.Change an existing registry
For a registry that already exists, the Job applies
mode, trust and
recommendation_priority and then syncs it. A changed mode clears the
stored ETag, so that sync reads the source in full: upstream to mirror
stores every skill’s content; mirror to upstream deletes nothing
already stored.The Job does not apply a changed source_url, source_type, type,
source_ref or source_path to an existing registry. To move a source,
retire the old name and add the new source under a new name.Retire a registry
external_id in a registry the same run
reconciled, if one exists; otherwise it stays, and the installed skill keeps
working and shows “Removed upstream”. Retired entries run after every
active one, so their replacements are synced first.Removing an entry from the list instead leaves the registry and its items
exactly as the last sync left them.Sync workspace registries, if you want them scheduled
--workspace-registries: it syncs every active
registry a workspace admin added, each under its own workspace. A tenant’s
failing source is recorded on that registry and reported in the log; it
does not fail the Job.The chart runs the Job on install and upgrade only and ships no schedule.
For periodic syncs, run the same command, agentarea-api reconcile --workspace-registries, with the Job’s environment from a CronJob of your
own. Concurrent runs are safe: each registry is synced under a PostgreSQL
advisory lock, and a run that finds it held skips that registry.Verify
Reconciling: <name>, then Created registry or Found existing registry, then Synced: {...} with its counts, and the run ends with
Reconcile complete: N succeeded, 0 failed. A retired one prints Retired registry: <id> (<n> items deleted). In the web app, Settings → Registries
lists them under Platform registries with their trust and last sync.
Troubleshooting
"a mirror registry stores its content in object storage"
"a mirror registry stores its content in object storage"
The Job has no storage credentials. The chart passes the same storage
variables to the Job as to the backend; check
global.storage and the
storage Secret. Or set mode: upstream for that registry."Skipped <name>: another reconcile is syncing it"
"Skipped <name>: another reconcile is syncing it"
Another run holds that registry’s lock. If no other run exists, the
database connection goes through a transaction-mode pooler, which keeps the
session lock past the run; point the Job at the database directly or at a
session-mode pooler.
A synced registry shows the old content
A synced registry shows the old content
The source’s ETag (or head commit) did not change, so it was not read again.
Run
agentarea-api reconcile --force to re-read every source.Installs or syncs of GitHub sources fail with rate-limit errors
Installs or syncs of GitHub sources fail with rate-limit errors
A platform registry has no credentials, so its GitHub API calls and every
install-time fetch of an
upstream skill are anonymous and share GitHub’s
limit of 60 requests an hour per IP address. File contents are read from
raw.githubusercontent.com, outside that limit. Prefer mirror with an
index that carries tree_sha for each skill.Related
Registry and catalog
Scope, mode, trust, pinned installs and content by digest
Add a skill registry
What a workspace admin adds on top of the platform’s
Deploy on Kubernetes
The install whose Jobs run the reconcile
Upgrades
When the Job runs again