Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge AssetWriterSpy functionality into SingleStepReader. #3892

Merged
merged 2 commits into from
Feb 28, 2025

Conversation

davidmorgan
Copy link
Contributor

@davidmorgan davidmorgan commented Feb 27, 2025

For #3811.

SingleStepReader becomes SingleStepReaderWriter. Use it explicitly where it makes sense, add internal-only AssetReaderWriter and use that where it makes sense. Convert from AssetReader+AssetWriter in public APIs to one AssetReaderWriter/ReaderWriter/SingleStepReaderWriter in internal APIs.

Codepath used for testing that partly simulates a build is now called out explicitly.

Copy link

github-actions bot commented Feb 27, 2025

PR Health

Changelog Entry ✔️
Package Changed Files

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

@davidmorgan davidmorgan force-pushed the remove-written-asset-reader branch 3 times, most recently from 590d5f1 to 7a51caa Compare February 28, 2025 10:30
@davidmorgan davidmorgan changed the title Remove written asset reader Merge AssetWriterSpy functionality into SingleStepReader. Feb 28, 2025
@davidmorgan davidmorgan force-pushed the remove-written-asset-reader branch from 7a51caa to b3012c6 Compare February 28, 2025 10:44
@davidmorgan davidmorgan force-pushed the remove-written-asset-reader branch from b3012c6 to b87bb92 Compare February 28, 2025 10:58
@davidmorgan davidmorgan marked this pull request as ready for review February 28, 2025 11:08
@davidmorgan davidmorgan requested a review from jensjoha February 28, 2025 11:09
),
runningBuildStep: RunningBuildStep(
phaseNumber: phaseNumber,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the blank line is weird.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Done.

@davidmorgan davidmorgan merged commit 191fabc into dart-lang:master Feb 28, 2025
17 checks passed
@davidmorgan davidmorgan deleted the remove-written-asset-reader branch February 28, 2025 13:00
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.

2 participants