You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
* update chrome version, should be merged after recipe changes
* changing directory to use chrome driver in LUCI
* changing directory path's order
* add cipd packages's chrome version for mac
* addressing reviewer comments
* more documentation. update readme
* remove late since it didn't build. remove distinction in paths for local and LUCI.
* addressing reviewer comments. (non-null fields needs rechanging)
* addressing reviewer comments. adding 2.6 on files missing the notation
Copy file name to clipboardExpand all lines: lib/web_ui/dev/README.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,6 +140,7 @@ flutter/goldens updating the screenshots. Then update this file pointing to
140
140
the new revision.
141
141
142
142
## Developing the `felt` tool
143
+
143
144
If you are making changes in the `felt` tool itself, you need to be aware of Dart snapshots. We create a Dart snapshot of the `felt` tool to make the startup faster.
144
145
145
146
To make sure you are running the `felt` tool with your changes included, you would need to stop using the snapshot. This can be achived through the environment variable `FELT_USE_SNAPSHOT`:
_**Note**: if `FELT_USE_SNAPSHOT` is omitted or has any value other than "false" or "0", the snapshot mode will be enabled._
159
+
160
+
## Upgrade Browser Version
161
+
162
+
Since the engine code and infra recipes do not live in the same repository there are few steps to follow in order to upgrade a browser's version. For now these instructins are most relevant to Chrome.
163
+
164
+
1. Dowload the binaries for the new browser/driver for each operaing system (macOS, linux, windows).
165
+
2. Create CIPD packages for these packages. (More documentation is available for Googlers. go/cipd-flutter-web)
166
+
3. Add the new browser version to the recipe. Do not remove the old one. This recipe will apply to all PRs as soon as it is merged. However, not all PRs will have the up to date code for a while.
167
+
4. Update the version in this repo. Do this by changing the related fields in `browser_lock.yaml` file.
168
+
5. After a few days don't forget to remove the old version from the LUCI recipe.
169
+
170
+
Note that for LUCI builders, both unit and integration tests are using the same browser.
171
+
172
+
Some useful links:
173
+
174
+
1. For Chrome downloads [link](https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html)
175
+
2. Browser and driver CIPD [packages](https://chrome-infra-packages.appspot.com/p/flutter_internal) (Note: Access rights are restricted for these packages.)
176
+
3. LUCI web [recipe](https://flutter.googlesource.com/recipes/+/refs/heads/master/recipes/web_engine.py)
177
+
4. More general reading on CIPD packages [link](https://chromium.googlesource.com/chromium/src.git/+/master/docs/cipd.md#What-is-CIPD)
0 commit comments