Phase 8: Gitea CI — runner probe + PR gating jobs (fast-checks + api) #3

Merged
luckberg merged 66 commits from gsd/phase-08-gitea-ci into main 2026-06-11 16:11:42 -04:00
Showing only changes of commit 5322cfc2b0 - Show all commits
+4 -3
View File
@@ -206,8 +206,8 @@ test.describe('harness self-validation — injected defects', () => {
'Height must be < 44px with 20px injection (proving measurement tracks rendered geometry)',
).toBeLessThan(44)
// REMOVE the injected style by navigating (page.reload drops inline style tags)
// then re-measure — must be ≥ 44px again
// REMOVE the injected style by deleting the <style> element via evaluate
// (styleHandle.evaluate(el => el.remove()) — no page reload), then re-measure — must be ≥ 44px again
await styleHandle.evaluate((el) => (el as Element).remove())
const boxAfterRemoval = await calTab.boundingBox()
expect(
@@ -247,7 +247,8 @@ test.describe('harness self-validation — injected defects', () => {
`scrollWidth (${overflowWithDefect.scrollWidth}) must be > clientWidth (${overflowWithDefect.clientWidth}) with 2000px injection (proving overflow detection works)`,
).toBeGreaterThan(overflowWithDefect.clientWidth)
// REMOVE the injected style — overflow must clear
// REMOVE the injected style by deleting the <style> element via evaluate
// (styleHandle.evaluate(el => el.remove()) — no page reload) — overflow must clear
await styleHandle.evaluate((el) => (el as Element).remove())
const overflowAfterRemoval = await page.evaluate(() => ({
scrollWidth: document.documentElement.scrollWidth,