Skip to content

Commit 4aaaa19

Browse files
committed
fix(test/docs): unblock CI on main — known_failures + styling.md fences
origin/main has been red on the Tests workflow since v0.5.310/.314/.316 landed. Two unrelated unblockers: 1) test-parity/known_failures.json — add `test_inline_uint8array_param` (added v0.5.314, #169 fix) and `test_issue_167_loop_alloca_stack_eat` (added v0.5.316, #167 fix). Both compile-fail on macOS-14 CI runners, matching the existing test_gap_buffer_ops family pattern. Status: bug so they remain visible on the triage list. 2) docs/src/ui/styling.md — two illustrative `typescript` fences (lines 49 + 70 from the v0.5.310 inline-style doc work) showed object-literal fragments that aren't standalone programs. Tag them `typescript,no-test` to opt them out of the doc-test compile pass. The doc-test lint added in the v0.5.304 audit was rejecting them because they weren't tagged and weren't `{{#include}}` directives. This unblocks the parity + macOS doc-tests gates on every open PR.
1 parent 2adf248 commit 4aaaa19

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

docs/src/ui/styling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ for the full file.
4646

4747
Color props accept four interchangeable shapes:
4848

49-
```typescript
49+
```typescript,no-test
5050
backgroundColor: "#3B82F6" // hex 6/8
5151
backgroundColor: "#3B82F6FF" // hex with alpha
5252
backgroundColor: "blue" // named color
@@ -67,7 +67,7 @@ so `backgroundColor: someStringVar` works the same as the literal form.
6767

6868
A single number applies to all four sides; an object picks per-side:
6969

70-
```typescript
70+
```typescript,no-test
7171
padding: 12 // all four sides 12
7272
padding: { top: 8, right: 16, bottom: 8, left: 16 } // per-side
7373
```

test-parity/known_failures.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,13 @@
6262
"test_stress_promises": {
6363
"status": "bug",
6464
"reason": "Multiple distinct Promise issues remaining after v0.5.283 fix (which addressed (a) microtask FIFO ordering — TASK_QUEUE was a Vec with .pop() → LIFO; switched to VecDeque + pop_front, and (b) `.then(h)` / `.catch(h)` not catching throws inside h — microtask runner now wraps closure call in setjmp): (1) `new Promise<T>((resolve, reject) => ...)` constructor body not running (lines `constructor resolve: 99` / `constructor reject: constructor-err` missing from output); (2) `Promise.any` produces no output (any/any-all-rejected/any-errors-length lines missing); (3) `.then(p => Promise.resolve(...))` doesn't unwrap inner Promise (logs `Promise { <pending> }` instead of resolved value); (4) `.finally(() => ...).then(v => ...)` value-passing wrong (Perry: `finally value: 0`, Node: `finally value: done`)."
65+
},
66+
"test_inline_uint8array_param": {
67+
"status": "bug",
68+
"reason": "Regression test added by v0.5.314 (#169 fix in perry-transform substitute_locals). The test compiles successfully locally but compile-fails on CI runners — likely an SDK/linker version interaction shared with the test_gap_buffer_ops family. The underlying Uint8Array param substitution fix landed in 976c3eb5; this test documents the case but the CI env exhibits a separate compile-fail mode. Pair-investigate with test_issue_167_loop_alloca_stack_eat."
69+
},
70+
"test_issue_167_loop_alloca_stack_eat": {
71+
"status": "bug",
72+
"reason": "Regression test added by v0.5.316 (#167 fix hoisting js_native_call_method args alloca to entry block). Same compile-fail-on-CI / passes-locally pattern as test_inline_uint8array_param — both tests are about Buffer/Uint8Array codepaths and likely share the macOS-14 SDK gap."
6573
}
6674
}

0 commit comments

Comments
 (0)