Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(triage): describe the scheduler re-sync as config-only in the remediation text

nirholasa0bb72870207
diff --git a/scripts/gcp-triage.mjs b/scripts/gcp-triage.mjs
index 4bedcf431..f551fa2c3 100644
--- a/scripts/gcp-triage.mjs
+++ b/scripts/gcp-triage.mjs
@@ -668,7 +668,7 @@ async function probeCronDrift() {
const sample = cats.map(([label, rows]) => `${label} (${rows.length}): ${rows.slice(0, 5).map((x) => x.path || x.id).join(', ')}`).join('\n');
return { status: 'findings', note: cats.map(([l, rows]) => `${rows.length} ${l}`).join(', '), findings: [deepFinding('cron-drift', 'env-action', 'cron declarations drifted from Cloud Scheduler', {
count: cats.reduce((n, [, rows]) => n + rows.length, 0), sample,
- action: 'Re-sync Cloud Scheduler from vercel.json with node scripts/create-gcp-scheduler.mjs (config-only). A NOT ENABLED job can be a deliberate incident hold; confirm before resuming it. Invalid or duplicate declarations are code fixes in vercel.json.',
+ action: 'Re-sync Cloud Scheduler from vercel.json with node scripts/create-gcp-scheduler.mjs. That is config-only and leaves run state alone, so a missing job is created ENABLED and a mismatched schedule is corrected without disturbing the rest of the fleet. A NOT ENABLED job can be a deliberate incident hold: resume that one job by name (gcloud scheduler jobs resume cron--api-cron-<name>, note the double hyphen) rather than passing --resume, which restarts every job. Invalid or duplicate declarations are code fixes in vercel.json.',
})] };
}
diff --git a/tests/three-gate.test.js b/tests/three-gate.test.js
index 769a3e974..28249f859 100644
--- a/tests/three-gate.test.js
+++ b/tests/three-gate.test.js
@@ -243,7 +243,15 @@ describe('<three-gate> — lifecycle & states', () => {
// Progress = held_usd (10) / required min_usd (25) = 40%.
const fill = root.querySelector('.tg-prog-fill');
expect(fill.getAttribute('style')).toContain('width:40%');
- expect(root.querySelector('.tg-prog-cap').textContent).toMatch(/40% there/);
+ // The cap counts up from 0 with requestAnimationFrame (ui-juice `countUp`), so
+ // the two microtask ticks in `flush` land mid-animation whenever the machine is
+ // busy enough for a frame to fire first. Wait for the settled copy instead of
+ // racing the frame: the assertion is that it ARRIVES at "40% there", not that it
+ // skips the animation.
+ await vi.waitFor(
+ () => expect(root.querySelector('.tg-prog-cap').textContent).toMatch(/40% there/),
+ { timeout: 4000, interval: 20 },
+ );
// Get $THREE → a real Jupiter swap URL for the canonical mint.
const get = root.querySelector('[data-tg-get]');