Skip to content

chore: Investigate Unity CI Perf #716

Open

Description

Current status - 2026-11-13

OPEN: the five-minute target remains unmet. The cleanup-profiler prototype is unqualified and withdrawn from PR #754.

Manual run 43437353348 executes the selected 2021 warmup and Control/Capture/Capture/Control block, then the unchanged artifact-processing step reaches its two-minute limit. All artifact uploads for that job are skipped. License, lock and cleanup checks complete successfully. Raw trial archives are unavailable through published artifacts, so this run does not qualify timing, hierarchy or observer-overhead claims. Its original job log and failure receipt are retained locally.

The full review also identifies a capture-publication issue. The prototype remains in commit cafaa87d and local branch work/505-cleanup-profiler-prototype. Its workflow, runner, helper, tests and runbook changes are removed from the delivered PR. Artifact policies and time limits remain unchanged. No additional PR is opened.

PR #754 instead merges the independently qualified test-only SPSC maintenance repair #755 as 9f52d9ac0db9423a8c793825ffbe7d1622336f86, tree-identical to qualified head 52ffcdcc. All 37 checks complete: 34 success and three intentional skips, fresh final-head approval and no open threads. This does not qualify the withdrawn observer or close this investigation.

Default Windows framework source binding remains qualified. Local observer controls remain bounded feasibility evidence. A future native observer study needs a separately justified admissible artifact plan before another capture. Keep the failed study and all earlier stopped observations; do not call the unavailable raw data a passing qualification. No five-minute, unprofiled method-cost or causal speedup claim follows.

Evidence: .artifacts/session505/pr754-cleanup-study/failed-study-log-and-cancel-receipt.json, retained failed-2021-job.log.gz, and .artifacts/session505/pr754-spsc-final-ci/final-qualification.json for the separate delivered repair.

Prior qualification checkpoints

Current status - 2026-11-13

OPEN: the five-minute target remains unmet.

#748 merges the category-filter optimization at c8373cc1. It combines repeated negative category matches into one pattern per mode. All 38 checks on synchronized head 78d350ce passed or skipped intentionally. All twelve fresh Unity inventories preserve exact case names, multiplicity, outcomes and skip reasons. The full review found no actionable comments.

On the local installed Unity Test Framework 1.6, fixed ABBA/BAAB discovery measurements changed from 7.19-7.40 seconds to 1.56-1.79 seconds. The actual tree, modules and hook-type output stayed fixed. These are local method measurements. They do not establish a causal Windows CI saving or meet the five-minute target. Actual Windows framework binding and profiler capture with observer controls remain open.

#751 combines the source-binding change with bounded correctness project retirement. Final corrected head 4439dab583065002617e93b5a6635a93a4c40742 uses key a3ff2068 from 1,145 tracked paths, includes master fd1359e6, and passes full local tests/validation, 36 lifecycle and 30 evidence controls. Fresh full CI/review must qualify it. The first combined head exposes a retirement root-configuration omission before any deletion; the production fixture reproduces it and the exact filename fix passes ten full lifecycle-control repetitions. A separate installer transfer failure is corrected by using Microsoft's direct endpoint without changing SDK10.0.404. No third PR is opened. The original 8a30b5dc head separately finishes all 38 checks and all 12 native inventories match #750 exactly.

The schema 4 collector records identity components and canonical file-URI path fingerprints. C# 9 compilation and known-data serialization/processing controls pass. One frozen read-only host capture takes 662 ms and binds built-in UTF 1.6.0, 439 C# sources, 499 file records and three modules. All captured bytes survive the unchanged normal processor. Its original reader fails an invalid raw-flag comparison; the separately admitted canonical-identity reconciliation passes direct and processed copies without another capture or exporter change. All original failures remain retained. The separately verified actual Windows2021 snapshot binds Registry UTF1.4.6, 420 sources and three actual modules to PID11872 in f027/run43354495386; ZIP digests, every captured file, canonical identities/MVIDs and exact 3-mode case inventories verify independently. That whole job fails only at final retirement before deletion and is not counted green. Other Editor bindings and observer cost remain unqualified.

The bounded source map establishes two nested same-name cleanup markers on UTF1.4.6's instance player route, versus three scopes locally in1.6.0. Only one of eleven direct/context files is byte-identical. No local timing or marker model transfers automatically; hierarchy-aware Windows profiling and matched observer controls remain required.

#727 and #729 are merged. Standalone publishes a complete file without the unused remote sender. The isolated reports retain exact previous results and skips. #731 adds settings-lifetime cases and provides the following separate cache observation.

The prospective same-tree follow-up compares the ordinary PR run at 514d46c2 with its normal merge push run at 2007abaf. All four pairs meet the declared checks: exact tree 41db77d2, DAD runner, identical project/Library/UPM paths, resolved framework and NUnit identities, all test names/outcomes/skip reasons, sample contracts, and confirmed cleanup. The first run reported cold and the second warm in all 12 mode projects.

