Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pm-stack/aggregator/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ export interface Config {
/** Break-glass owner token store (#9608) — written only by the local
* owner CLI (scripts/issue-break-glass-token.ts); hashes only. */
breakGlassFile: string;
/** Outage-queued action writes (#9608, design #1253 section 6):
* writes queued unverified during an Access/IdP outage, held out
* of the actions store until a fresh login confirms the claim. */
outageQueueFile: string;
/** Source freshness invalidation journal, separate from #1739/#3321. */
freshnessFile: string;
/** Loopback-only publisher listener; never included in PM_AGG_HOSTS. */
Expand Down Expand Up @@ -251,6 +255,10 @@ export function loadConfig(env: Record<string, string | undefined> = process.env
env.PM_AGG_BREAK_GLASS_FILE,
join(homedir(), ".local", "state", "pm-aggregator", "break-glass-tokens.json"),
),
outageQueueFile: s(
env.PM_AGG_OUTAGE_QUEUE_FILE,
join(homedir(), ".local", "state", "pm-aggregator", "outage-queue.json"),
),
freshnessFile: s(env.PM_AGG_FRESHNESS_FILE, join(homedir(), ".local", "state", "pm-aggregator", "freshness.json")),
freshnessPort: parseAggregatorPort(env.PM_AGG_FRESHNESS_PORT, "PM_AGG_FRESHNESS_PORT", "4871"),
queueBrokerUrl: s(env.PM_AGG_QUEUE_BROKER_URL, "http://100.99.113.103:4801"),
Expand Down
Loading