fix: key Tia worker partials per process to survive batch recycling (#1782)

* fix: key Tia worker partials per process to survive batch recycling

* test(tia): refresh visual snapshots for the worker token test

---------

Co-authored-by: Punyapal Shah <53343069+MrPunyapal@users.noreply.github.com>
This commit is contained in:
Lazizbek Ergashev
2026-08-26 13:36:49 +05:00
committed by GitHub
parent fc17365bd1
commit 46df02dc28
4 changed files with 47 additions and 3 deletions
+5 -1
View File
@@ -2061,6 +2061,10 @@
✓ it accepts a page directory candidate only when it matches the casing on disk with ('wrong parent')
✓ it accepts a page directory candidate only when it matches the casing on disk with ('absent')
PASS Tests\Unit\Plugins\Tia\WorkerToken
✓ prefers the per-process UNIQUE_TEST_TOKEN over the per-slot TEST_TOKEN, so two workers recycled into the same slot get different tokens
✓ falls back to TEST_TOKEN when UNIQUE_TEST_TOKEN is absent
PASS Tests\Unit\Preset
✓ preset invalid name
✓ preset → myFramework
@@ -2251,4 +2255,4 @@
✓ pass with dataset with ('my-datas-set-value')
✓ within describe → pass with dataset with ('my-datas-set-value')
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 40 todos, 35 skipped, 1596 passed (3481 assertions)
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 40 todos, 35 skipped, 1598 passed (3485 assertions)