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

Conversation

@yjbanov
Copy link
Contributor

@yjbanov yjbanov commented Oct 28, 2023

The ulimit logic has been failing for me for months now and felt still ran fine. I think we don't need it any more.

Also add the -i option for incremental runs of felt. It causes felt to start faster because it doesn't run pub get. In the future, we can also run felt from the snapshot for even faster start-up.

@github-actions github-actions bot added the platform-web Code specifically for the web engine label Oct 28, 2023
@ditman
Copy link
Member

ditman commented Oct 28, 2023

In the future, we can also run felt from the snapshot for even faster start-up.

Didn't that feature get removed because then felt would break every time the dart SDK DEPS changed? With a cryptic message about a wrong dill, or kernel (or similar)?

Copy link
Contributor

@eyebrowsoffire eyebrowsoffire left a comment

Choose a reason for hiding this comment

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

LGTM!

FWIW, I dislike the felt snapshot strategy unless we have proper change detection to invalidate the snapshot when necessary, which probably involves parsing a ninja dep file and hashing all the files, which seems like overkill. Or maybe we could flip the script somehow and use ninja to build the felt snapshot... and then felt would attempt to build itself on launch or something? Hmm... I don't know, it's tricky.

@yjbanov
Copy link
Contributor Author

yjbanov commented Oct 29, 2023

Yes, it is an issue, but in the past snapshot runs were both the default and broken. In this case I'm going for opt-in (i.e. "I know what I'm doing, and I always know to fallback to non-incremental build if things are going sideways").

# If set to 1 (via the -i option) will run felt incrementally.
INCREMENTAL=0

# All arguments passed to felt, expect -i, if any.
Copy link
Contributor

Choose a reason for hiding this comment

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

"except"?

Comment on lines 36 to 38
echo $INCREMENTAL
echo $ARGS
exit 0
Copy link
Contributor

Choose a reason for hiding this comment

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

Debugging remnants?

@flutter-dashboard
Copy link

This pull request executed golden file tests, but it has not been updated in a while (20+ days). Test results from Gold expire after as many days, so this pull request will need to be updated with a fresh commit in order to get results from Gold.

@yjbanov yjbanov added the autosubmit Merge PR when tree becomes green via auto submit App label Dec 2, 2023
@auto-submit
Copy link
Contributor

auto-submit bot commented Dec 2, 2023

auto label is removed for flutter/engine/47414, Failed to merge flutter/engine/47414 with FormatException: Unexpected end of input (at character 1)

^
.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Dec 2, 2023
@yjbanov yjbanov merged commit d441f08 into flutter:main Dec 2, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 2, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Dec 2, 2023
flutter/engine@27d37db...d441f08

2023-12-02 yjbanov@google.com [web] remove ulimit and add -i to felt (flutter/engine#47414)

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 matanl@google.com,rmistry@google.com,zra@google.com 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
caseycrogers pushed a commit to caseycrogers/flutter that referenced this pull request Dec 29, 2023
)

flutter/engine@27d37db...d441f08

2023-12-02 yjbanov@google.com [web] remove ulimit and add -i to felt (flutter/engine#47414)

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 matanl@google.com,rmistry@google.com,zra@google.com 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

platform-web Code specifically for the web engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants