镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fix: restore main build and stop the macOS AOT publish timing out - #7216

Merged
thomhurst merged 2 commits into
mainfrom
fix/ci-main-build-and-macos-aot-timeout
Oct 20, 2026
Merged

thomhurst merged 2 commits into
mainfrom
fix/ci-main-build-and-macos-aot-timeout

Conversation

@thomhurst

Copy link
Copy Markdown
Owner

I went through the CI failures from the last day. Most were already fixed on main. Two problems were still open, and this PR fixes both.

1. main does not compile (CS1061)

#7195 renamed TestDetails.FailedDataRowObjects to UnreceivedDataRowObjects. #7191 merged after it and still used the old name in TestArgumentRegistrationService.TrackSkippedTestArguments:

src/TUnit.Engine/Services/TestArgumentRegistrationService.cs(54,25): error CS1061: 'TestDetails' does not contain a definition for 'FailedDataRowObjects'

Since then, CloudShop Example Tests has failed at its Build step on every push to main (runs 39408482674 and 39408696640). This PR switches the reference to the new name.

2. macOS PublishTestProjectAOTModule hits the 30-minute module timeout

Since #7131, the AOT test-app publish builds into its own artifacts tree and runs alongside the test modules. On the 3-core macOS runner it now takes 24.5–26.6 minutes even when it passes (jobs 118552950835, 118517073607, 118489901581). The default 30-minute ModularPipelines timeout killed it on six PR runs on 2026-10-20: 39364097783, 39378625835, 39380563945, 39396577708, 39399788520 and 39399993532. Before #7131 the publish took 5.5–8 minutes.

This PR sets the module's timeout to 60 minutes. The job has no timeout-minutes, so the job-level limit does not get in the way. A cheaper macOS publish (less contention) would be a better long-term fix, but the timeout stops healthy runs from failing in the meantime.

Already fixed on main (no change here)

Seen once, not fixed

  • Run 39399854072, macOS: the job exited with code 137 (SIGKILL) partway through. This is probably memory pressure from the same overlap.
  • Run 39380335858: GitVersion threw InvalidOperationException in MainlineVersionStrategy.GetCommitsWasBranchedFrom on all three OSes for a single PR push.

Validation

#7195 renamed TestDetails.FailedDataRowObjects to UnreceivedDataRowObjects,
and #7191 merged afterwards with a use of the old name, so main no longer
compiles (CS1061 in TestArgumentRegistrationService). The CloudShop Example
Tests workflow fails at its Build step on every main push since then.
Since #7131 the publish builds into its own artifacts tree and overlaps the
test modules. On the 3-core macOS runner it now takes 24-27 minutes when it
passes, and the default 30-minute ModularPipelines timeout killed it on six
.NET runs on 2026-10-20, failing those PRs' macOS jobs.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T11:12:09.898116Z 47a0e0d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 20, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 97dd3b9a-68f5-4564-aaa9-0409f3aeaf42
📥 Commits

Reviewing files that changed from the base of the PR and between 6043ab8 and 47a0e0d.

📒 Files selected for processing: 2
  • src/TUnit.Engine/Services/TestArgumentRegistrationService.cs
  • tools/TUnit.Pipeline/Modules/PublishTestProjectAOTModule.cs
+--------------------------------------------------+
| Brb...ordering more GPUs. CPUs are so last year. |
+--------------------------------------------------+
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@thomhurst
thomhurst merged commit 5523113 into main Oct 20, 2026
21 of 23 checks passed
@thomhurst
thomhurst deleted the fix/ci-main-build-and-macos-aot-timeout branch October 20, 2026 11:11
@github-actions

Copy link
Copy Markdown
Contributor

Review

Small, focused PR. I checked both changes.

  1. CS1061 fix: This switches FailedDataRowObjects to UnreceivedDataRowObjects in TestArgumentRegistrationService. On the base checkout, that is the only remaining use of the old name under src. The change is correct and restores the build.

  2. AOT publish timeout: The Configure() override with ModuleConfiguration.Create().WithTimeout(...).Build() matches the pattern in the other modules, such as CreateReleaseModule and InstallPlaywrightModule. The using is added. The comment explains why the value is 60 minutes.

Suggestions (non-blocking)

  • A 60-minute timeout hides slowdowns. If the publish regresses further, it will take an hour to fail. You could scope the longer timeout to macOS only, or keep a tracking issue for the contention fix. The PR description already calls this a stopgap, so a linked issue would keep it from becoming permanent.
  • The two unfixed items (the exit 137 and the GitVersion exception) should have issues filed, per the repo's self-improvement guidance.

LGTM.

@greptile-apps

greptile-apps Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable defects were found in either change.

Summary

This PR fixes the stale property reference that broke the engine build and gives the AOT publish module more time.

  • Skipped-test tracking checks the current row-object property.
  • The AOT test app publish gets a 60-minute timeout.

Acknowledgment: thomhurst explicitly defers reducing macOS publish contention; this PR only extends the timeout.

Reviews (1) · Last reviewed commit: "ci: give the macOS AOT test-app publish ..." · Reviewed by Greptile

This branch was previously deployed

1 inactive deployment
Pull Requests — 47a0e0d2 Deployed Oct 20, 2026 by thomhurst via modularpipeline (ubuntu-latest) #20336
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant