Skip to content

Release: upgrade TUnit's pipeline to v4 to validate the migration path #7321

Closed
thomhurst/TUnit
#7702

Description

@thomhurst

Problem

The v4 migration guide and analyzer code fixes need validation against a real consumer pipeline. TUnit's production pipeline previously used ModularPipelines 3.2.8.

Acceptance

  • TUnit's pipeline builds and runs on v4 in CI on a branch.
  • Each friction point is filed here and linked from this issue.
  • Release-blocking findings are recorded in v4 stable release checklist #3997.
  • The TUnit upgrade PR is merged after 4.0.0 ships, or kept ready to merge.

Related: #3997, #5537, #5538, #5539.

Implemented

The migration and repeatable hosted validation shipped in #7354 (1997ff4), with fixture refreshes #7375, #7376 and #7377. All four local issue branches already have merged PRs; no unpublished implementation remains to recover.

#7377 merged as 9ae6fbc. The earlier blocker is cleared: .NET run 42801872408 completed successfully. Hosted fixture run 42801872391 passed for consumer d6f517675ee46e810f0d3cbda085d55ec7409c74, including compilation, the production graph, eight behavior outcomes and invalid-category exit code 1. These safe probes do not establish full product/platform/snapshot/AOT coverage.

Findings: #7353's missing migration-guide import is fixed. The MP0013 false positives (#7352) were fixed after rc.1 in #7459; no warning suppression was added. #3997 retains release findings.

Current state (2026-11-12)

TUnit #7702 is at head 4c7340acbb0132a2199a8b7141e57c2f396642ba. That head merges TUnit main, which now builds everything on the .NET 11 SDK, so the earlier scoped SDK pins and separate pipeline launch were removed. The manual package-version override now reaches every job that builds the pipeline, including nuget-package-tests-windows and both AOT workflow jobs.

Full hosted runs on that head against published 4.0.0-rc.1, publication off, passed on every job:

  • .NET 43275874751: pipeline on Ubuntu, Windows and macOS, Windows NuGet package tests, mock AOT, doc snippets.
  • AOT 43275879162: AOT and engine tests on Ubuntu, Windows and macOS.

Platform smoke was not rerun on this head; its workflow is now identical to TUnit main and does not use ModularPipelines.

Reviews on this head: Codex found no major issues, the Claude review found nothing blocking and its four suggestions have dispositions, and all review threads are resolved.

Remaining

