Skip to content

test: cover scheduler edge paths to lift coverage past 95%#59

Merged
Theauxm merged 1 commit intomainfrom
test/raise-coverage-above-95
May 6, 2026
Merged

test: cover scheduler edge paths to lift coverage past 95%#59
Theauxm merged 1 commit intomainfrom
test/raise-coverage-above-95

Conversation

@Theauxm
Copy link
Copy Markdown
Member

@Theauxm Theauxm commented May 6, 2026

Summary

  • Adds direct upsert-existing and validation tests for DataContextExtensions (variance, misfire, dependent, once).
  • Covers TraxScheduler internal Untyped overloads, empty-source short-circuits, dependent-not-found rollback paths, and group trigger/cancel edge cases.
  • Exercises the dead-letter retry-metadata link in DispatchJobsJunction and the no-limit LoadAllQueued path in LoadQueuedJobsJunction.
  • Adds deterministic NSubstitute-driven tests for ManifestManagerPollingService (InMemory branch, disabled short-circuit, train-throws catch).

Repo total coverage: 91.65% -> 95.77%.

Test plan

  • dotnet build (zero warnings)
  • dotnet csharpier check .
  • dotnet test (all 1035 tests pass)
  • Local cobertura run shows project total > 95%

Adds direct tests for the previously-uncovered branches in TraxScheduler,
DataContextExtensions, DispatchJobsJunction, LoadQueuedJobsJunction, and
ManifestManagerPollingService. New fixtures hit the upsert-existing branches,
the untyped scheduler overloads and their empty-source / rollback paths,
the dead-letter retry-metadata link, the no-per-cycle-limit load path, and
the InMemory polling service loop.

Repo total coverage: 91.65% -> 95.77%.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Theauxm Theauxm merged commit e32e4d0 into main May 6, 2026
2 checks passed
@Theauxm Theauxm deleted the test/raise-coverage-above-95 branch May 6, 2026 17:04
@traxsharp
Copy link
Copy Markdown

traxsharp Bot commented May 8, 2026

This PR is included in version 1.29.0

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