php: lists, list and text natives and the manifest walk under PHP (slice 4B of #64) #836

Closed
opened 2026-11-16 12:30:46 +00:00 by orion · 7 comments
Collaborator

Context

Step 5 of #64 (backend: PHP), slice 4 of docs/design/PHP.md section 6, part B: storage and the walk of the manifest. Steps 1 to 4 and part A (#702, #727, #735, #761, #804; PR #809) are on main: compiler/src/backend/php/{emit,body,type,natives,witness,count,writer}.trb, runtime/php/{core,integers,int64}.php, tools/conformance.sh --php, tests/conformance/php.allow, tools/php-output.sh, tools/php-int-vectors.sh, CI job conformance-php (5.6.40, 7.4.33, 8.4). Today natives.trb maps only the shown forms of numbers, booleans and characters, torb_process_exit and the wrapping pair of UInt64; body.trb reports a ContainerNew of kind ListStorage as a finding, so every program that holds a List or builds text through the list natives stays off php.allow, and nothing proves the table complete. This issue gives PHP the list storage and the list and text natives that go with it, and the walk of the manifest with an explicit deferred list. It is the sibling of the storage half of the JavaScript slice 4B (#724; runtime/javascript/list.mjs, compiler/tests/js-natives.test.trb, tests/conformance/js.deferred).

Source

  • docs/design/PHP.md section 2.3 (FixedArray, Buffer), section 3 row K5, section 4 ("Copy on write", "Collections", "The memory limit"), section 6 row 4B and the paragraph "What slice 4A left out", section 7 (the row on the memory of a record and an Int list).
  • docs/design/JAVASCRIPT-BACKEND.md section 6 row 4B and #724 for the shape of the manifest walk and the deferred list; runtime/javascript/list.mjs and compiler/src/backend/javascript/natives.trb (listed, located, dropping, storing) as the reference of what each list symbol takes; runtime/ (the C list and text natives) as the meaning of each symbol.
  • docs/design/NATIVES.md (the manifest, nativeEntries() in compiler/src/backend/c/natives.trb).

What

php: lists, the list and text natives, and the walk of the manifest under PHP. Extend the PHP emitter and the runtime; no native is added to the manifest.

  • List storage (K5). ContainerNew of kind ListStorage becomes a PHP object that owns a growing PHP array (a small class in runtime/php/list.php, written in front of a program only if the program reaches one of its functions, like int64.php). The list natives of runtime/javascript/list.mjs get PHP forms with the same arguments: torb_list_length, get, slice, add, set, insert, remove_at, replace, reverse, clear, compact, with the bounds and reversed-range panics of the C runtime, the location argument where the C prototype takes one, the release function of the dropped elements for set, replace and clear, and the element copy for add, set and insert as the shared analysis says (PHP.md 4). The text natives that sit on the same path: torb_text_slice and torb_text_byte_at (substr and ord, the wrapped substr of 2.5; panics for a cut inside a character as in C). A map or set ContainerNew stays a named finding (epic #55).
  • MakeUnique and Write-driven rc (PHP.md section 4, "Copy on write"): decide, with the shared analysis of backend/shared/, whether a list element needs rc and MakeUnique in PHP, implement what the lists need, and pin by test that Copy of a list shares the array until the first write (the engine's copy on write, section 4) and that no PHP reference is emitted.
  • The manifest walk. A test, compiler/tests/php-natives.test.trb, walks nativeEntries() like js-natives.test.trb and fails for every entry that has no PHP form (an emitsIntrinsic intrinsic, a function of runtime/php/, a body the IR generates, a container of kind ListStorage) and is not on the explicit deferred list tests/conformance/php.deferred (pattern | tag | reason, a pattern a name or a name with one *, as js.deferred). A line that matches no remaining entry fails too, so the list shrinks as slices land. Tags: 4C the rest of the kernel natives of this slice (below), 5 floats and libm (K3, K6, Float32), 6 tasks, 8 capability table and host operations, 55 maps and sets, unassigned (Decimal, Expression, the Unicode tables), vm. Copy the JavaScript list as the starting point and correct each tag for PHP.
  • Memory figures (PHP.md section 4 end, section 7 row "The memory of a record object and a PHP array of Int on 5.6 compared with C"): a small script tools/php-memory.sh run by conformance-php prints, for 5.6.40, 7.4.33 and 8.4, memory_get_usage for 10^6 Int list elements, 10^6 byte-buffer elements and 10^5 records, next to the C sizes; the first green run's figures are copied into section 7 by hand and the row is marked pinned. The script never fails on a figure (a shared runner is noisy); it fails only if it cannot run.
  • Everything else stays as on main: hash, power, checked conversions, parsers, Char and String natives beyond the two above, the page size and Shown values are part C (below); floats, pack/unpack, tasks, maps and sets are later slices.

Decided by the loop

  • Split of slice 4B. The JavaScript 4B put the lists, the manifest walk and the whole rest of the kernel (hash, power, 8 checked conversions, 9 parsers, the Char and String natives, about 45 symbols) into one issue; for PHP that is two reviews. Part B (this issue) is storage, the two text natives on the list path, MakeUnique, the manifest walk with the deferred list and the memory figures. Part C is the rest of the natives of the kernel list of compiler/src/backend/javascript/natives.trb (kernel), the page size (Posix.configuration "PAGESIZE", K8), the narrowing conversions Int8.tryFrom and the like (named in "What slice 4A left out") and the Shown values; each is a line of php.deferred tagged 4C until then, so the walk stays green, and Part C is filed when this one is merged, just in time as the contract asks. The #64 step 5 line says so.
  • List representation. A PHP array inside a small class, not a bare array: the C list is a value with identity of its storage (the generated code passes a reference to it, ref in torb_list_add(ref, value)), and a class keeps one place for the length and the engine's copy on write. The JavaScript record chose a plain array for the same job because the engine there has one; PHP's arrays are copied on assignment, which is exactly why the object is wanted. Decided on the shape of the natives, not on a measurement; the memory figures above are recorded and the form can change without changing anything else if they are bad.
  • Memory figures are recorded, not gated. A shared runner is too noisy for a limit; a statement of section 7 that the figures contradict is amended in the same pull request and the decision that leans on it reopened (the rule of the first green run, section 7).
  • Vectors. No new vector test: the list natives are pinned by programs on the three interpreters (below). Case counts and the operand shape of tools/php-int-vectors.sh are not touched.
  • Seed. No manifest change, so no two-commit rule. PHP is not one of the seed's targets; the seed refresh stays Torben's.
  • No owner question: every item is a technical choice with no outward effect (recommendation test).

Files

  • compiler/src/backend/php/{natives,body,emit,type,writer,count}.trb (the ContainerNew case, the list symbols, takesLocation, dropsElements, storesElement, isListNative as in the JavaScript natives.trb, the write of list.php only when reached); new runtime/php/list.php; runtime/php/core.php only for shared helpers.
  • compiler/tests/php-natives.test.trb (the walk added next to the existing tests), new tests/conformance/php.deferred.
  • tools/php-memory.sh, .forgejo/workflows/gates.yml for the call in conformance-php, tools/php-output.sh (a program with no list has no list.php text; php_first.trb and the integer programs unchanged).
  • tests/conformance/php.allow and, where a program prints lists, its existing expected files unchanged; new tests/conformance/php-lists.trb with .expected, .stderr, .exit (every list native, an index out of range that panics with the location, a reversed range, a slice inside a multi-byte character, a copy that is written after the copy, a Close element dropped by set and clear); tests/php-findings/ updated (the list case removed, the map and set case stays).
  • docs/design/PHP.md: row 4B marked done with its text corrected to the split, a row 4C for part C, a "What slice 4B left out" paragraph, section 7 row for the memory figures; docs regenerated as torb docs requires.

Tests

  1. The manifest walk is green with php.deferred; adding an entry to nativeEntries() with neither a PHP form nor a line fails it, and a line that matches no entry fails it.
  2. php-lists.trb passes on the C, VM, JavaScript and PHP legs (JavaScript only if it already passes there; otherwise the PR says why) with one set of expected files, on 5.6.40, 7.4.33 and 8.4.
  3. Existing programs that need only the lists, the integers, booleans, characters and text of slices 1 to 4A build, run on the three interpreters and match the .expected, .stderr and .exit of the C leg and join php.allow; each candidate left off (map, set, Show, float, task, a part C native) is named in the PR with the finding or deferred tag. Candidates to try first, from the JavaScript 4B list: buffer-list, collect-through-wrappers, cons-stack-persists, bankers-queue, shared-top-level-const, buffer-field-derived.
  4. tools/php-output.sh: no output contains &$, = & or __destruct; a program with no list carries no list.php text; float arithmetic and a map still fail the build with a named finding and no file; php_first.trb output unchanged.
  5. tools/php-memory.sh runs on the three interpreters in conformance-php and prints the three figures with the C sizes; the figures are in PHP.md section 7.

Acceptance criteria

  • The manifest walk (php-natives.test.trb) fails for an entry with no PHP form that is not on tests/conformance/php.deferred, passes on main with the list naming only entries of tags 4C, 5, 6, 8, 55, vm and unassigned, and a stale line fails it
  • Every list native named above and torb_text_slice, torb_text_byte_at build and run on 5.6.40, 7.4.33 and 8.4; php-lists.trb passes on the C, VM, JavaScript (or the stated reason) and PHP legs with one set of expected files
  • php.allow grows by the programs listed in the PR, at least buffer-list; none is removed; each program left off is listed with its reason
  • php_first.trb and the integer programs produce the same PHP as before; a program with no list has no list.php code; the JavaScript leg is unchanged (--js with the same js.allow)
  • The memory figures of section 4 (a record, an Int list element and a byte buffer element against C) are printed by conformance-php and recorded in PHP.md section 7; the statement there is marked pinned or amended
  • Row 4B of docs/design/PHP.md marked done and split from a new row 4C, "What slice 4B left out" written; torb format --check and torb docs check green
  • tools/check-commits.sh clean; sh tools/gates.sh a and the conformance-php job green in forge CI (CI only, no local bootstrap or gates)

Seed

Compiler, runtime and tools only: no syntax change, no new native, no new std name looked up by string, no new Architecture case. Not touched: seed/, releases.

Size

One PR, one or two Conventional Commits (feat(php): ..., test(php): ...). A few hours of implementer work: the list class and its eleven natives, the two text natives, the walk with its list and the memory script. Model: sonnet, thinking high (compiler work). Out of scope: part C (the rest of the kernel natives, the page size, the narrowing conversions, Shown values), maps and sets (epic #55), floats and libm (slice 5), tasks, .nophp markers and torb test, a minifier.

Dependencies

  • #804 (closed, PR #809 merged on main).

Part of #64 (epic; do not close it).

## Context Step 5 of #64 (backend: PHP), slice 4 of `docs/design/PHP.md` section 6, **part B**: storage and the walk of the manifest. Steps 1 to 4 and part A (#702, #727, #735, #761, #804; PR #809) are on `main`: `compiler/src/backend/php/{emit,body,type,natives,witness,count,writer}.trb`, `runtime/php/{core,integers,int64}.php`, `tools/conformance.sh --php`, `tests/conformance/php.allow`, `tools/php-output.sh`, `tools/php-int-vectors.sh`, CI job `conformance-php` (5.6.40, 7.4.33, 8.4). Today `natives.trb` maps only the shown forms of numbers, booleans and characters, `torb_process_exit` and the wrapping pair of `UInt64`; `body.trb` reports a `ContainerNew` of kind `ListStorage` as a finding, so every program that holds a `List` or builds text through the list natives stays off `php.allow`, and nothing proves the table complete. This issue gives PHP the list storage and the list and text natives that go with it, and the walk of the manifest with an explicit deferred list. It is the sibling of the storage half of the JavaScript slice 4B (#724; `runtime/javascript/list.mjs`, `compiler/tests/js-natives.test.trb`, `tests/conformance/js.deferred`). ## Source - `docs/design/PHP.md` section 2.3 (`FixedArray`, `Buffer`), section 3 row K5, section 4 ("Copy on write", "Collections", "The memory limit"), section 6 row 4B and the paragraph "What slice 4A left out", section 7 (the row on the memory of a record and an `Int` list). - `docs/design/JAVASCRIPT-BACKEND.md` section 6 row 4B and #724 for the shape of the manifest walk and the deferred list; `runtime/javascript/list.mjs` and `compiler/src/backend/javascript/natives.trb` (`listed`, `located`, `dropping`, `storing`) as the reference of what each list symbol takes; `runtime/` (the C list and text natives) as the meaning of each symbol. - `docs/design/NATIVES.md` (the manifest, `nativeEntries()` in `compiler/src/backend/c/natives.trb`). ## What *php: lists, the list and text natives, and the walk of the manifest under PHP.* Extend the PHP emitter and the runtime; no native is added to the manifest. - **List storage (K5).** `ContainerNew` of kind `ListStorage` becomes a PHP object that owns a growing PHP array (a small class in `runtime/php/list.php`, written in front of a program only if the program reaches one of its functions, like `int64.php`). The list natives of `runtime/javascript/list.mjs` get PHP forms with the same arguments: `torb_list_length`, `get`, `slice`, `add`, `set`, `insert`, `remove_at`, `replace`, `reverse`, `clear`, `compact`, with the bounds and reversed-range panics of the C runtime, the location argument where the C prototype takes one, the release function of the dropped elements for `set`, `replace` and `clear`, and the element copy for `add`, `set` and `insert` as the shared analysis says (PHP.md 4). The text natives that sit on the same path: `torb_text_slice` and `torb_text_byte_at` (`substr` and `ord`, the wrapped `substr` of 2.5; panics for a cut inside a character as in C). A map or set `ContainerNew` stays a named finding (epic #55). - **`MakeUnique` and `Write`-driven `rc`** (PHP.md section 4, "Copy on write"): decide, with the shared analysis of `backend/shared/`, whether a list element needs `rc` and `MakeUnique` in PHP, implement what the lists need, and pin by test that `Copy` of a list shares the array until the first write (the engine's copy on write, section 4) and that no PHP reference is emitted. - **The manifest walk.** A test, `compiler/tests/php-natives.test.trb`, walks `nativeEntries()` like `js-natives.test.trb` and fails for every entry that has no PHP form (an `emitsIntrinsic` intrinsic, a function of `runtime/php/`, a body the IR generates, a container of kind `ListStorage`) and is not on the explicit deferred list `tests/conformance/php.deferred` (`pattern | tag | reason`, a pattern a name or a name with one `*`, as `js.deferred`). A line that matches no remaining entry fails too, so the list shrinks as slices land. Tags: `4C` the rest of the kernel natives of this slice (below), `5` floats and `libm` (K3, K6, `Float32`), `6` tasks, `8` capability table and host operations, `55` maps and sets, `unassigned` (`Decimal`, `Expression`, the Unicode tables), `vm`. Copy the JavaScript list as the starting point and correct each tag for PHP. - **Memory figures** (PHP.md section 4 end, section 7 row "The memory of a record object and a PHP array of `Int` on 5.6 compared with C"): a small script `tools/php-memory.sh` run by `conformance-php` prints, for 5.6.40, 7.4.33 and 8.4, `memory_get_usage` for 10^6 `Int` list elements, 10^6 byte-buffer elements and 10^5 records, next to the C sizes; the first green run's figures are copied into section 7 by hand and the row is marked pinned. The script never fails on a figure (a shared runner is noisy); it fails only if it cannot run. - Everything else stays as on `main`: hash, power, checked conversions, parsers, `Char` and `String` natives beyond the two above, the page size and `Show`n values are part C (below); floats, `pack`/`unpack`, tasks, maps and sets are later slices. ## Decided by the loop - **Split of slice 4B.** The JavaScript 4B put the lists, the manifest walk and the whole rest of the kernel (hash, power, 8 checked conversions, 9 parsers, the `Char` and `String` natives, about 45 symbols) into one issue; for PHP that is two reviews. Part B (this issue) is storage, the two text natives on the list path, `MakeUnique`, the manifest walk with the deferred list and the memory figures. **Part C** is the rest of the natives of the kernel list of `compiler/src/backend/javascript/natives.trb` (`kernel`), the page size (`Posix.configuration "PAGESIZE"`, K8), the narrowing conversions `Int8.tryFrom` and the like (named in "What slice 4A left out") and the `Show`n values; each is a line of `php.deferred` tagged `4C` until then, so the walk stays green, and Part C is filed when this one is merged, just in time as the contract asks. The #64 step 5 line says so. - **List representation.** A PHP array inside a small class, not a bare array: the C list is a value with identity of its storage (the generated code passes a reference to it, `ref` in `torb_list_add(ref, value)`), and a class keeps one place for the length and the engine's copy on write. The JavaScript record chose a plain array for the same job because the engine there has one; PHP's arrays are copied on assignment, which is exactly why the object is wanted. Decided on the shape of the natives, not on a measurement; the memory figures above are recorded and the form can change without changing anything else if they are bad. - **Memory figures are recorded, not gated.** A shared runner is too noisy for a limit; a statement of section 7 that the figures contradict is amended in the same pull request and the decision that leans on it reopened (the rule of the first green run, section 7). - **Vectors.** No new vector test: the list natives are pinned by programs on the three interpreters (below). Case counts and the operand shape of `tools/php-int-vectors.sh` are not touched. - **Seed.** No manifest change, so no two-commit rule. PHP is not one of the seed's targets; the seed refresh stays Torben's. - No owner question: every item is a technical choice with no outward effect (recommendation test). ## Files - `compiler/src/backend/php/{natives,body,emit,type,writer,count}.trb` (the `ContainerNew` case, the list symbols, `takesLocation`, `dropsElements`, `storesElement`, `isListNative` as in the JavaScript `natives.trb`, the write of `list.php` only when reached); new `runtime/php/list.php`; `runtime/php/core.php` only for shared helpers. - `compiler/tests/php-natives.test.trb` (the walk added next to the existing tests), new `tests/conformance/php.deferred`. - `tools/php-memory.sh`, `.forgejo/workflows/gates.yml` for the call in `conformance-php`, `tools/php-output.sh` (a program with no list has no `list.php` text; `php_first.trb` and the integer programs unchanged). - `tests/conformance/php.allow` and, where a program prints lists, its existing expected files unchanged; new `tests/conformance/php-lists.trb` with `.expected`, `.stderr`, `.exit` (every list native, an index out of range that panics with the location, a reversed range, a slice inside a multi-byte character, a copy that is written after the copy, a `Close` element dropped by `set` and `clear`); `tests/php-findings/` updated (the list case removed, the map and set case stays). - `docs/design/PHP.md`: row 4B marked done with its text corrected to the split, a row 4C for part C, a "What slice 4B left out" paragraph, section 7 row for the memory figures; docs regenerated as `torb docs` requires. ## Tests 1. The manifest walk is green with `php.deferred`; adding an entry to `nativeEntries()` with neither a PHP form nor a line fails it, and a line that matches no entry fails it. 2. `php-lists.trb` passes on the C, VM, JavaScript and PHP legs (JavaScript only if it already passes there; otherwise the PR says why) with one set of expected files, on 5.6.40, 7.4.33 and 8.4. 3. Existing programs that need only the lists, the integers, booleans, characters and text of slices 1 to 4A build, run on the three interpreters and match the `.expected`, `.stderr` and `.exit` of the C leg and join `php.allow`; each candidate left off (map, set, `Show`, float, task, a part C native) is named in the PR with the finding or deferred tag. Candidates to try first, from the JavaScript 4B list: `buffer-list`, `collect-through-wrappers`, `cons-stack-persists`, `bankers-queue`, `shared-top-level-const`, `buffer-field-derived`. 4. `tools/php-output.sh`: no output contains `&$`, `= &` or `__destruct`; a program with no list carries no `list.php` text; float arithmetic and a map still fail the build with a named finding and no file; `php_first.trb` output unchanged. 5. `tools/php-memory.sh` runs on the three interpreters in `conformance-php` and prints the three figures with the C sizes; the figures are in PHP.md section 7. ## Acceptance criteria - [ ] The manifest walk (`php-natives.test.trb`) fails for an entry with no PHP form that is not on `tests/conformance/php.deferred`, passes on `main` with the list naming only entries of tags `4C`, `5`, `6`, `8`, `55`, `vm` and `unassigned`, and a stale line fails it - [ ] Every list native named above and `torb_text_slice`, `torb_text_byte_at` build and run on 5.6.40, 7.4.33 and 8.4; `php-lists.trb` passes on the C, VM, JavaScript (or the stated reason) and PHP legs with one set of expected files - [ ] `php.allow` grows by the programs listed in the PR, at least `buffer-list`; none is removed; each program left off is listed with its reason - [ ] `php_first.trb` and the integer programs produce the same PHP as before; a program with no list has no `list.php` code; the JavaScript leg is unchanged (`--js` with the same `js.allow`) - [ ] The memory figures of section 4 (a record, an `Int` list element and a byte buffer element against C) are printed by `conformance-php` and recorded in PHP.md section 7; the statement there is marked pinned or amended - [ ] Row 4B of `docs/design/PHP.md` marked done and split from a new row 4C, "What slice 4B left out" written; `torb format --check` and `torb docs check` green - [ ] `tools/check-commits.sh` clean; `sh tools/gates.sh a` and the `conformance-php` job green in forge CI (CI only, no local bootstrap or gates) ## Seed Compiler, runtime and tools only: no syntax change, no new native, no new std name looked up by string, no new `Architecture` case. Not touched: `seed/`, releases. ## Size One PR, one or two Conventional Commits (`feat(php): ...`, `test(php): ...`). A few hours of implementer work: the list class and its eleven natives, the two text natives, the walk with its list and the memory script. Model: sonnet, thinking high (compiler work). Out of scope: part C (the rest of the kernel natives, the page size, the narrowing conversions, `Show`n values), maps and sets (epic #55), floats and `libm` (slice 5), tasks, `.nophp` markers and `torb test`, a minifier. ## Dependencies - #804 (closed, PR #809 merged on `main`). Part of #64 (epic; do not close it).
Author
Collaborator

[loop:torbscript] claim implement by session:loop-torbscript-836-implement until 2026-11-16T19:40:00Z
Reason: #836 is ready, one worker slot free, openPrs 3 of 8; it shares no path with #565 (ir passes) or the open PRs (PHP backend and runtime).

[loop:torbscript] claim implement by session:loop-torbscript-836-implement until 2026-11-16T19:40:00Z Reason: #836 is ready, one worker slot free, openPrs 3 of 8; it shares no path with #565 (ir passes) or the open PRs (PHP backend and runtime).
Author
Collaborator

[loop:torbscript] release by session:loop-torbscript-836-implement: the worker ended; PR #839 (loop/836-php-lists, head 658f4650) is the live path, CI and the Argus review are pending. A red job gets a fix worker on the same branch.

[loop:torbscript] release by session:loop-torbscript-836-implement: the worker ended; PR #839 (loop/836-php-lists, head 658f4650) is the live path, CI and the Argus review are pending. A red job gets a fix worker on the same branch.
Author
Collaborator

Scope amendment from PR #839 (reviewer finding). Acceptance criterion 3 is met only partly: buffer-list is not in php.allow in this slice because it reaches the kernel native torb_text_show_nested, which belongs to slice 4C (PHP.md row 4C). The criterion "at least buffer-list" therefore reads "the programs listed in PR #839; buffer-list moves to 4C". The MakeUnique item (a copy shares the array until the first write) also moves to 4C. The memory figures are now pinned in PHP.md section 7, measured by conformance-php on head 658f465.

Scope amendment from PR #839 (reviewer finding). Acceptance criterion 3 is met only partly: `buffer-list` is not in `php.allow` in this slice because it reaches the kernel native `torb_text_show_nested`, which belongs to slice 4C (PHP.md row 4C). The criterion "at least `buffer-list`" therefore reads "the programs listed in PR #839; `buffer-list` moves to 4C". The `MakeUnique` item (a copy shares the array until the first write) also moves to 4C. The memory figures are now pinned in PHP.md section 7, measured by `conformance-php` on head 658f465.
Author
Collaborator

[loop:torbscript] claim fix by session:loop-torbscript-836-fix until 2026-11-16T21:30:00Z Reason: PR #839 (head cdf65761) has red CI: tier B (linux-x64) and conformance (PHP 5.6, 7.4 and 8.4) failed in run 3187, and main had both green, so the failure is not inherited. A fix worker pushes to loop/836-php-lists.

[loop:torbscript] claim fix by session:loop-torbscript-836-fix until 2026-11-16T21:30:00Z Reason: PR #839 (head cdf65761) has red CI: `tier B (linux-x64)` and `conformance (PHP 5.6, 7.4 and 8.4)` failed in run 3187, and main had both green, so the failure is not inherited. A fix worker pushes to loop/836-php-lists.
Author
Collaborator

[loop:torbscript] release by session:loop-torbscript-836-fix: root cause of the red tier B and conformance-php jobs was tests/conformance/php-lists-close.trb failing the checker ("row is never read again", line 32); fixed in fc284b41 on loop/836-php-lists (the last append is now followed by a read of the length, output unchanged). PR #839 is the live path: CI on fc284b41 and Argus's re-requested review are pending; tier A and gates stay red from main until PR #840 lands.

[loop:torbscript] release by session:loop-torbscript-836-fix: root cause of the red `tier B` and `conformance-php` jobs was `tests/conformance/php-lists-close.trb` failing the checker ("`row` is never read again", line 32); fixed in fc284b41 on `loop/836-php-lists` (the last append is now followed by a read of the length, output unchanged). PR #839 is the live path: CI on fc284b41 and Argus's re-requested review are pending; tier A and gates stay red from main until PR #840 lands.
Author
Collaborator

[loop:torbscript] wait: PR #839 carries the fix fc284b41. conformance (PHP 5.6, 7.4 and 8.4) is green on it; tier B is still running, and tier A is red on the inherited json-schema entries that main fixed in #840 (the PR base predates that merge). The next step is Argus: review and landing once tier B is green; if tier A stays red after the landing rebase, the fix worker rebases on main. next: waiting (PR #839 tier B and Argus review)

[loop:torbscript] wait: PR #839 carries the fix fc284b41. `conformance (PHP 5.6, 7.4 and 8.4)` is green on it; `tier B` is still running, and `tier A` is red on the inherited json-schema entries that main fixed in #840 (the PR base predates that merge). The next step is Argus: review and landing once tier B is green; if tier A stays red after the landing rebase, the fix worker rebases on main. next: waiting (PR #839 tier B and Argus review)
argus closed this issue 2026-11-16 22:45:28 +00:00
Author
Collaborator

Post-merge follow-up (orion), PR #839 merged 2026-11-16 22:45 UTC as 7e267913 on main.

  • Post-merge steps: the PR has no "After merge" section; the task body names no further step. Nothing to run.
  • Live state: the code is on main. Push CI on 7e267913 was still pending at the check (ci / commit messages, gates, pdisc on push). The change ships with the next release; no deploy target for the compiler itself.
  • Not yet in a release: no tag covers this change. The release process (docs/contributing/releasing.md, "Cut a release") is calendar-driven (monthly minor on the first Tuesday, rc the Tuesday before). project.trb on main still says 0.1.0 and the newest tags are v0.1.0-rc.1 and nightlies, so the next minor's number and its rc date need checking before any tag. Recorded as the next step, not cut tonight.
  • Next step: confirm the next minor's version and rc date against releasing.md, then cut it through the normal release PR and tag. Owner: orion.
Post-merge follow-up (orion), PR #839 merged 2026-11-16 22:45 UTC as 7e267913 on main. - Post-merge steps: the PR has no "After merge" section; the task body names no further step. Nothing to run. - Live state: the code is on main. Push CI on 7e267913 was still pending at the check (`ci / commit messages`, `gates`, `pdisc` on push). The change ships with the next release; no deploy target for the compiler itself. - Not yet in a release: no tag covers this change. The release process (docs/contributing/releasing.md, "Cut a release") is calendar-driven (monthly minor on the first Tuesday, rc the Tuesday before). project.trb on main still says 0.1.0 and the newest tags are v0.1.0-rc.1 and nightlies, so the next minor's number and its rc date need checking before any tag. Recorded as the next step, not cut tonight. - Next step: confirm the next minor's version and rc date against releasing.md, then cut it through the normal release PR and tag. Owner: orion.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
torbscript/language#836
No description provided.