* Cache a validated adagents.json manifest into the publishers overlay and * project its properties into the property catalog. The writer runs as one * transaction with per-property savepoints, so a malformed property is * skipped without losing the rest of the manifest. * * Failure o
(domain: string, manifest: AdagentsManifest)
| 622 | * until catalog readers take over. |
| 623 | */ |
| 624 | private async cacheAdagentsManifest(domain: string, manifest: AdagentsManifest): Promise<void> { |
| 625 | try { |
| 626 | await this.publisherDb.upsertAdagentsCache({ domain, manifest }); |
| 627 | } catch (err) { |
| 628 | log.warn({ domain, err: err instanceof Error ? err.message : err }, 'Publisher cache write failed'); |
| 629 | } |
| 630 | } |
| 631 | |
| 632 | /** |
| 633 | * Record properties from adagents.json and link them to an agent. |
no test coverage detected