Skip to content

Invalidate the WebStaticAssets target if the web sdk changes. - #123739

Merged
auto-submit[bot] merged 3 commits into
flutter:masterfrom
eyebrowsoffire:invalidate_canvaskit
Mar 30, 2023
Merged

Invalidate the WebStaticAssets target if the web sdk changes.#123739
auto-submit[bot] merged 3 commits into
flutter:masterfrom
eyebrowsoffire:invalidate_canvaskit

Conversation

@eyebrowsoffire

Copy link
Copy Markdown
Contributor

This fixes#123737

Since we're copying over local canvaskit, we need to invalidate it if the web sdk changes. So we need to specify the web sdk as an input artifact to this target.

@flutter-dashboardflutter-dashboardBot added the tool Affects the "flutter" command-line tool. See also t: labels. label Mar 30, 2023
@flutter-dashboard

This comment was marked as outdated.

@ditmanditman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Makes sense!

@eyebrowsoffireeyebrowsoffire added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 30, 2023
@auto-submitauto-submitBot removed the autosubmit Merge PR when tree becomes green via auto submit App label Mar 30, 2023
@auto-submit

Copy link
Copy Markdown
Contributor

auto label is removed for flutter/flutter, pr: 123739, due to - The status or check suite Linux analyze has failed. Please fix the issues identified (or deflake) before re-applying this label.

@kevmookevmoo added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 30, 2023
@auto-submit
auto-submitBot merged commit b57c59b into flutter:masterMar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
Comment on lines +515 to +517
List<Source> get inputs => const <Source>[
Source.hostArtifact(HostArtifact.flutterWebSdk),
];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No need for outputs?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Yeah, it would be slightly better with outputs, as I think it would be able to invalidate if the user manually tinkered with the output files. Maybe we could do that as a followup at some point.

engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 1, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 1, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 1, 2023
exaby73 pushed a commit to NevercodeHQ/flutter that referenced this pull request Apr 17, 2023
…ter#123739)
Invalidate the `WebStaticAssets` target if the web sdk changes.
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 10, 2023
@eyebrowsoffire
eyebrowsoffire deleted the invalidate_canvaskit branch December 12, 2025 21:57
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmitMerge PR when tree becomes green via auto submit ApptoolAffects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

framework canvaskit cache is not being cleared with engine rolls

4 participants

@eyebrowsoffire@kevmoo@ditman@mdebbar