Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Adding ignore paths to cache test #49874

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

ricardoamador
Copy link
Contributor

@ricardoamador ricardoamador commented Jan 18, 2024

Adding exclusion paths to the Mac builder_cache target to avoid archiving symlinks in the SDKs or other unwanted packages. Symlinks cause issues with the CAS archiving functionality. We have opened a bug for the LUCI team regarding this as well.

Companion CL in recipes is here: https://flutter-review.googlesource.com/c/recipes/+/54110

List which issues are fixed by this PR. You must list at least one issue.
Fixes flutter/flutter#141688

If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Copy link
Contributor

@keyonghan keyonghan left a comment

Choose a reason for hiding this comment

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

LGTM.

After this lands, let's monitor a bit and then bring the Mac builder_cache back.

@@ -130,6 +130,10 @@ targets:
"builder",
"git"
]
ignore_cache_paths: >-
Copy link
Member

Choose a reason for hiding this comment

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

Reminder to update https://github.com/flutter/cocoon/blob/main/CI_YAML.md#properties. It looks like some of the other properties might also be missing docs there?

Copy link
Contributor Author

@ricardoamador ricardoamador Jan 19, 2024

Choose a reason for hiding this comment

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

You got it! I will make sure to open that before submitting. Though this might be specific to engine_v2...

@ricardoamador
Copy link
Contributor Author

LGTM.

After this lands, let's monitor a bit and then bring the Mac builder_cache back.

Will do. I am going to run a few tests first before merging though. Will merge today before lunch.

@ricardoamador
Copy link
Contributor Author

Ran a few tests but could not get the condition of the cache needing an update. So will merge then switch back to prod after some monitoring. Leaving in staging for now is safer.

@ricardoamador ricardoamador added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 19, 2024
@auto-submit auto-submit bot merged commit 4b962f6 into flutter:main Jan 19, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 19, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jan 19, 2024
…141894)

flutter/engine@c953c83...f2b441a

2024-01-19 [email protected] Reland: Encode directly to command buffer. (flutter/engine#49821)
2024-01-19 [email protected] Roll Skia from 2536dc6fef1d to c09908c48f14 (6 revisions) (flutter/engine#49899)
2024-01-19 [email protected] [Impeller] Documentation for SurfaceContextVK (flutter/engine#49882)
2024-01-19 [email protected] Adding ignore paths to cache test (flutter/engine#49874)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
@ricardoamador ricardoamador deleted the exclude_sdks_from_archive branch February 5, 2024 18:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Engine tree closing sporadically on Mac builder_cache build
3 participants