Skip to content

Simplify DependencyTracker usage and enhance its performance and test coverage#18

Merged
stringintech merged 4 commits into
mainfrom
dep-tracker-cleanup
Jun 6, 2026
Merged

Simplify DependencyTracker usage and enhance its performance and test coverage#18
stringintech merged 4 commits into
mainfrom
dep-tracker-cleanup

Conversation

@stringintech

Copy link
Copy Markdown
Owner

Details included in commit messages.

The three-method sequence (BuildDependenciesForTest, BuildRequestChain,
OnTestExecuted) leaked ordering concerns into the runner. Now
OnTestExecuted handles all of that internally and returns the request
chain directly.
testUsesStatefulRefs previously re-parsed params JSON for every test in
the dep chain on each call. Now each test's result is computed once and
stored in usesStatefulRefs, so checking deps is a flat map lookup.
Consolidate four separate test functions into one for enhanced
readability and extendability.

Also extends coverage
to include a known documented limitation of the dependency tracker when unrelated state mutation might leak into a request chain.
@stringintech stringintech merged commit 0046c77 into main Jun 6, 2026
2 checks passed
@stringintech stringintech deleted the dep-tracker-cleanup branch June 6, 2026 18:41
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