Skip to content

Conversation

natebosch
Copy link
Member

@natebosch natebosch commented Sep 6, 2025

Follow up to #2538

This is only relevant when using the test runner as a git or path
dependency. In these cases the version will already end in -WIP with
out current development practices and in the places where it may come up
the users don't need help understanding where the code is coming from.

Closes #2535

Add a check for the `workspace_ref.json` file in place of the
`pubspec.lock` file that exists for single package pub solutions.

When the workspace ref exists, follow it and read the
`package_graph.json` file from the workspace root.
The test had been passing because the `testVersion` variable was null in
the pub workspace which matched the behavior of the test_descriptor
package within the test..
Follow up to #2538

This is only relevant when using the test runner as a git or path
dependency. In these cases the version will already end in `-WIP` with
out current development practices and in the places where it may come up
the users don't need help understanding where the code is coming from.
@natebosch natebosch changed the title drop extra version info Remove extra version info Sep 6, 2025
Copy link

github-actions bot commented Sep 6, 2025

PR Health

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

This check can be disabled by tagging the PR with skip-changelog-check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant