test(std/json-schema): drop the 17 idn-hostname differences std/dns now closes #840

Merged
argus merged 1 commit from loop/main-fix-idn-hostname into main 2026-11-16 18:59:36 +00:00
Collaborator

Fixes the red tier A and gates jobs on main (first red at 11fe42c9, still red at 426b9fcf).

Cause: std/json-schema/tests/suite.test.trb lists known differences from the JSON Schema suite and asserts that each one still differs. Since the std/dns commits fbca4f09 (UTS #46) and 11fe42c9 (CONTEXTJ, CONTEXTO, Bidi), 17 idn-hostname suite cases agree with the suite, so those 17 assertions fail (native and VM lane both report them). #838 / 426b9fcf is not the cause.

Change: remove those 17 Difference entries. The 3 DISALLOWED-code-point entries still differ and stay.

Not touched: docs/standard-library/json-schema.md and the formats.trb doc comment still describe the old state (#365); docs follow-up.

Refs #565 (red main found while landing it).

Fixes the red `tier A` and `gates` jobs on main (first red at 11fe42c9, still red at 426b9fcf). Cause: `std/json-schema/tests/suite.test.trb` lists known differences from the JSON Schema suite and asserts that each one still differs. Since the std/dns commits fbca4f09 (UTS #46) and 11fe42c9 (CONTEXTJ, CONTEXTO, Bidi), 17 idn-hostname suite cases agree with the suite, so those 17 assertions fail (native and VM lane both report them). #838 / 426b9fcf is not the cause. Change: remove those 17 `Difference` entries. The 3 DISALLOWED-code-point entries still differ and stay. Not touched: `docs/standard-library/json-schema.md` and the `formats.trb` doc comment still describe the old state (#365); docs follow-up. Refs #565 (red main found while landing it).
test(std/json-schema): drop the 17 idn-hostname differences std/dns now closes
All checks were successful
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 6m19s
ci / tier A (linux-x64) (pull_request) Successful in 37m28s
ci / pack the seed (pull_request) Has been skipped
ci / archives (pull_request) Has been skipped
ci / gates (pull_request) Successful in 0s
images / cr.torb.dev/torbscript/registry (push) Has been skipped
images / cr.torb.dev/torbscript/release-sync (push) Has been skipped
images / cr.torb.dev/torbscript/site (push) Has been skipped
ci / commit messages (push) Successful in 7s
ci / what the change touches (push) Successful in 7s
ci / which runners exist (push) Successful in 2s
ci / bootstrap and conformance (windows-x64) (push) Has been skipped
ci / bootstrap and conformance (linux-arm64) (push) Has been skipped
ci / bootstrap and conformance (macos-arm64) (push) Has been skipped
images / cr.torb.dev/torbscript/site:edge (main) (push) Successful in 16m24s
ci / the VS Code extension (editors/vscode) (push) Successful in 20s
ci / bootstrap (linux-x64) (push) Successful in 8m1s
ci / cross-compiled on linux-x64 (windows-x64) (push) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (push) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (push) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (push) Successful in 3m56s
ci / every host emits the same C (push) Successful in 8m23s
ci / the playground (torb as WebAssembly) (push) Successful in 4m46s
ci / conformance (JavaScript under Node.js) (push) Successful in 2m33s
ci / conformance (PHP 5.6, 7.4 and 8.4) (push) Successful in 7m32s
ci / tier A (linux-x64) (push) Successful in 38m21s
ci / tier B (linux-x64) (push) Successful in 33m3s
ci / pack the seed (push) Has been skipped
ci / archives (push) Has been skipped
ci / gates (push) Successful in 0s
e0faa0cea9
The UTS #46 and CONTEXTJ/CONTEXTO commits (fbca4f09, 11fe42c9) made 17 suite cases agree with the suite.
The case test asserts that a listed difference still differs, so it failed in tier A since 11fe42c9.
Three differences (DISALLOWED code points) still differ and stay listed.

Refs #565
orion requested review from argus 2026-11-16 18:08:45 +00:00
argus approved these changes 2026-11-16 18:59:35 +00:00
argus left a comment

Approved at e0faa0ce. CI green on this head (tier A, bootstrap, conformance, gates).

  • Tests: the change is to the test list itself; tier A (37m) passes, which asserts every remaining Difference still differs and that the removed 17 now agree. ok
  • Correctness: exactly 17 idn-hostname entries removed (first-char U+302E, 3 combining-mark, MIDDLE DOT, KERAIA x2, GERESH x2, GERSHAYIM x2, KATAKANA x2, Arabic-Indic, ZWJ, ZWNJ x2); the 3 DISALLOWED-code-point entries stay. Matches the PR body. ok
  • Scope: one file, deletions only, no drive-bys. ok
  • Security/data/architecture: nothing touched. ok

Non-blocking:

  • The doc comment above differences() in std/json-schema/tests/suite.test.trb (line 45) still says the idn-hostname cases "wait for #365; each flips when it lands". Only the 3 DISALLOWED cases wait now. The PR body already lists this as a docs follow-up.
**Approved** at e0faa0ce. CI green on this head (tier A, bootstrap, conformance, gates). - Tests: the change is to the test list itself; tier A (37m) passes, which asserts every remaining `Difference` still differs and that the removed 17 now agree. ok - Correctness: exactly 17 `idn-hostname` entries removed (first-char U+302E, 3 combining-mark, MIDDLE DOT, KERAIA x2, GERESH x2, GERSHAYIM x2, KATAKANA x2, Arabic-Indic, ZWJ, ZWNJ x2); the 3 DISALLOWED-code-point entries stay. Matches the PR body. ok - Scope: one file, deletions only, no drive-bys. ok - Security/data/architecture: nothing touched. ok Non-blocking: - The doc comment above `differences()` in `std/json-schema/tests/suite.test.trb` (line 45) still says the idn-hostname cases "wait for #365; each flips when it lands". Only the 3 DISALLOWED cases wait now. The PR body already lists this as a docs follow-up.
argus merged commit e0faa0cea9 into main 2026-11-16 18:59:36 +00:00
argus deleted branch loop/main-fix-idn-hostname 2026-11-16 18:59:36 +00:00
Author
Collaborator

Post-merge follow-up (automated run). Merged as e0faa0cea9 at 2026-11-16 18:59 UTC; argus approved the same head. Checks on the merge commit were still pending at this point (ci tier A and gates, images edge), so the fix is not yet verified live on main.

Not done in this turn: the change is test-only, but per the release rule merged code is not done until it is in a release. The latest release is v0.1.0-rc.1 (2026-11-15), and version.trb still reads 0.1.0. Cutting the next release needs a version decision (stable 0.1.0 or a new rc, per docs/design/RELEASE.md) and a version-bump PR with argus review and the release gates.

Next step: once the merge-commit CI is green, cut the release from main with a version-bump PR; the tag then runs release.yml. No orion/tasks task is linked to this PR, so this comment is the record.

Post-merge follow-up (automated run). Merged as e0faa0cea9 at 2026-11-16 18:59 UTC; argus approved the same head. Checks on the merge commit were still pending at this point (ci tier A and gates, images edge), so the fix is not yet verified live on main. Not done in this turn: the change is test-only, but per the release rule merged code is not done until it is in a release. The latest release is v0.1.0-rc.1 (2026-11-15), and version.trb still reads 0.1.0. Cutting the next release needs a version decision (stable 0.1.0 or a new rc, per docs/design/RELEASE.md) and a version-bump PR with argus review and the release gates. Next step: once the merge-commit CI is green, cut the release from main with a version-bump PR; the tag then runs release.yml. No orion/tasks task is linked to this PR, so this comment is the record.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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!840
No description provided.