Skip to content

[CI triage] F# sample snapshot mismatch (dotnet/sdk#57031) #1

Open

Description

@mmitche

Automated Copilot triage run for dotnet/sdk (main), window [2026-11-10T23:08:33.756Z, 2026-11-13T23:08:33.756Z). This fork tracker links the matching upstream record dotnet/sdk#57031, which was fixed by merged dotnet/sdk#57089. Upstream was treated as read-only; this is a fork-side tracking record.

Failure

The TemplateEngineSamplesProjectTest F# sample case failed in six PR builds: the generated sample06 project did not match its checked-in snapshot. The upstream issue records the observed difference as FSharp.NET.Sdk;Microsoft.NET.Sdk in the expected project versus Microsoft.NET.Sdk in the generated project.

Possible cause

The upstream issue and its merged fix identify a moving published Microsoft.TemplateEngine.Samples package as the cause: its F# sample changed while the checked-in snapshot stayed old. PR dotnet#57089 changed the test to use the in-repository sample content and updated the snapshot; its PR description reports a passing validation build (#1678390). This run's per-build Azure timelines/logs were unavailable, so attempts, platforms, and any same-commit recovery are not independently verified. The later success followed a code change and is not treated as a retry proving flakiness.

Affected builds and PRs

PR PR target branch Build(s) Notes
dotnet/sdk#57092 main Failed 1678239 TemplateEngineSamplesProjectTest, 06-console-csharp-fsharp, sample06 --language F#; test result; platform unavailable.
dotnet/sdk#57030 main Failed 1674259 Same test/case; test result; platform unavailable.
dotnet/sdk#56967 main Failed 1674410 Same test/case; test result; platform unavailable.
dotnet/sdk#56956 main Failed 1676555 Same test/case; test result; platform unavailable.
dotnet/sdk#56732 main Failed 1674799 Same test/case; test result; platform unavailable.
dotnet/sdk#56267 main Failed 1675877 Same test/case; test result; platform unavailable.

Disposition: no new candidate patch or draft PR; the targeted upstream fix is already merged. The remaining coverage gap is Azure DevOps attempt/timeline/log access. This record was produced by an automated Copilot triage run.

Activity

  1. mmitche commented on Nov 13, 2026

    @mmitche
    OwnerAuthor

    Automated Copilot triage occurrence. Stable marker: dotnet-sdk:build:1678239:run:46785078:result:100001.

    Observed on dotnet/sdk#57092 (target main): failed build 1678239, test result 46785078/100001, TemplateEngineSamplesProjectTest, F# sample06. The result is linked from upstream dotnet/sdk#57031; platform and attempt history were not available from Azure DevOps during this run. The matching upstream fix is dotnet/sdk#57089.

  2. mmitche commented on Nov 13, 2026

    @mmitche
    OwnerAuthor

    Automated Copilot triage occurrence. Stable marker: dotnet-sdk:build:1676555:run:46729126:result:103523.

    Observed on dotnet/sdk#56956 (target main): failed build 1676555, test result 46729126/103523, TemplateEngineSamplesProjectTest, F# sample06. The result is linked from upstream dotnet/sdk#57031; platform and attempt history were not available from Azure DevOps during this run. The matching upstream fix is dotnet/sdk#57089.

  3. mmitche commented on Nov 13, 2026

    @mmitche
    OwnerAuthor

    Automated Copilot triage occurrence. Stable marker: dotnet-sdk:build:1674259:run:46664924:result:104983.

    Observed on dotnet/sdk#57030 (target main): failed build 1674259, test result 46664924/104983, TemplateEngineSamplesProjectTest, F# sample06. The result is linked from upstream dotnet/sdk#57031; platform and attempt history were not available from Azure DevOps during this run. The matching upstream fix is dotnet/sdk#57089.

  4. mmitche commented on Nov 13, 2026

    @mmitche
    OwnerAuthor

    Automated Copilot triage occurrence. Stable marker: dotnet-sdk:build:1674799:run:46682798:result:106757.

    Observed on dotnet/sdk#56732 (target main): failed build 1674799, test result 46682798/106757, TemplateEngineSamplesProjectTest, F# sample06. The result is linked from upstream dotnet/sdk#57031; platform and attempt history were not available from Azure DevOps during this run. The matching upstream fix is dotnet/sdk#57089.

  5. mmitche commented on Nov 13, 2026

    @mmitche
    OwnerAuthor

    Automated Copilot triage occurrence. Stable marker: dotnet-sdk:build:1674410:run:46673822:result:103892.

    Observed on dotnet/sdk#56967 (target main): failed build 1674410, test result 46673822/103892, TemplateEngineSamplesProjectTest, F# sample06. The result is linked from upstream dotnet/sdk#57031; platform and attempt history were not available from Azure DevOps during this run. The matching upstream fix is dotnet/sdk#57089.

  6. mmitche commented on Nov 13, 2026

    @mmitche
    OwnerAuthor

    Automated Copilot triage occurrence. Stable marker: dotnet-sdk:build:1675877:run:46713660:result:104480.

    Observed on dotnet/sdk#56267 (target main): failed build 1675877, test result 46713660/104480, TemplateEngineSamplesProjectTest, F# sample06. The result is linked from upstream dotnet/sdk#57031; platform and attempt history were not available from Azure DevOps during this run. The matching upstream fix is dotnet/sdk#57089.

  7. mmitche commented on Nov 14, 2026

    @mmitche
    OwnerAuthor

    Automated Copilot triage run (window [2026-11-11T19:51:33Z, 2026-11-14T19:51:33Z)). Marker: run:2026-11-14T19:51:33Z:upstream-link. Upstream issue: dotnet#57031. 5 in-window occurrences (builds 1678239, 1676555, 1675877, 1674799, 1674410) are already recorded above. The upstream occurrence/link comment could not be posted: GraphQL: Resource not accessible by integration (addComment).

  8. mmitche commented on Nov 16, 2026

    @mmitche
    OwnerAuthor

    Produced by an automated Copilot triage run; window [2026-11-13T22:27:50Z, 2026-11-16T22:27:50Z), LOOKBACK_DAYS=3. Related fork tracker: mmitche/sdk#1.

    Failure

    Retained checks for dotnet#57006's final head include a failed TemplateEngineSamplesProjectTest in build 1673454, hidden by its later passing check summary. This is historical evidence for a PR merged in this window, not a new post-fix failure.

    Possible cause

    The PR investigation reports the F# sample snapshot/package drift tracked here. Current source installs in-repository samples following merged dotnet#57089; I inspected that fixing diff and found no reason to duplicate it. The original console and timeline are unavailable, so that investigation's detailed signature remains historical and independently unverified in this run.

    Affected builds and PRs

    PR PR target branch Build(s) Notes
    dotnet/sdk#57006 main Failed 1673454; later passing checks 1680679 Head d12a2ad4bf57e53554d4a288a5dd92900511f7df; retained check annotations name TemplateEngineSamplesProjectTest. Exact F# result/attempt IDs and platform cannot be independently recovered.

    Decision: no change, because the causal sample-install correction is already merged. Same PR head does not establish an identical synthetic merge commit/environment or prove that the historical failure was fixed. The same build also contains independent NU1103 web-project failures: its AllWebProjectsRestoreAndBuild result must not be interpreted as the F# snapshot signature merely because Build Analysis grouped it under this issue.

    Coverage gap: Azure timelines and linked Helix evidence could not be retrieved; no precise failure frequency or retry-time estimate is asserted.

    Upstream tracking: dotnet/sdk#57031. The upstream occurrence comment failed through gh with GraphQL: Resource not accessible by integration (addComment) and through github-mcp-server with 403 Resource not accessible by integration []. The occurrence marker was verified absent after both attempts; this fork note preserves the evidence without claiming an upstream comment succeeded.

  9. MiYanni commented on Nov 17, 2026

    @MiYanni

    This was fixed in: dotnet#57089
    It is now being backported to release/11.0.1xx: dotnet#57175

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions