dotnet / dotnet/msbuild

[CI logging] Add fixtures and GitHub Actions dogfood workflow

Aperta
#14,653 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Area: Logging triaged User Experience
Lingua principale
C#
Stelle
5.5k
Fork
1.5k
Merge medio
1g 13h
PR unite (30g)
133

Descrizione

### Summary

Add deterministic diagnostic fixtures and a GitHub Actions workflow for end-to-end CI logger validation.

### Background and Motivation

Unit tests can validate emitted workflow-command text, but the MVP must also prove that GitHub Actions recognizes the commands, displays annotations, and links them to the correct source locations.

The MSBuild repository is sufficient for this validation; a separate repository is not required.

### Proposed Feature

Add fixtures covering:

- compiler errors and warnings;
- an MSBuild-generated error;
- missing source locations;
- special characters and multiline messages;
- warning promotion;
- multiproject and parallel failures.

Add a locked-down GitHub Actions dogfood workflow that:

- starts as a manually triggered workflow;
- builds MSBuild first;
- runs the fixtures with bootstrap MSBuild;
- asserts expected success or failure and emitted workflow commands;
- runs on GitHub-hosted Linux and Windows;
- uses read-only permissions and no secrets.

Initial acceptance includes manual confirmation that annotations appear once and navigate to the expected repository file and location.

### Alternative Designs

A separate repository would add maintenance and version-coordination costs without improving MVP validation. Tests alone would not verify GitHub's native annotation rendering.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

No specific files or tests are named; start by locating the existing CI workflow, diagnostic logging tests, and the bootstrap MSBuild entry point in the MSBuild repository. Add deterministic fixtures and a manually triggered, read-only Linux and Windows workflow that validates expected results and workflow commands, then confirm annotations appear once and link to the expected source location.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp, github-actions
Ambito
build-system, ci-cd
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
50/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.