Activity

  1. added this to the v4.0.0 milestone on Nov 1, 2026
  2. added
    enhancement
    P1
    on Nov 1, 2026
  3. added
    documentation
    on Nov 1, 2026
  4. added
    in-progress
    on Nov 10, 2026
  5. thomhurst commented on Nov 10, 2026

    @thomhurst
    OwnerAuthor

    Implemented the real consumer migration in TUnit #7702, head 9d16f127a94bb8e5416997612e277fb0896658cc. PR #7354, head 0097d35, adds a workflow pinned to that consumer commit plus a reproducible guarded validation script. It builds local packages independently of #7320. Both PRs are drafts; Codex reviews were requested for their exact heads. The consumer Claude review has a disposition on every concern.

    Local validation passed with the pinned SDK policy (resolved SDK 11.0.100-rc.2.26504.105): all four packages build; the real production pipeline and its validation executable compile; the complete production module graph validates; all eight behavior-probe outcomes match; the real entry point returns exit code 1 for an invalid category. The behavior run includes real consumer project enumeration, Git information, a generated DotNet command, dependency order, skip propagation, failure/dependency failure, continued independent work, logging and summary results. Scoped C# formatting, PowerShell parsing, actionlint, diff checks, yarn install and documentation build pass. The full TUnit test/deployment pipeline was not run locally.

    Findings filed:

    Generated caller updates include NuGet capitalization and required input constructors, tokenized template arguments, and test extension options. The guide describes those regenerated contracts. No release-blocking runtime defect was found in the exercised paths.

    This issue remains open: hosted consumer validation must pass after #7354 completes draft review, and TUnit #7702 must remain ready for the v4 release. TUnit defaults to package version 4.0.0 and must not merge before publication. The repository-wide .NET 11 SDK effect still needs the normal hosted AOT/trimming checks. No CI/review wait is labelled on-hold. A later unit should continue PR #7354 under its own lock and inspect both repositories' review surfaces. Local evidence lives under ModularPipelines-evidence/issue-7321; the workflow uploads its logs for durable CI evidence.

  6. thomhurst commented on Nov 10, 2026

    @thomhurst
    OwnerAuthor
    Re-checked the claim and recovered the completed migration branch: #7354 is merged. Continuing the linked TUnit #7702 under its own lock to address the two remaining review findings, then refresh the pinned hosted validation.
  7. thomhurst commented on Nov 10, 2026

    @thomhurst
    OwnerAuthor

    Recovered the existing migration rather than reimplementing it. #7354 is merged. Pushed fixes to both outstanding consumer findings in TUnit #7702, head 133c2c44794cd61252618b9b755ca42d79d1454e, and opened draft #7375 to refresh the hosted fixture (head bd67fbb).

    Full guarded local validation passes with fresh v4 packages, including compilation, the production graph, all eight behavior results, and invalid-category exit code 1. Scoped formatting, workflow lint and diff checks pass. The full TUnit test/deployment and AOT/trimming pipelines were not run locally. Both review threads are dispositioned and resolved; fresh Codex reviews were requested for both current heads. The issue body now records the remaining hosted-validation, review and stable-release gates. Evidence: ModularPipelines-evidence/issue-7321/scoped-sdk-validation.

    Next unit should work #7375 under pr-7375 and inspect both repositories' full review surfaces. The consumer remains draft with no auto-merge until stable 4.0.0 publication. This unit does not wait for CI or reviews.

    The later Claude review reaffirmed SDK scoping. Fixed that concern before completing this unit: root/product builds remain on stable SDK 10.0.403, and each pipeline project has its own .NET 11 SDK pin. Root solutions exclude the production pipeline; the shared action builds it separately and launches it from the root. Complete guarded validation passes with this arrangement. Explicit root/nested SDK checks and the stable-SDK source-generator build pass. Fresh current-head reviews were requested after both final pushes. No auto-merge is armed.

  8. thomhurst commented on Nov 10, 2026

    @thomhurst
    OwnerAuthor

    Recovered and advanced the existing migration. #7354 and #7375 are merged; #7375's refreshed fixture passed hosted run 42790589744. Pushed the remaining platform-smoke SDK fix and explicit failure behavior to TUnit #7702, head 0629181a43a8fa584a50896691aca0c7b0edadfb, and opened draft #7376, head 5b75ad7, to pin that consumer.

    Full guarded validation passes against fresh local v4 packages: compilation, complete production graph, eight behavior results, and invalid-category exit code 1. Scoped formatting, actionlint and diff checks pass. Root SDK remains 10.0.403; platform smoke selects its scoped RC3 pin. RC3/platform workloads are absent locally, so their execution remains hosted validation. Evidence: ModularPipelines-evidence/issue-7321/smoke-sdk-validation and TUnit-evidence/pr-7702.

    Every consumer thread is dispositioned and resolved. Current-head Claude reviews are clear of correctness blockers; optional comments have dispositions. Fresh Codex reviews were requested for both exact heads and are pending. Both PRs remain drafts and unarmed. No review or CI waiting occurs in this unit.

    Next unit should work #7376 under pr-7376, verify both current-head approvals before promotion, and obtain its hosted fixture result. TUnit #7702 must stay unmerged until stable ModularPipelines 4.0.0 publication and normal hosted product, platform smoke, snapshot and AOT/trimming validation. The migration fixture workflow validates the consumer graph and behavior; it does not execute the platform workloads or publication/release side effects. Issue #7321 remains open for those explicit acceptance gates; no premature closing reference or on-hold label was added.

  9. thomhurst commented on Nov 10, 2026

    @thomhurst
    OwnerAuthor
    Re-checked the existing claim and migration branches. The migration is already published; #7354, #7375 and #7376 are merged. #7376's exact consumer fixture passed hosted run 42795224476. Continuing this claim under the driver-owned issue-7321 lock, and TUnit #7702 under its repository's pr-7702 lock. Fixed the new Android separate-shell SDK-scope finding in consumer commit d6f517675ee46e810f0d3cbda085d55ec7409c74; refreshing the pinned fixture rather than reimplementing completed migration work.
  10. thomhurst commented on Nov 10, 2026

    @thomhurst
    OwnerAuthor

    Published the recovered migration follow-up: TUnit #7702 now contains Android action SDK-scope fix d6f517675ee46e810f0d3cbda085d55ec7409c74, and draft #7377 pins that consumer at framework head c3d4f6f. Both remote heads match local commits. #7376 is already merged, and its previous exact fixture passed hosted run 42795224476.

    A separate-shell Git Bash regression reproduces the original failure and passes after the fix, including workspace-root log placement and nonzero test exit propagation. actionlint and diff checks pass. No C# or package inputs changed; the full local-package validation was not repeated. Actual RC3 workloads/emulator execution and full product/snapshot/AOT checks remain hosted gates. Evidence: TUnit-evidence/pr-7702/android-working-directory.

    All consumer threads are resolved with commit-linked dispositions. The new current-head Claude conversation review has a disposition for all six items. Fresh Codex requests identify both exact heads; #7377's Claude review is running. Both PRs remain drafts and unarmed. Next unit should continue #7377 under pr-7377 after reviews, obtain hosted validation after policy-compliant promotion, and keep TUnit #7702 unmerged until stable 4.0.0 publication and its full hosted gates. The issue body records this state; this unit does not wait for reviews or CI.

  11. thomhurst commented on Nov 10, 2026

    @thomhurst
    OwnerAuthor

    Re-checked and continued the existing claim under the driver-owned issue-7321 lock. All issue branches already have published PRs; no valuable unpublished work remains to recover. #7354, #7375 and #7376 are merged. #7377 is ready with native auto-merge armed for c3d4f6f, after both exact-head approvals.

    Hosted migration run 42801872391 has now passed for consumer d6f517675ee46e810f0d3cbda085d55ec7409c74. It compiles the consumer and validates the production graph, eight safe behavior outcomes and invalid-category exit code 1. .NET run 42801872408 is still running. No workflow was rerun or polled, and no new code change was needed.

    Audited reviews, inline comments, GraphQL threads and conversation comments for #7377 and TUnit #7702 under their own locks. The consumer's exact-head Codex verdict is clean; the current-head Claude concerns all have dispositions, and all four threads are resolved with no later reviewer reply. No missing review request needs repeating. Updated this issue and the consumer PR body to remove stale fixture/review state.

    TUnit #7702 stays draft and unarmed until stable ModularPipelines 4.0.0 publication, then full hosted product, platform smoke, snapshot and AOT/trimming validation. The published 4.0.0-rc.1 prerelease (#7320, closed) does not satisfy that stable-version gate. The successful safe fixture does not claim those full consumer checks passed. This issue remains open; no CI/review wait is labelled on-hold. Next unit should inspect #7377's .NET result and any new readiness feedback. No new implementation validation was necessary for these GitHub metadata updates. All three locks are released at unit completion.

  12. thomhurst commented on Nov 10, 2026

    @thomhurst
    OwnerAuthor

    The earlier blocker is gone: #7377 merged as 9ae6fbc and .NET run 42801872408 passed. All four issue branches were already published through merged PRs; no work needed reimplementation.

    Resolved another route instead of deferring: pushed TUnit #7702 commit b8da4dc770523bc3d136e46521e43eccfbccab82, adding a manual package-version override restricted to non-publishing branch runs. Published 4.0.0-rc.1 successfully builds both real consumer projects and passes graph validation, eight behavior outcomes and invalid-category exit code 1. Environment binding, workflow lint and override guard regression pass. The five pre-existing documentation dependency alerts remain tracked in TUnit #7636.

    Dispatched full hosted validation on the exact new consumer head: .NET 42804841129, AOT 42804846559 and platform smoke 42804851779. The .NET run selects 4.0.0-rc.1 and disables publication. No run was polled or rerun. A fresh exact-head Codex review is requested; Claude runs automatically.

    This issue stays open for actual full hosted results and current-head review. Stable publication gates merging the consumer PR, rather than preventing this pre-release acceptance work: #3997 already depends on #7321. The RC predates post-RC fixes such as #7362, so final candidate validation must remain explicit. Next unit should inspect these three runs and all TUnit review surfaces under its own lock. The consumer stays draft and unarmed. Evidence: ModularPipelines-evidence/issue-7321/released-rc-*.log. Locks are released at unit completion.

  13. thomhurst commented on Nov 11, 2026

    @thomhurst
    OwnerAuthor

    Triage: platform smoke 42804851779 passed, but .NET 42804841129 and AOT 42804846559 failed on consumer head b8da4dc770523bc3d136e46521e43eccfbccab82. The Windows NuGet-package job and all AOT/engine-test OS jobs still restore ModularPipelines integration packages >= 4.0.0 and receive NU1102 (nearest 4.0.0-rc.1). Updated the body with the missed override paths and remaining validation criteria. This is actionable consumer workflow work, so no on-hold or publication dependency was added. No implementation, rerun, or review disposition was performed in this triage unit.

  14. removed
    in-progress
    on Nov 11, 2026
  15. thomhurst commented on Nov 12, 2026

    @thomhurst
    OwnerAuthor

    TUnit #7702 is now at 4c7340acbb: merged TUnit main (now on the .NET 11 SDK, so the scoped SDK pins are gone) and extended the package-version override to the Windows package-test and AOT jobs that were failing with NU1102.

    Full hosted runs against 4.0.0-rc.1 passed on every job: .NET 43275874751 and AOT 43275879162. Codex is clean on that head, the Claude suggestions are dispositioned and all threads are resolved.

    Left: rerun against the final release candidate (rc.1 predates fixes like #7362), and merge the TUnit PR once 4.0.0 stable is published. Body updated.

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

    P1documentationenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions