Skip to content

Add repo-guard meta tests#31

Merged
Theauxm merged 1 commit into
mainfrom
chore/add-repo-guard-meta-tests
May 21, 2026
Merged

Add repo-guard meta tests#31
Theauxm merged 1 commit into
mainfrom
chore/add-repo-guard-meta-tests

Conversation

@Theauxm
Copy link
Copy Markdown
Member

@Theauxm Theauxm commented May 21, 2026

Summary

Adds a Trax.Dashboard.Tests.Meta project that enforces CLAUDE.md conventions in CI: locked Directory.Build.props version, no [Ignore], no legacy Assert.*, no fixed Task.Delay (with baseline grandfathering), cross-repo Version="1.*", PascalCase test folders, AddTrax*/UseTrax* extension naming, and a PublicApiGenerator surface snapshot of Trax.Dashboard.

Test plan

  • dotnet test tests/Trax.Dashboard.Tests.Meta passes (11 tests)
  • Existing Trax.Dashboard.Tests.Integration suite still passes
  • PublicApi/Trax.Dashboard.received.txt baseline is committed and matches current API surface

Add a per-repo Tests.Meta project (Tests/ for Trax.Docs) that enforces
CLAUDE.md conventions in CI: locked Directory.Build.props version, no
[Ignore], no legacy Assert.*, no fixed Task.Delay (with baseline
grandfathering), cross-repo Version="1.*", PascalCase test folders,
AddTrax*/UseTrax* naming, and a PublicApiGenerator surface snapshot per
assembly.

Trax.Effect also gets migrations-integrity + Model<->Persistent pairing
checks. Trax.Mediator gets a runtime interface-FullName invariant test and
a DI composition smoke test. Trax.Scheduler moves
SchedulerConfigurationBuilder.Build into its own partial file to comply
with the builder convention. Trax.Docs gets em-dash / Jekyll /
link-resolves / SDK-Reference-block lints and replaces 21 pre-existing
em-dashes.

Failure messages name the CLAUDE.md section and the offender. Pre-existing
violations are grandfathered via per-test allowlists (BaselineOffenders,
KnownExceptions, KnownBrokenLinks) so CI stays green; new regressions
fail.
@Theauxm Theauxm force-pushed the chore/add-repo-guard-meta-tests branch from 08e6e28 to 31d2564 Compare May 21, 2026 21:38
@codecov
Copy link
Copy Markdown

codecov Bot commented May 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Theauxm Theauxm merged commit 278a8a9 into main May 21, 2026
2 checks passed
@Theauxm Theauxm deleted the chore/add-repo-guard-meta-tests branch May 21, 2026 21:47
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