Unity Whole job, cold → warm Three test steps Build options → success Build success → first cleanup
2021.3 948 → 466 s 818 → 339 s 363.35 → 10.01 s 10.12 → 10.66 s
2022.3 1,034 → 461 s 902 → 338 s 438.13 → 8.57 s 12.05 → 10.19 s
6.3 1,095 → 531 s 961 → 407 s 454.39 → 9.18 s 29.20 → 30.00 s
6.5 1,214 → 528 s 1,086 → 402 s 520.13 → 9.57 s 29.74 → 29.71 s

Whole-job time excludes queueing; lock acquisition and NUnit intervals are recorded separately. The log intervals are nested within steps. This is a natural sequence with uncontrolled order and machine state. It supports a cache-state association and preserves the persistent cleanup interval; it does not identify a causal saving.

Next evidence: bind the resolved runner framework, then measure build return and cleanup with profiler hierarchy and matched observer controls. The local source study shows repeated discovery in 1.6.0 but does not attribute runner time. The three cleanup scopes share a marker name, so a frame sum cannot separate them. Keep all test outcomes and cleanup. Direct shared-project and Editor-writer transplants remain parked. Ordinary success does not repair #701 or qualify shipping.

Receipts: .artifacts/session500/post-731-master/natural-2007abaf/716-cold-warm-comparison.json and .artifacts/session500/716-cleanup-scan/profiler-capture-feasibility.json.

A sibling repo, "unity-helpers", has been making a lot of progress on optimizing its test/CI runtime. We should look into the techniques being done there to see if we can speed up our CI time. Goal is <5min per editor version, without losing coverage.

