ci: add Native-AOT publish+run smoke test (#132) - #213
Merged
Conversation
Adds aot-smoke.yaml + a tiny console consumer that references Wolfgang.Etl.TestKit, exercises the async-enumerable pipeline (TestExtractor -> TestTransformer -> TestLoader) end-to-end, publishes it with PublishAot on windows-latest, and runs the native binary. Fails the PR if the library ever stops being AOT/trim-safe. Consumer is isolated via empty Directory.Build.props/.targets stubs so the throwaway fixture does not inherit library analyzer/multi-TFM policy. Ported from D20-Dice, adapted for the async pipeline surface. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
) Aligns with the fleet SHA-pin migration (#219): checkout v7.0.0 -> v7, setup-dotnet v5 -> v6, upload-artifact v4 -> v7, upload-sarif v3/v4 -> v4. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The Directory.Build.props stub blocks the repo's MSBuild analyzer policy, but .editorconfig is discovered by directory walk-up independently, so the root .editorconfig's CA2007 severity still applied to the throwaway consumer and surfaced as PR check-annotation warnings on the async awaits. Add a root=true .editorconfig so the fixture is fully exempt from repo lint. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This was referenced Jul 29, 2026
This was referenced Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #212. Adds
aot-smoke.yaml+ a tiny console consumer (aot-smoke/Wolfgang.Etl.TestKit.AotSmoke) that referencesWolfgang.Etl.TestKit, exercises the async-enumerable pipeline TestExtractor → TestTransformer → TestLoader end-to-end, publishes it withPublishAotonwindows-latest, and runs the native binary. Fails the PR if the library ever stops being AOT/trim-safe.Notes
pull_request— AOT regressions block before merge (satisfies [Maintenance] testing: Trim / AOT compatibility verification (PublishAot smoke) #132 AC).Directory.Build.props/.targetsstubs so the throwaway fixture doesn't inherit the repo's analyzer /TreatWarningsAsErrors/ multi-TFM policy (unlike D20's fully-synchronous smoke, this one is inherently async and would trip CA2007-as-error).AOT smoke OK: extracted 3, transformed 3, loaded 3(exit 0). True native-link runs in CI (Windows MSVC toolchain).Closes #132 when the vNext cycle merges to main.
🤖 Generated with Claude Code