3D engine that AI agents drive
JavaScript 3d3d-engineagentic-aiai-agentsblenderclaude-codegame-enginegaussian-splattinggltfjavascriptmcpmcp-servermodel-context-protocolpath-tracerpath-tracingpbrrenderingthreejs-alternativewebgl2webgpu
Merge remote-tracking branch 'origin/main' into 2594-test-each-file-no-match-draft-clock-wt
t1b5e16cacb4b
diff --cc tests/pr-metadata-check.test.jsindex 2e2dda95,eef25cbe..0d7acb14--- a/tests/pr-metadata-check.test.js+++ b/tests/pr-metadata-check.test.js@@@ -396,19 -396,19 +396,36 @@@ test('the CI gate fails a shipped changassert.deepEqual(failingGatesFor(['docs/a.md']), []);});+test('a draft left past the close time is reminded before it closes once it is marked ready', () => {+ const start = Date.parse('2026-11-01T00:00:00.000Z');+ const base = { contributorFixes: someFix, exempt: false, labels: [] };+ const state = { firstFailedAt: '2026-11-01T00:00:00.000Z' };+ const whileDraft = decideActions({ ...base, draft: true, previousState: state, now: start + 100 * HOUR_MS });+ assert.ok(!whileDraft.close && !whileDraft.remind);+ const readyAt = start + 101 * HOUR_MS;+ const ready = decideActions({ ...base, draft: false, previousState: whileDraft.statusState, now: readyAt });+ assert.ok(!ready.close, 'a ready PR must not close on the run that follows a long draft');+ const reminder = decideActions({ ...base, draft: false, previousState: ready.statusState, now: readyAt + REMINDER_AFTER_HOURS * HOUR_MS });+ assert.ok(reminder.remind && !reminder.close);+ const closing = decideActions({ ...base, draft: false, previousState: reminder.statusState, now: readyAt + CLOSE_AFTER_HOURS * HOUR_MS });+ assert.ok(closing.close);+ const earlyDraft = decideActions({ ...base, draft: true, previousState: state, now: start + 10 * HOUR_MS });+ assert.equal(earlyDraft.statusState.firstFailedAt, '2026-11-01T00:00:00.000Z');+});+++ test('a look change whose only picture sits inside an HTML comment still asks for a picture', () => {+ const hidden = `${withoutEvidence}<!--  -->\n`;+ const lookFiles = [file('src/shaders.js'), file('changes/12.md')];+ assert.deepEqual(fixIds({ pr: pullRequest({ body: hidden }), files: lookFiles }), ['look-without-image']);+ const visible = `${withoutEvidence}\n`;+ assert.deepEqual(fixIds({ pr: pullRequest({ body: visible }), files: lookFiles }), []);+ });++ test('GitHub also links a closing keyword followed by a colon', () => {+ for (const line of ['Closes: #12', 'Fixes: #12', 'Part of: #12', 'CLOSES: #12']) {+ const body = goodBody.replace('Closes #12', line);+ assert.deepEqual(fixIds({ pr: pullRequest({ body }), files: shippedFiles }), [], line);+ }+ const noNumber = goodBody.replace('Closes #12', 'Closes: nothing');+ assert.deepEqual(fixIds({ pr: pullRequest({ body: noNumber }), files: shippedFiles }), ['missing-issue-link']);+ });