Activity

  1. wallstop commented on Nov 8, 2026

    @wallstop
    CollaboratorAuthor

    Investigation started against master b3b44db (runtime tree from #693). Question: which unchanged-coverage CI costs prevent <5 minutes per editor, and which unity-helpers techniques apply? Baseline: retain successful post-merge step timestamps; report organization-lock wait separately. Hypothesis: repeated editor startup/import/build setup dominates useful test execution; sibling batching/cache techniques may reduce it. RED: current per-editor execution exceeds 300 seconds. GREEN: unchanged assemblies/scenarios/assertions/shipping cells, successful cleanup, measured per-editor execution below 300 seconds. Stop rule: do not adopt a candidate without comparable coverage and end-to-end measurements; retain rejected/inconclusive candidates. Evidence: ignored .artifacts/ci-perf-716/ and durable findings here. Dependency inventory runs alongside this investigation.

  2. wallstop commented on Nov 8, 2026

    @wallstop
    CollaboratorAuthor

    Baseline retained from successful post-merge run 42430291495, all four editors on DAD-MACHINE. EditMode / PlayMode / Standalone step seconds: 2022.3.45f1 = 80/164/188 (432 total); 2021.3.45f1 = 140/164/191 (495); 6000.5.2f1 = 182/208/220 (610); 6000.3.16f1 = 105/189/220 (514). This is one successful observation, not a calibrated performance claim. These sums exclude lock wait and all reporting overhead. The 6000.5 leg verified 1055 EditMode cases (1040 pass, 15 skip), 30870 PlayMode pass and 30866 Standalone pass. Under-five-minute acceptance remains unmet.

    Sibling source inspected at unity-helpers 6ac0438ba3051374ab9d4a765ed518ce669adc99. Existing shared techniques: runner-local Library/package caches and split standalone build/player result delivery. A concrete difference is Set-EphemeralProjectContent: it avoids writes for unchanged generated compiler inputs. DxMessaging still unconditionally writes Assets/csc.rsp and Assets/Editor/DxmCiTestConfigurator.cs. Candidate: preserve those files when content is identical, with case-sensitive comparison so case-only compiler changes still apply. RED/GREEN check: real GenerateOnly warm rerun must preserve their mtimes and repair changed content; full script suite and native CI retain coverage. Runtime savings remain unmeasured until a comparable run.

  3. wallstop commented on Nov 8, 2026

    @wallstop
    CollaboratorAuthor

    Candidate local RED/GREEN: actual warm GenerateOnly regression failed on unchanged csc.rsp mtime at baseline; candidate passes unchanged-input timestamps plus case-only input repair. No test selection or production package source changes. Full script suite and native comparison remain pending.

    Sibling investigation verdicts: unity-helpers #705 documents smaller fixture setup with explicit transition assertions, grouped modes, separate hosted compile phases, and queue-entry scheduling. This repository already groups modes and uses separate scope-local Library caches. Shared EditMode/PlayMode projects are deferred: the sibling found only 7.895s second-import cost in its same-host pair and retained isolation. Shallow export checkout saves a separate export path, not this issue's per-editor test target. Scheduling can improve queue latency but does not reduce these 432–610 seconds of test-mode execution. The retained-input candidate is bounded; no <300s or repeatable speedup claim follows from the timestamp check.

  4. wallstop commented on Nov 8, 2026

    @wallstop
    CollaboratorAuthor

    Downloaded baseline 6000.5 PlayMode artifact 13599892680 (run 42430291495) through the connector. Its NUnit XML reports 30,870/30,870 passing cases and 70.1995816s duration within the 208s workflow step. Initial Asset Pipeline Refresh observations: compiler-inputs.log 16.617s; unity.log 10.433s. Thus suite execution and end-to-end step overhead must remain separate. Highest accumulated fixture durations: TokenCleanupSnapshotOwnershipTests 11.316s/9180 cases, MessagingComponentLifecycleTests 4.831s/550 cases, ReflexiveTests 3.924s/45 cases. These are descriptive single-run costs, not permission to drop cases. Raw artifact and derived fixture costs retained under .artifacts/ci-perf-716/.

  5. wallstop commented on Nov 8, 2026

    @wallstop
    CollaboratorAuthor

    Related coverage-preservation check: inspection found the sample cache uses PowerShell's case-insensitive -ne comparison both before copying and when verifying copied source. A source change differing only in case can therefore leave the old sample compiled on a warm project. Hypothesis: case-sensitive comparisons preserve exact authored source without rewriting identical content. RED: change fake sample input only in case, rerun the actual GenerateOnly harness and require identical copied text. GREEN: that case plus unchanged compiler-input timestamps and stale-file removal all pass; full script/native coverage stays mandatory. This is cache correctness, not a timing claim.

  6. wallstop commented on Nov 8, 2026

    @wallstop
    CollaboratorAuthor

    Baseline coverage retention is prepared for the candidate comparison: all 12 result artifacts from successful run 42430291495 were downloaded and their SHA-256 digests match GitHub metadata. Retained every test-case fullname/outcome in .artifacts/ci-perf-716/baseline-native-leaves.json plus original ZIPs. Per-version EditMode = 1055 total/1040 pass/15 existing skips; PlayMode/Standalone = 30871/30867 pass for 2021.3, 2022.3 and 6000.3, and 30870/30866 for 6000.5. Zero failures. NUnit durations summed across modes: 2021.3 = 182.910s, 2022.3 = 183.085s, 6000.3 = 183.471s, 6000.5 = 180.421s; workflow mode steps take 432–610 seconds. Preserve both clocks and compare every prior passing leaf after candidate CI. The five-minute target remains open.

  7. wallstop commented on Nov 8, 2026

    @wallstop
    CollaboratorAuthor

    PR #718 review identified a missing real-world warm state. Editor/SetupCscRsp.cs appends -additionalfile:"Assets/Editor/DxMessaging.BaseCallIgnore.txt" after preparing compiler inputs. The generated CI option list omits it, so the next harness run removes it and preparation re-adds it. Adding a regression that creates the managed sidecar and response-file option before the warm rerun. Proposed correction: include the canonical managed option when its sidecar exists while still regenerating all requested compiler settings. Cold projects without a sidecar retain their existing preparation path. No preparation gate will be removed.

  8. wallstop commented on Nov 8, 2026

    @wallstop
    CollaboratorAuthor

    Additional investigation before implementation: the generated host always installs com.unity.test-framework.performance 3.6.0. Repository search finds no C# source using Unity.PerformanceTesting; only two Editor asmdef references remain. Baseline logs show its TestRunBuilder prebuild/postbuild hooks and long gaps around those hooks. Hypothesis: remove the unused package and assembly references while retaining every selected assembly/case, custom measurement window, allocation probe and result gate. RED: generated-host contract must reject the unused dependency, and native baseline identities are frozen. GREEN: generated manifests omit it, all tests still compile, script/docs/package checks pass, native comparison preserves every prior passing leaf, and observed timing is reported separately. Stop if any API/reference or real coverage dependency is found. No timeout, assertion or category reduction is proposed.

  9. wallstop commented on Nov 8, 2026

    @wallstop
    CollaboratorAuthor

    Further warm-project correctness question before candidate: the standalone and shipping helper loops still compare generated C#/asmdef text with PowerShell's case-insensitive -ne, unlike the corrected compiler-input writer. Hypothesis: a case-only helper edit survives regeneration and can leave invalid C# identifiers or stale case-sensitive values in a cached standalone project. RED protocol: expand the existing actual GenerateOnly fixture across EditMode and Standalone; preserve each helper timestamp on an unchanged warm generation, uppercase the generated standalone helpers, regenerate and require exact canonical content. Keep existing sample, sidecar, ownership, cache and dependency assertions. GREEN candidate, only if reproduced: reuse the existing case-sensitive compiler-input writer for these compiler helpers, preserving trailing-EOL tolerance and all generation/configuration behavior. No new wrapper, timing threshold change, source cache invalidation override, or shipping acceptance claim. Evidence .artifacts/ci-perf-716/ and /tmp/dxm-716-standalone-case-{red,green}.log.

  10. wallstop commented on Nov 8, 2026

    @wallstop
    CollaboratorAuthor

    First-head native observations retained, including the unfavorable result. At e0b1e69 / run 42439767657, the 2021.3 and 2022.3 EditMode, PlayMode and Standalone archives are downloaded and SHA-256 verified. Comparing every baseline full test name, result and skip label shows zero additions, removals or outcome changes in all six scopes (Editor 1,040 PASS + same 15 skips; PlayMode 30,871 PASS; Standalone 30,867 PASS per version).

    2021.3 test-mode steps total 333s (86 + 114 + 133), versus baseline 495s. The 2022.3 job's decoded log boundaries total about 595.533s (93.603 + 127.977 + 373.952), versus baseline 432s; its IL2CPP build interval alone is 264.740s. This is not a uniform speedup. Both baseline jobs ran on DAD-MACHINE and these jobs ran on ELI-MACHINE, so runner/cache/build state confounds any causal timing conclusion. Queue/upload/reporting time is excluded. The five-minute target is not met and this issue stays open. The other versions/performance jobs are still pending; this is not final-head qualification.

    Further actual standalone-helper regression is now RED/GREEN: unchanged helpers retain timestamps, case-only edits to all three generated standalone compiler inputs are repaired, and the managed sidecar option is preserved. Both parameterized actual GenerateOnly scopes pass (EditMode and Standalone), with original sample/cache/ownership checks retained and mode-specific integration contracts verified. Initial invalid fixture assumption about Standalone DI dependencies is retained separately, not counted as a product failure. Shared writer now uses ordinal comparison; duplicated insensitive helper loops are removed. Final expanded-source suite and native CI are next; no threshold relaxation or new wrapper.

  11. wallstop commented on Nov 8, 2026

    @wallstop
    CollaboratorAuthor

    Combined-head observation at 3b32641 / run 42447689088: 2021.3 and 2022.3 completed with successful cleanup and runner completion on DAD-MACHINE. All six downloaded result archives are SHA-256 verified. A fresh comparison directly from both baseline and candidate XML preserves full names, results, skip labels/reasons and multiplicity: zero additions/removals/changes. The first derived comparison was invalid because the older inventory omitted labels; it was replaced with the raw-to-raw comparison, not counted as a product difference.

    The execution target remains unmet, including unfavorable observations: 2021.3 mode steps total 693s (103/158/432), compared with baseline 495s; 2022.3 totals 823s (112/161/550), compared with baseline 432s. The 2022 standalone build log interval alone is about 404.929s. These are changed-input build observations, not a controlled speedup or a causal regression attribution. Queue, upload and reporting are excluded from those mode totals. Raw archives, job timestamps and full comparisons are retained under .artifacts/ci-perf-716/combined-*.

    PR #718's new head 0d906e3 also includes #721's excluded .NET source assembly boundary and review documentation corrections. Its full native matrix is pending; prior-head passes do not qualify it. This issue stays open.

  12. wallstop commented on Nov 8, 2026

    @wallstop
    CollaboratorAuthor

    Additional bounded native observation at prior head 0d906e3 / run 42451540185: all 12 uploaded archives are SHA-256 verified, but Unity 6.5 Standalone contains no test result because that job was cancelled when superseded. It is incomplete, not a passing scope. The other 11 XML scopes preserve every baseline full name, result, skip label/reason and multiplicity; the only additions are the declared assembly-boundary Editor regression, passing in all four versions.

    Complete mode-step totals (queue/upload/reporting excluded): 2021.3 on DAD = 416s (78/151/187), versus baseline 495s; 2022.3 on DAD = 422s (81/158/183), versus 432s; 6000.3 on ELI = 517s (58/128/331), versus DAD baseline 514s. No complete 6000.5 total is reported. These changed-input, shared-runner observations do not establish a causal optimization effect or a uniform speedup. The five-minute target remains unmet.

    The excluded SDK assembly boundary removes the unowned-source warning class: baseline 2021.3 compiler-input preparation has 33 SourceGenerators script-path warnings, versus zero in 0d. The separate 3b observation that opened #721 had 34 paths after a new SDK fixture was added. This proves warning cleanup, not a measured time saving.

    Evidence: .artifacts/ci-perf-716/boundary-{artifacts,raw-outcome-comparison.json,all-jobs.json,timing-context.json}. Latest PR #718 head 9eca4df adds the constructor fixes and completed migration guidance; its full native CI is running and remains the merge gate.

  13. wallstop commented on Nov 8, 2026

    @wallstop
    CollaboratorAuthor

    PR #718 is merged as 1b48487438a71a4f3392222eb432a857312aff61. It preserves unchanged generated compiler inputs, retains the managed sidecar, repairs case-only helper drift, removes the unused performance-testing package, and excludes .NET SDK sources from Unity compilation.

    The final-head Unity run passes all 12 modes and confirmed cleanup. All 12 ZIP digests were verified. Against baseline run 42430291495, every previous test fullname, result, label, reason, and multiplicity is preserved. Each Editor scope adds one passing assembly-boundary regression. Final totals: 251,114 passed, 60 existing skips, zero failures. No coverage was removed.

    These are sums of the three test-execution workflow step durations, excluding queue, setup, artifact processing, reporting, and cleanup:

    Editor Baseline seconds (DAD) Final seconds Final runner Final Edit / Play / Standalone seconds
    2021.3.45f1 495 404 DAD 71 / 152 / 181
    2022.3.45f1 432 529 ELI 84 / 116 / 329
    6000.3.16f1 514 875 DAD 106 / 183 / 586
    6000.5.2f1 610 553 ELI 80 / 122 / 351

    The five-minute target remains unmet. These observations do not establish a causal speed improvement: compiler/package inputs changed, cache state was not paired, and two editor scopes changed runners. The unfavorable timings are retained. Keep #716 open.

    The final performance workflow also passes: 207 internal cases, 478 comparison cases, 66 unchanged supported skips, and five profiler allocation contracts. Its report correctly omits historical throughput deltas because harness inputs changed.

    Local receipts are under ignored .artifacts/ci-perf-716/: final-coverage-summary.json, final-raw-outcome-comparison.json, final-step-timing-comparison.json, and final-artifacts/*receipt*.json. The next timing experiment needs a predeclared same-runner, matched-cache comparison; these combined-change runs are not that experiment.

  14. wallstop commented on Nov 9, 2026

    @wallstop
    CollaboratorAuthor

    Session 498 preregistration: compare unity-helpers' ShareEditorProject mechanism against actual DxMessaging generated EditMode/PlayMode inputs before adopting it. Question: can the two serial editor legs reuse an identical compiler/package input set without dropping any scope? Baseline: master 59284f4, separate mode projects; prior qualified #718 raw XML and mode-step durations remain the reference. Hypothesis: sharing may save repeat import work only if package manifests, analyzers, defines, copied samples and configurator source are compatible. RED is a reproduced input mismatch or a change to existing tests/outcomes; GREEN requires byte/hash input parity, warm timestamp preservation, unchanged full native test fullname/outcome/multiplicity, and matched runner/cache timings. Stop at incompatible inputs; do not widen packages or suppress checks just to copy the sibling technique. No native timing claim or frozen study admission follows from local GenerateOnly. Evidence under ignored .artifacts/s724-runtime-reclamation-session498/716-*. #701's failed completion hook remains unexplained; no identical native rerun is authorized by this screen.

    Read-only decomposition of the already-qualified final #718 XML gives total root test durations across three modes of 183.309s / 141.698s / 182.475s / 132.856s for 2021 / 2022 / 6.3 / 6.5 respectively, compared with mode-step totals 404 / 529 / 875 / 553s. Root durations include framework execution scope and are not CPU time or a causal overhead estimate. The remaining elapsed time includes compiler preparation, process startup and player builds. This narrows the next screen toward repeated setup/build costs while retaining every test.

  15. 88 remaining items

  16. wallstop commented on Nov 24, 2026

    @wallstop
    CollaboratorAuthor

    Question: after separating runner wait in #817's frozen 40 PR updates, which timed Unity validation phases explain the remaining active-job tail? Baseline: 39 assigned jobs observed, p95 active 682 s, 15 at or above 420 s. Hypothesis: the slow phases are spread across the Unity modes and artifact processing, and removing a single phase may still miss the active target. RED: reject a malformed or overlapping phase interval and retain skipped phases as unmeasured. GREEN: bind all phase timestamps to the frozen job identity and active window, preserve failure exits, use only disjoint EditMode/PlayMode/standalone/redaction/lock windows, and report measured work and unassigned cases by actual runner. Compare arithmetic phase-removal bounds against the unchanged five-minute-per-editor and seven-minute PR thresholds. Report scope and missing data. No new CI job, scope, cache or timeout change. Frozen #817 job cohort.

  17. wallstop commented on Nov 24, 2026

    @wallstop
    CollaboratorAuthor

    The exact #817 cohort yields 39 source-bound active Unity job records and one unassigned cancellation. All five selected phase intervals fall within the actual job clock and do not overlap. The skipped-phase, reversed-clock, and overlapping-clock controls passed. Thirty-six native jobs succeeded and three failed at the final required Unity-mode gate. Those three remain in the analysis. Only two of 39 active jobs completed in under 300 seconds.

    Phase Median p95 Maximum
    Lock acquisition 5 s 6 s 159 s
    EditMode 69 s 104 s 206 s
    PlayMode 106 s 144 s 171 s
    Standalone 73 s 379 s 686 s
    Artifact redaction 49 s 80 s 81 s
    Remaining active job time 46 s 52 s 58 s

    PlayMode is the largest selected phase on 35 of 39 jobs, including 12 of the 15 active jobs that exceed or meet 420 s. Separate ELI and DAD standalone outliers are 379 s and 686 s. Runner-level cohorts are descriptive because content, cache history and machine state vary. The optimistic replay removing each entire phase independently always misses the five-minute active p95. Even removing observed runner wait and the entire standalone phase leaves p95 536 s on the 39 measured updates. The replay leaves required gate outcomes intact and makes no proposal to remove checks. Next attribution needs matched physical build/import/test and artifact evidence. No workflow, timeout, scope, or cache change.

    Qualification SHA-256 492583c344a4c174c4b4fefff2c2a1c4bbeaf9496c4331be2ac7392cb623b559, byte-identical across two offline passes. Study registration · Source-bound #817 cohort.

  18. wallstop commented on Nov 24, 2026

    @wallstop
    CollaboratorAuthor

    Separate observed ELI standalone tail question. The same-runner #816 jobs 137407907841 and 137426502920 took 68 s and 379 s in the standalone step. The DAD 686-second outlier already has its own source-bound cache evidence. Hypothesis: the ELI difference is dominated by build/import state, with comparable actual player test time. RED: reject a mismatched archive digest, job/source mismatch or a marker sequence that cannot identify the declared phase. GREEN: bind these two exact workflow attempts, compare allocated project/cache keys and hit status, and report same-log import/build/execution markers and exact available test inventories. Keep distinct timestamps and tool/output identities. Stop if either original archive is unavailable or if source/evidence cannot bind. No native retry, cache clearing or broader host attribution.

  19. wallstop commented on Nov 24, 2026

    @wallstop
    CollaboratorAuthor

    Both ELI standalone archives and source receipts qualified. Run 45087025322 used synthetic commit e0234e0be7b9712b5cd52d9405ebcd277c38e97e; run 45092975270 used ec3e480e247cebeacee2f5d11a668ae65f3b764e. They share one base. The actual trees differ by the byte-identical sample assembly-definition and metadata renames plus an edit to Third Party Notices. Replaying the tracked path hash over each exact tree reproduces f819adba and 2e063a75. The later job reports that its Library asset database needed to be rebuilt. The XMLs have the same 32,657 passing case identities and outcomes. Both player processes exit zero with verified Normal priority and affinity 0xFFFFFFFF. Their three framework DLLs match byte for byte.

    Standalone phase Earlier ELI job Later ELI job
    Whole workflow step 68 s 379 s
    Step start to BuildPlayerOptions 26.48 s 38.67 s
    BuildPlayerOptions to build success 8.52 s 305.81 s
    Final native Tundra build, nested 5.20 s 275.97 s
    Build success to workflow step end 32.99 s 34.52 s
    NUnit run, reported separately by the player 20.18 s 20.32 s

    About 297 of the added 311 seconds fall in the build interval. This binds a second physical runner's observed tail to the build phase after the same legitimate cache-key transition already documented on DAD. It is an observational pair. The logs do not isolate a causal cache cost or a remedy. The mismatched archive and reversed marker controls were refused and both offline reports replayed identically. No native retry, cache clearing, or scope change occurred.

    Earlier archive 14780053122 SHA-256 d8d24b24c29df3f68b5a2f5fd36334a094cf27784e4207e8b4523a7661362443. Later archive 14783496006 SHA-256 e770a1c90599c412f4165daf22fb0c45daac533e92874b0b5267cd1fa4ea163b. Qualification SHA-256 6c1f21c6bc8e0f3f86daacfb712dc4e8eeb65c09361c032ee83678a8d1ef2ad5.

    Experiment registration · Earlier ELI job · Later ELI job.

  20. wallstop commented on Nov 24, 2026

    @wallstop
    CollaboratorAuthor

    Question: in PlayMode, the longest measured phase on 35 of the 39 assigned #817 jobs, how much time does NUnit itself account for? Baseline: use the exact existing #816 warm/cold pairs, ELI runs 45087025322 and 45092975270, DAD runs 45082346198 and 45090872658. Hypothesis: the PlayMode step spans materially more time than the NUnit run, and the gap will remain visible when case identities and outcomes match. RED: reject mismatched archives, malformed timing and unequal leaf inventories as evidence for a matched-case comparison. GREEN: bind each published PlayMode archive, job and source, compare all leaf outcomes, retain workflow and XML clock boundaries, then report within-pair changes without adding nested timings. Record configure import and framework evidence where present. Stop short of causal timing or policy changes if the needed boundaries are absent. No new Unity run, cache edit, test-scope or timeout change.

  21. wallstop commented on Nov 24, 2026

    @wallstop
    CollaboratorAuthor

    The four original PlayMode archives verified against their provider sizes and SHA-256 digests. All four exact workflow attempts, tested synthetic commits, runner identities and emitted Unity project path hashes bind. All four NUnit files contain the same 32,662 passing leaf identities and outcomes. All Editor logs resolve UTF 1.7.0 at the same package cache identity. The PlayMode archives lack a separate configure log or test framework DLL snapshot. Initial refresh timings below come from each PlayMode unity.log.

    Clock ELI earlier ELI later DAD earlier DAD later
    Whole PlayMode step 85 s 112 s 141 s 171 s
    NUnit-reported duration 43.65 s 49.28 s 69.11 s 69.15 s
    Step time outside reported NUnit duration 41.35 s 62.72 s 71.89 s 101.85 s
    Step start to NUnit start, whole-second clocks 28 s 47 s 50 s 80 s
    Unity initial refresh, nested 1.18 s 6.34 s 2.14 s 15.44 s

    About 21 of the 27 added seconds on ELI and 30 of the 30 added seconds on DAD fall outside NUnit's reported duration. The larger interval is before NUnit starts. Initial refresh increases on both and accounts for only part of that interval. This leaves setup, import, compilation and runner work as separate attribution questions. The warm/cold labels refer to the previously verified standalone observations in the same workflow pairs. No causal estimate, test reduction, or five-minute acceptance follows. Archive substitution, bad timing and a changed outcome with unchanged case count were all refused. The qualification replay is byte-identical.

    Qualification SHA-256 a8bfd29aed9563c1659cbad664cbe4d10f616632990c027e2d74a807a8bb835d. Case multiset SHA-256 f7a3d96cfc9138d3b6292352e5dddae192d1d94f1b904976b8a53b98ecb834e7.

    Study registration · Cohort phases · ELI standalone comparison.

  22. wallstop commented on Nov 24, 2026

    @wallstop
    CollaboratorAuthor

    Separate local redactor byte-copy experiment on master 44a613b0. Question: can the existing CLI avoid unconditional lossy UTF-8 decoding and a second full encode for clean UTF-8/Latin-1 data without changing binary detection, findings or output? Baseline: decodeText already performs the full raw-byte magic check on UTF-8/Latin-1 paths, and the current caller repeats that check after re-encoding. Hypothesis: defer lossy decoding to the existing Latin-1 branch and repeat the normalized-byte check only where NUL removal can change the bytes or UTF-16 skipped the raw check. RED: require the recheck when a NUL participates in a binary signature or a UTF-16 file takes the distinct decode path, and preserve opacity/detection tests. GREEN: verify byte roundtrip on accepted no-NUL UTF-8/Latin-1, preserve all existing findings/outputs and redactor tests, and compare fresh copies of the frozen #815 PlayMode and standalone corpora in an A/B/B/A bracket. Retain wall duration and process peak RSS. Advance only if both matched comparisons on one scope improve wall time by at least 5% or peak RSS by at least 16 MiB, with neither scope's wall time worsening more than 5% and no semantic, formatting or line-budget regression. No pattern, cap, workflow or publication change. Prior redactor profile.

  23. wallstop commented on Nov 24, 2026

    @wallstop
    CollaboratorAuthor

    The byte-copy candidate did not meet the fixed performance gate. All eight fresh-corpus scans succeeded and preserved every file byte and normalized CLI finding. All 457 maintained redaction checks passed. The independent fixture accepted 2,639 exact roundtrips across UTF-8, UTF-8 BOM, Latin-1 and both UTF-16 encodings. A deliberately omitted normalized-byte check misclassified the controlled inputs and rewrote a file that the real scanner preserves. Both NUL and UTF-16 rechecks remain in the candidate.

    Scope Wall time savings A1/B1, A2/B2 Peak RSS savings A1/B1, A2/B2
    PlayMode 2.40%, -0.19% -22.54 MiB, -19.56 MiB
    Standalone 0.23%, 0.07% 70.89 MiB, 8.17 MiB

    The 5% wall improvement did not repeat. The standalone peak RSS improvement exceeded 16 MiB in only one matched comparison. The bracket used Node 26.13.1 on Linux ARM64 and previously redacted files. It establishes no Windows worker savings or raw rewrite benefit. Keep the maintained scanner. The rejected candidate and every measurement are retained locally. No PR or hosted test was started.

    Qualification SHA-256 cc3e14c495d58ccaf2516911d68b6d989896539dfcb0f7d2ee6e3dd495c5cc5d. Prospective experiment.

  24. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    I will extend the four matched PlayMode observations to the compiler-input preparation Editor process. The earlier analysis attributed 19 and 30 seconds of extra pre-NUnit wall time on the two runners, with 5.156 and 13.294 seconds of additional test-Editor initial refresh. My hypothesis is that the separate preparation process and changed test-Editor compile work account for additional measurable intervals.

    Use only the four existing verified archives and their exact source/job records. Bind the preparation and test logs to separate invocations on the same project. Separate startup timestamps, preparation completion where available, ProjectInfo load/refresh totals, Tundra/compilation subphases and NUnit. Do not add nested clocks or treat whole-second markers as millisecond precision. RED: reject a substituted archive, wrong process/project or reversed boundary. GREEN: preserve the earlier job/fixture comparisons and independently replay the bounded phase report. Stop where clocks or source identities cannot be joined. No change to the compiler-input guard, test scopes, workflow or Unity host.

  25. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    The archived PlayMode jobs run a compiler-preparation Editor and then a test Editor for each project. The interval between their logged startup headers rose from 7 to 20 seconds on ELI and from 14 to 35 seconds on DAD. This accounts for 13 of ELI’s 19 additional pre-NUnit seconds and 21 of DAD’s 30. Workflow step start to the first Editor header stayed at 9 seconds on ELI and 10 on DAD. The remaining increase was from the test Editor header to NUnit start. The preparation PID and exact process exit clock were unavailable, so the middle interval includes handoff.

    Runner Preparation compile earlier / later Test Editor compile earlier / later
    ELI 0.34 / 6.62 s 0.31 / 5.41 s
    DAD 4.70 / 18.20 s 0.50 / 13.68 s

    In both later archives, Assets/csc.rsp was written during the preparation-to-test interval and the test Editor explicitly reports its timestamp as the reason for rebuilding the Bee DAG. Tundra then updates 38 items on each runner, compared with zero in both earlier test Editors. Both tracked compiler inputs retain the same hashes, lengths and timestamps across the test Editor in each run. The four runs retain the same 32,662 passing case identities and outcomes. Compile durations are nested in refresh and the wall intervals, so the durations cannot be added to those totals. This identifies a first-import recompile worth testing prospectively. Saved time, the behavior of an alternative and the five-minute target remain unverified.

    Substituted archive, invocation role, project and clock controls were rejected. The initial reader refused a Windows line ending at the success marker. The corrected replay is byte-identical. Evidence .artifacts/session-goal-716-compiler-preparation/, qualification SHA-256 448d2c9c2fdb68ed7a97be57ae627efde45cfc458ec2eb50a1b49060eeea6f35. Registered analysis.

  26. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    I will verify whether the clean-project compiler inputs can be staged before the first Editor opens without changing their final bytes. Use master 44a613b, the generated ordinary PlayMode options, the production sidecar header with default empty settings, and the exact before/after compiler-input hashes in the four retained archives. RED requires the unseeded response file and a nonempty ignore-list sidecar to differ from the verified clean-project inputs. GREEN requires both staged files to match every retained size and hash and a second independent reconstruction to agree. The existing preparation and capture requirements stay in place. Stop at local input feasibility if an admitted Windows Unity host is unavailable. No source or workflow change follows from bytes alone.

  27. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    The ordinary clean PlayMode compiler-input pair can be staged byte-for-byte. A source projection at 44a613b0 and a separate PowerShell reconstruction agree on the 90-byte CRLF response file and 161-byte LF empty-ignore sidecar. Both match the recorded sizes and SHA-256 hashes before and after the test Editor in all four archived runs. The response file without the additional-file option and a sidecar with a nonempty ignore list both fail the comparison. The verification replays identically.

    This is limited to a fresh standard PlayMode project with default settings and its captured Windows compiler arguments. It does not authorize seeding reused or customized projects. Keep the existing preparation Editor, marker and before/after assertions in the candidate comparison. An admitted Unity 6000.5.2f1 Windows runner is needed to compare matched fresh projects, count Bee updates and verify the same cases, compiler inputs and cleanup. This devcontainer’s Unity MCP mode is disabled. No Editor trial or timing improvement is claimed. Evidence .artifacts/session-goal-716-compiler-preseed/, qualification SHA-256 fcb9d1feeb3d1a985d5447f7ba8bca56cc5c4b35058b052f3941cb48957a9505. Registered feasibility check.

  28. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    I will prepare the actual generated-project comparison for the proven compiler inputs. Use master 44a613b0, the ordinary PlayMode assembly names and category filter, and the maintained GenerateOnly entry point for two empty projects. Keep one untouched as A. Place the verified empty ignore sidecar into B before running normal project generation again. RED requires the A response file to omit the option and a missing or altered B sidecar to fail the input check. GREEN requires a clean project file inventory with only the intended sidecar and response-file difference, unchanged re-generation for B, and a Windows newline projection matching the archived response-file hash. Freeze commands and measurements for four serial fresh projects on one admitted Unity 6000.5.2f1 Windows runner in A/B/B/A order. Keep the normal preparation, results, and cleanup. A native keep decision requires both B comparisons to avoid A’s response-file DAG rebuild, save at least five seconds from invocation to NUnit start per matched pair, and preserve all 32,662 outcomes and both compiler-input hashes. Stop on unreplicated A invalidation, drift, matching loss, or unavailable host admission. No timed result follows from local generation.

  29. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    The supported GenerateOnly command at 44a613b0 produced two identical empty PlayMode project inputs. Adding the verified sidecar to the second project and regenerating changes only Assets/csc.rsp and adds that sidecar. The baseline has 50 files and the seeded arm has 51. A subsequent generation preserves both file hashes and modification times. No project has a populated Library, resolved lock, or pre-existing settings asset. Linux generation writes LF. Projecting the same arguments to the archived Windows CRLF representation reproduces its 90-byte hash. Missing and modified sidecars and the omitted compiler option were rejected.

    The generated manifest requests Test Framework 1.4.6 in both arms. The earlier Windows runs recorded actual resolution 1.7.0, which the native comparison must verify. The 4-member local packet includes the exact sidecar, expected Windows response file, verified inventory and A/B/B/A run plan. The archive and report replay byte for byte. No Editor was launched and no time saving has been measured.

    Packet .artifacts/session-goal-716-compiler-preseed-projects/playmode-compiler-input-comparison.zip SHA-256 ee5ddd3ffe184607da3f35c5959db7b934b14344c6af26922432280315e2cd49. Qualification SHA-256 7e87ecdfdc7e4f898e76d55215b2f0dae9529d9c42e6470024fdde8b55630a28. Registered comparison.

  30. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    Four-editor timing run registered; dispatch blocked by REST quota

    The owner has authorized autonomous manual dispatch. A four-editor unity-tests.yml run is registered for master 0e626282173acbb70c0e481d3416ae0fe58f5f9a with:

    {"ref":"master","inputs":{"shipping_fidelity":"false","shipping_native_payload":"false","shipping_incremental_build":"false","consumer_install_validation":"false"}}

    The dispatch attempt at 23:05 UTC hit the GitHub REST quota (x-ratelimit-remaining: 0, reset 23:42:33 UTC). No run was started. The registration, payload and evidence directory are retained at .artifacts/session-goal-716-four-editor/registration.json.

    Next session: dispatch the payload, then collect per-editor created-to-start, total, compile/preparation, EditMode, PlayMode, standalone, redaction, upload and cleanup timings; classify cold/warm from the logs; compare with the retained ELI/DAD pairs; preserve all case inventories, artifact digests and cleanup. Do not change test scope, timeouts, cache policy or assertions. The run is a timing cohort, not a five-minute acceptance claim.

    The A/B/B/A compiler-input preseed comparison remains the separate next native experiment; it is not replaced by this four-editor cohort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions