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

Releasing from 2.27.0-dev.17 to 2.27.0 #75

Closed
wants to merge 179 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
aacbef5
Add dart doc to custom analytics metrics (#5943)
kenzieschmoll Jun 22, 2023
4162fc7
Bump ossf/scorecard-action from 2.1.3 to 2.2.0 (#5952)
dependabot[bot] Jun 26, 2023
0ae999a
Enable browsing and evaluation for Memory > Profile. (#5947)
polina-c Jun 26, 2023
ddc8b5a
Add method for testing release notes and update readme (#5945)
kenzieschmoll Jun 26, 2023
063ed2a
Import web-only APIs from dart:ui_web (#5942)
mdebbar Jun 26, 2023
cef2a64
Clean up logs. (#5957)
polina-c Jun 26, 2023
03815ca
Only one service method registered at a time (#5960)
elliette Jun 27, 2023
f510c17
- (#5966)
polina-c Jun 28, 2023
99dca81
Releasing from 2.25.0-dev.5 to 2.25.0 (#5956)
CoderDake Jun 28, 2023
ef6e4e3
Add verbose debugging logging to the `shouldShowScreen` method (#5964)
kenzieschmoll Jun 28, 2023
fc6bb6f
Fix debugger panel test (#5972)
elliette Jun 29, 2023
15004da
Fix broken `VmServiceObjectLink` navigations to the debugger (#5970)
kenzieschmoll Jun 29, 2023
6bfdb6b
Add more verbose logging to the service manager (#5969)
kenzieschmoll Jun 29, 2023
4824cb9
Use `package:args` to parse integration test arguments (#5971)
kenzieschmoll Jun 29, 2023
8755de6
manual minor+dev bump (#5968)
CoderDake Jun 29, 2023
7733b73
feat(Network profiler): create response selector for http response (#…
hhacker1999 Jun 29, 2023
6658554
Start chromedriver once for running all integration tests (#5976)
kenzieschmoll Jun 29, 2023
7232dac
Add Dart CLI test target to integration tests (#5981)
kenzieschmoll Jun 30, 2023
e5dbc28
Expand notifications to fill the space they block (#5975)
CoderDake Jun 30, 2023
0f72e7d
Fix lints and warnings. (#5982)
polina-c Jul 4, 2023
5074fd2
Fix failing test by pinning `vm_snapshot_analysis` package (#5992)
elliette Jul 5, 2023
2b972e6
Update DCM workflow (#5991)
elliette Jul 6, 2023
54111ea
Initial structure for offline memory screen. (#5965)
polina-c Jul 6, 2023
58c1090
Remove methods toJson and fromJson. (#5989)
polina-c Jul 7, 2023
6a1be92
Stop logging http to timeline by default and warn users about memory …
kenzieschmoll Jul 7, 2023
cea21f6
Add a context menu to rename or delete a heap snapshot from the list …
kenzieschmoll Jul 7, 2023
c7e65f8
Move import action from landing screen to toolbar (#6003)
kenzieschmoll Jul 7, 2023
396e61f
Remove unused autosubmit config file (#6005)
ricardoamador Jul 8, 2023
182c5ed
Add connection info widgets and clean up device dialog (#6004)
kenzieschmoll Jul 8, 2023
20e33e0
Create a new shared `AnalyticsDropDownButton` (#5999)
bkonyi Jul 10, 2023
c8dd245
Update the release notes README with image instructions (#6002)
kenzieschmoll Jul 10, 2023
7c1557a
Update Object Inspector selector to use a drop down instead of a tab …
bkonyi Jul 10, 2023
25f9a23
Fix UI bugs in Object Inspector (#6009)
bkonyi Jul 11, 2023
be05370
Add support for static tooling in DevTools and add a "Home" screen (#…
kenzieschmoll Jul 11, 2023
04755a5
Remove tooltip during variable inspection (#6001)
elliette Jul 11, 2023
a12ffaf
Fix text selection behavior in object inspector views (#6012)
bkonyi Jul 12, 2023
fc25629
Color DevTools footer to indicate app connection state (#6015)
kenzieschmoll Jul 12, 2023
7d2b4a8
Add skeleton for deep link validation tool (#6022)
kenzieschmoll Jul 12, 2023
85fe892
Remove one test from provider_screen_integration_test.dart (#6027)
polina-c Jul 12, 2023
2bb9997
Debugger panel text selection improvements (#6020)
elliette Jul 12, 2023
2a106f3
Updating from 2.26.0-dev.0 to 2.26.0-dev.1 (#6029)
DartDevtoolWorkflowBot Jul 13, 2023
5b08bf3
Updating from 2.26.0-dev.1 to 2.26.0-dev.2 (#6033)
DartDevtoolWorkflowBot Jul 14, 2023
3f8b720
Fix routing issue when refreshing DevTools (#6028)
kenzieschmoll Jul 14, 2023
8c29992
Remove uses of `shrinkWrap` in DevTools (#6038)
kenzieschmoll Jul 14, 2023
ca1b3c0
workflow for updating flutter candidate (#6034)
CoderDake Jul 14, 2023
59c279b
Add support for new timeline event names `LAYOUT (root)` and `PAINT (…
kenzieschmoll Jul 14, 2023
752abe7
Updating from 2.26.0-dev.2 to 2.26.0-dev.3 (#6041)
DartDevtoolWorkflowBot Jul 15, 2023
741daf1
Changing Flutter Candidate to 3.13.0-3.0.pre (#6042)
DartDevtoolWorkflowBot Jul 15, 2023
88e2e6d
Updating from 2.26.0-dev.3 to 2.26.0-dev.4 (#6044)
DartDevtoolWorkflowBot Jul 17, 2023
f4e717c
Add support for viewing inlining data for code objects in the object …
bkonyi Jul 17, 2023
04372e5
Refactor extensions code to prepare for devtools extensions (#6040)
kenzieschmoll Jul 17, 2023
0a8cb6c
Set properties to null when none are available (#5986)
CoderDake Jul 17, 2023
1761029
Clean up duplicate connection available indicator in service manager …
kenzieschmoll Jul 18, 2023
49f67ae
Update goldens and devtools_app README (#6052)
kenzieschmoll Jul 18, 2023
efa365f
Updating from 2.26.0-dev.4 to 2.26.0-dev.5 (#6049)
DartDevtoolWorkflowBot Jul 18, 2023
61a4b54
Changing Flutter Candidate to 3.13.0-4.0.pre (#6050)
DartDevtoolWorkflowBot Jul 18, 2023
d6b74b5
Add logic to conditionally show available extensions (#6048)
kenzieschmoll Jul 18, 2023
b4d6838
UI polish for the DevTools app bar and "page not found" screen (#6053)
kenzieschmoll Jul 18, 2023
8528749
Fix breakages from latest flutter. (#6057)
kenzieschmoll Jul 19, 2023
f1c92c2
Initial commit for `package:devtools_extensions` (#6055)
kenzieschmoll Jul 19, 2023
69ec807
Add skeleton for extension screen views and controllers (#6054)
kenzieschmoll Jul 19, 2023
336455e
Add embedded iFrame logic for DevTools extensions (#6060)
kenzieschmoll Jul 20, 2023
0a57d18
Fix hover background shape for `DebuggerButton`s (#6067)
bkonyi Jul 20, 2023
4146bf7
Add `DevToolsExtension` template to `devtools_extension` package (#6066)
kenzieschmoll Jul 20, 2023
d680993
Add `example` to `devtools_extensions` package (#6069)
kenzieschmoll Jul 20, 2023
ec967fc
Updating from 2.26.0-dev.5 to 2.26.0-dev.6 (#6071)
DartDevtoolWorkflowBot Jul 21, 2023
5becdac
Update chart_control_pane.dart (#6077)
polina-c Jul 21, 2023
4fade3f
Updating from 2.26.0-dev.6 to 2.26.0-dev.7 (#6081)
DartDevtoolWorkflowBot Jul 22, 2023
5eb7b03
Changing Flutter Candidate to 3.13.0-7.0.pre (#6082)
DartDevtoolWorkflowBot Jul 22, 2023
236e60b
Updating from 2.26.0-dev.7 to 2.26.0-dev.8 (#6083)
DartDevtoolWorkflowBot Jul 23, 2023
2e13871
Updating from 2.26.0-dev.8 to 2.26.0-dev.9 (#6084)
DartDevtoolWorkflowBot Jul 24, 2023
5e27fe9
[ VM Tools ] Fixed UI glitch in Object Inspector (#6063)
bkonyi Jul 24, 2023
d7244a1
[VM Tools] Add support for inspecting inbound references and internal…
bkonyi Jul 24, 2023
39b34d9
[VM Tools] Fix open port inspector and UI inconsistencies (#6090)
bkonyi Jul 24, 2023
df33299
Updating from 2.26.0-dev.9 to 2.26.0-dev.10 (#6091)
DartDevtoolWorkflowBot Jul 25, 2023
bf671b1
Changing Flutter Candidate to 3.13.0-8.0.pre (#6092)
DartDevtoolWorkflowBot Jul 25, 2023
dba0abf
Fix text selection issues in the codeview and console (#6099)
elliette Jul 25, 2023
2398162
Updating from 2.26.0-dev.10 to 2.26.0-dev.11 (#6101)
DartDevtoolWorkflowBot Jul 26, 2023
048989f
Add skeleton for enabling the Performance screen for web apps (#6096)
kenzieschmoll Jul 26, 2023
76d93bd
Add `--no-build-app` flag to the `build_e2e.dart` script. (#6098)
kenzieschmoll Jul 26, 2023
5d062a7
Add a server endpoint for serving devtools extensions (#6094)
kenzieschmoll Jul 26, 2023
8f57853
Load extensions from DevTools server instead of using stubs. (#6097)
kenzieschmoll Jul 26, 2023
690f8be
Prevent console text from being cut-off (#6100)
elliette Jul 26, 2023
9d5fadf
Migrate `Variables` to use DAP (#6070)
elliette Jul 26, 2023
272f624
Updating from 2.26.0-dev.11 to 2.26.0-dev.12 (#6108)
DartDevtoolWorkflowBot Jul 27, 2023
0b0b24e
Changing Flutter Candidate to 3.13.0-9.0.pre (#6109)
DartDevtoolWorkflowBot Jul 27, 2023
c40e20c
Add documentation comments for `DapDisplayProvider` and `DisplayProvi…
elliette Jul 27, 2023
b476192
Updating from 2.26.0-dev.12 to 2.26.0-dev.13 (#6114)
DartDevtoolWorkflowBot Jul 28, 2023
bbe9999
Changing Flutter Candidate to 3.13.0-10.0.pre (#6115)
DartDevtoolWorkflowBot Jul 28, 2023
389d16f
Performance panel instructions for web apps (#6107)
elliette Jul 28, 2023
16d261c
Clean up build release sript (#6118)
kenzieschmoll Jul 28, 2023
530dfa1
Clean up some common widgets (#6117)
kenzieschmoll Jul 28, 2023
14443fa
Add extensionActivationState endpoint to the devtools server (#6111)
kenzieschmoll Jul 28, 2023
594a15a
Updating from 2.26.0-dev.13 to 2.26.0-dev.14 (#6120)
DartDevtoolWorkflowBot Jul 29, 2023
373b8ef
Changing Flutter Candidate to 3.13.0-11.0.pre (#6121)
DartDevtoolWorkflowBot Jul 29, 2023
277204e
Updating from 2.26.0-dev.14 to 2.26.0-dev.15 (#6123)
DartDevtoolWorkflowBot Jul 30, 2023
fdd2464
Updating from 2.26.0-dev.15 to 2.26.0-dev.16 (#6124)
DartDevtoolWorkflowBot Jul 31, 2023
458d07c
A couple fixes to the extensions server apis (#6125)
kenzieschmoll Jul 31, 2023
2c739cc
Add warning message about breakpoints for Chrome version 115 (#6126)
elliette Jul 31, 2023
df40908
Add `defaultBorderRadius` and `defaultRadius` helpers (#6127)
kenzieschmoll Jul 31, 2023
2e9ab41
Cleanup stale test name (#6128)
kenzieschmoll Jul 31, 2023
9f94e20
Releasing from 2.26.0-dev.16 to 2.26.0 (#6130)
kenzieschmoll Jul 31, 2023
8ec8a22
Updating from 2.26.0 to 2.26.0-dev.0 (#6133)
DartDevtoolWorkflowBot Aug 1, 2023
13839ef
Changing Flutter Candidate to 3.13.0-14.0.pre (#6134)
DartDevtoolWorkflowBot Aug 1, 2023
d20816e
Replace `DualValueListenableBuilder` with `MultiValueListenableBuilde…
kenzieschmoll Aug 1, 2023
4f13092
Remove `devtools_shared` dependency on `package:io` (#6132)
kenzieschmoll Aug 1, 2023
6f42c1d
Prep for patch release (#6136)
kenzieschmoll Aug 1, 2023
b66b2b6
Updating from 2.26.1 to 2.26.1-dev.0 (#6142)
DartDevtoolWorkflowBot Aug 2, 2023
f2e27c8
Changing Flutter Candidate to 3.13.0-15.0.pre (#6143)
DartDevtoolWorkflowBot Aug 2, 2023
d549e80
Add the extension settings dialog (#6138)
kenzieschmoll Aug 2, 2023
8e6c5ac
Updating from 2.26.1-dev.0 to 2.27.0-dev.0 (#6145)
DartDevtoolWorkflowBot Aug 2, 2023
2d36a29
Add ability to enable and disable an extension from the extension scr…
kenzieschmoll Aug 2, 2023
4ad74d4
Updating from 2.27.0-dev.0 to 2.27.0-dev.1 (#6148)
DartDevtoolWorkflowBot Aug 3, 2023
75a05b7
Updating from 2.27.0-dev.1 to 2.27.0-dev.2 (#6152)
DartDevtoolWorkflowBot Aug 4, 2023
a657742
Changing Flutter Candidate to 3.13.0-16.0.pre (#6153)
DartDevtoolWorkflowBot Aug 4, 2023
2bd5580
Updating from 2.27.0-dev.2 to 2.27.0-dev.3 (#6158)
DartDevtoolWorkflowBot Aug 5, 2023
c70b469
Updating from 2.27.0-dev.3 to 2.27.0-dev.4 (#6161)
DartDevtoolWorkflowBot Aug 6, 2023
c2bfb07
Updating from 2.27.0-dev.4 to 2.27.0-dev.5 (#6162)
DartDevtoolWorkflowBot Aug 7, 2023
50108bc
Check for dev bumps to protect release versions (#6157)
CoderDake Aug 9, 2023
99a197c
Update stager filenames in launch configuration / commands (#6164)
DanTup Aug 9, 2023
2890e01
Fix tab bar alignment for latest flutter (#6174)
kenzieschmoll Aug 9, 2023
ca02692
Support vm service connection for DevTools extensions (#6175)
kenzieschmoll Aug 10, 2023
8ec61d2
Link boilerplate for equality in coding agreements. (#6169)
polina-c Aug 10, 2023
a072e31
Updating from 2.27.0-dev.5 to 2.27.0-dev.6 (#6177)
DartDevtoolWorkflowBot Aug 10, 2023
4efbffb
Changing Flutter Candidate to 3.14.0-1.0.pre (#6178)
DartDevtoolWorkflowBot Aug 10, 2023
1cd425c
Use `package:extension_discovery` to detect DevTools extensions (#6139)
kenzieschmoll Aug 10, 2023
1003d35
Fixing broken master workflows (#6184)
CoderDake Aug 11, 2023
141e1be
Updating from 2.27.0-dev.6 to 2.27.0-dev.7 (#6186)
DartDevtoolWorkflowBot Aug 12, 2023
8137fbd
Changing Flutter Candidate to 3.14.0-2.0.pre (#6187)
DartDevtoolWorkflowBot Aug 12, 2023
0cf8afd
Updating from 2.27.0-dev.7 to 2.27.0-dev.8 (#6188)
DartDevtoolWorkflowBot Aug 13, 2023
1df4b6d
Remove warning banner about breakpoints in Chrome 115 (#6179)
elliette Aug 14, 2023
364d87f
Fix goldens for 3.14.0-4.0.pre broken goldens (#6202)
CoderDake Aug 16, 2023
e37297b
Fetch dependencies for all Devtools packages (#6204)
elliette Aug 16, 2023
e75e03d
Each log entry should be on its own line (#5538)
CoderDake Aug 16, 2023
5caf423
Ignore DCM error for type assertion (#6185)
elliette Aug 16, 2023
6eb8d22
Fixing source_location issue on new candidate (#6207)
CoderDake Aug 17, 2023
0af79f0
Export `devtools_extensions_io.dart` from `devtools_shared` (#6197)
kenzieschmoll Aug 17, 2023
0dfcda3
Adding helper for quickly fixing goldens (#6203)
CoderDake Aug 18, 2023
d0db8ae
Create `package:devtools_app_shared` (#6210)
kenzieschmoll Aug 18, 2023
f5e477e
Extensions cleanup and TODOs (#6216)
kenzieschmoll Aug 18, 2023
b9abed2
Updating from 2.27.0-dev.8 to 2.27.0-dev.9 (#6219)
DartDevtoolWorkflowBot Aug 19, 2023
de04126
Changing Flutter Candidate to 3.14.0-7.0.pre (#6220)
DartDevtoolWorkflowBot Aug 19, 2023
15f07e7
Updating from 2.27.0-dev.9 to 2.27.0-dev.10 (#6221)
DartDevtoolWorkflowBot Aug 20, 2023
6440a75
Add some simple side bar functionality with a mock editor environment…
DanTup Aug 21, 2023
3ed90a6
Polish the DevTools extension template and embedded view (#6217)
kenzieschmoll Aug 21, 2023
51b601e
Add README.md for `package:devtools_app_shared` (#6218)
kenzieschmoll Aug 21, 2023
c2e0343
Stop passing a nullable value to Future<nn-type>.value or Completer<n…
srawlins Aug 21, 2023
29f688b
Changing Flutter Candidate to 3.14.0-8.0.pre (#6232)
DartDevtoolWorkflowBot Aug 22, 2023
0dfdc8e
Updating from 2.27.0-dev.10 to 2.27.0-dev.11 (#6231)
DartDevtoolWorkflowBot Aug 22, 2023
2308099
Add an `example` directory to `devtools_app_shared` (#6230)
kenzieschmoll Aug 22, 2023
64447da
Updating from 2.27.0-dev.11 to 2.27.0-dev.12 (#6236)
DartDevtoolWorkflowBot Aug 23, 2023
db38e2c
Include new packages into upgrade process. (#6238)
polina-c Aug 24, 2023
5161cb5
Updating from 2.27.0-dev.12 to 2.27.0-dev.13 (#6240)
DartDevtoolWorkflowBot Aug 24, 2023
7ff0097
Aggressively seal classes in `package:devtools_app_shared` (#6235)
kenzieschmoll Aug 24, 2023
cf45a7d
Move `OutlineDecoration` to devtools_app_shared (#6245)
kenzieschmoll Aug 24, 2023
76071c0
Updating from 2.27.0-dev.13 to 2.27.0-dev.14 (#6247)
DartDevtoolWorkflowBot Aug 25, 2023
ede88ab
Bump actions/checkout from 3.5.3 to 3.6.0 (#6249)
dependabot[bot] Aug 25, 2023
0be05d9
Move FormattedJson to devtools_app_shared (#6246)
kenzieschmoll Aug 25, 2023
de7a6df
Update CONTRIBUTING.md (#6252)
chunhtai Aug 25, 2023
01ac164
Add `DevToolsExtensionHostInterface` and clean up some service manage…
kenzieschmoll Aug 25, 2023
83c1afc
Update CONTRIBUTING.md (#6253)
chunhtai Aug 25, 2023
fed0d0b
Add a simulated DevTools environment for developing extensions (#6251)
kenzieschmoll Aug 25, 2023
fa3ad97
Add initial README.md for `package:devtools_extensions` (#6255)
kenzieschmoll Aug 26, 2023
d96f5c3
Updating from 2.27.0-dev.14 to 2.27.0-dev.15 (#6256)
DartDevtoolWorkflowBot Aug 26, 2023
be4b4a8
Updating from 2.27.0-dev.15 to 2.27.0-dev.16 (#6257)
DartDevtoolWorkflowBot Aug 27, 2023
f0d142f
Fix DartDevtoolWorkflowBot bump excessive branches (#6244)
CoderDake Aug 28, 2023
9e4a31d
Ship a `build_and_copy` command with the `devtools_extensions` packag…
kenzieschmoll Aug 28, 2023
225fe90
Copy the font assets from `devtools_app` to `devtools_app_shared` (#6…
kenzieschmoll Aug 28, 2023
33678af
Clean up `theme.dart` in `devtools_app_shared` (#6262)
kenzieschmoll Aug 28, 2023
6503653
Bump `extension_discovery` version in `devtools_shared` (#6267)
kenzieschmoll Aug 28, 2023
3542eb1
Prepare `devtools_extensions`, `devtools_app_shared` releases and fix…
kenzieschmoll Aug 28, 2023
a97e82a
Temporary disable failing integration test. (#6270)
polina-c Aug 28, 2023
dae280a
Updating from 2.27.0-dev.16 to 2.27.0-dev.17 (#6277)
DartDevtoolWorkflowBot Aug 29, 2023
34f95a2
Changing Flutter Candidate to 3.14.0-11.0.pre (#6278)
DartDevtoolWorkflowBot Aug 29, 2023
8c2e8c5
Hide the DevTools provider screen when the provider DevTools extensio…
kenzieschmoll Aug 29, 2023
ab6e660
Add hot reload and hot restart buttons to the simulated devtools envi…
kenzieschmoll Aug 29, 2023
428d1c4
Add `showNotification` and `showBannerMessage` to extension API (#6276)
kenzieschmoll Aug 29, 2023
0ff0b58
Limit Network text view to 2^16 characters to prevent it from crashin…
CoderDake Aug 29, 2023
35d2457
Releasing from 2.27.0-dev.17 to 2.27.0
polina-c Aug 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 0 additions & 8 deletions .github/autosubmit.yml

This file was deleted.

27 changes: 19 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
fail-fast: false
steps:
- name: git clone
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Load Cached Flutter SDK
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
Expand All @@ -54,7 +54,7 @@ jobs:
- test_dart2js
steps:
- name: git clone
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Load Cached Flutter SDK
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
Expand All @@ -81,7 +81,7 @@ jobs:

steps:
- name: git clone
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Load Cached Flutter SDK
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
Expand All @@ -101,20 +101,30 @@ jobs:
with:
name: golden_image_failures.${{ matrix.bot }}
path: packages/devtools_app/test/**/failures/*.png
- name: Notify of Quick Fix
if: failure()
env:
WORKFLOW_ID: ${{ github.run_id }}
run: |
echo "::notice title=To Quickly Fix Goldens:: Run \`./tool/fix_goldens.sh $WORKFLOW_ID\` on your local branch."

integration-test:
name: integration-test ${{ matrix.bot }}
name: integration-test ${{ matrix.bot }} - ${{ matrix.device }}
needs: flutter-prep
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
bot:
# Consider running integration tests in ddc mode, too.
- integration_dart2js
- dart2js
device:
- flutter
- flutter-web
- dart-cli
steps:
- name: git clone
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Load Cached Flutter SDK
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
Expand All @@ -124,6 +134,7 @@ jobs:
- name: tool/bots.sh
env:
BOT: ${{ matrix.bot }}
DEVICE: ${{ matrix.device }}
run: ./tool/bots.sh

- name: Upload Golden Failure Artifacts
Expand All @@ -144,7 +155,7 @@ jobs:
# - test_dart2js
# steps:
# - name: git clone
# uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
# uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
#
# - name: tool/bots.sh
# env:
Expand All @@ -164,7 +175,7 @@ jobs:
# - integration_dart2js
# steps:
# - name: git clone
# uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
# uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
# - name: tool/bots.sh
# env:
# BOT: ${{ matrix.bot }}
Expand Down
37 changes: 12 additions & 25 deletions .github/workflows/daily-dev-bump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ on:
required: false
type: boolean
default: false
pull_request:
types: [closed]
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "0 8 * * *" # Run every day at midnight Pacific Time
Expand All @@ -31,12 +29,12 @@ env:

jobs:
bump-version:
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
if: ${{ github.repository == 'flutter/devtools' }}
name: Bump Version
runs-on: ubuntu-latest
steps:
- name: git clone devtools
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
with:
ref: master

Expand All @@ -45,8 +43,6 @@ jobs:
- name: setup git config
run: |

# TODO(https://github.com/flutter/devtools/issues/4949): Change the author to
# a flutter owned account
git config user.name "DevTools Workflow Bot"
git config user.email "[email protected]"

Expand Down Expand Up @@ -77,6 +73,15 @@ jobs:
dart tool/update_version.dart auto --type major
dart tool/update_version.dart auto --type dev
elif [ "$UPDATE_TYPE" == "dev" ]; then
if ! echo "$ORIGINAL_VERSION" | grep -Eq "\-dev\.[0-9]+" ; then
ERROR_DESCRIPTION="Doing \
a Dev bump on a release version ($ORIGINAL_VERSION) is not supported. \
Ensure that that current version has been properly bumped to a '-dev.*' \
pre-release version, in order to continue daily dev bumps."

echo "::error ,title=Cannot do a dev bump on a Release Version ($ORIGINAL_VERSION)::$ERROR_DESCRIPTION"
exit 1;
fi
dart tool/update_version.dart auto --type dev
else
echo "ERROR: UNEXPECTED UPDATE TYPE: $UPDATE_TYPE"
Expand Down Expand Up @@ -114,22 +119,4 @@ jobs:
GH_TOKEN: ${{ secrets.DEVTOOLS_WORKFLOW_BOT_TOKEN }}
ORIGINAL_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IS_DRAFT: ${{ inputs.draft == true }}
clean-up-branches:
# If a pr is closed on a workflow bot PR, then clean up workflow bot branches.
if: ${{ github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.user.login == 'DartDevtoolWorkflowBot'}}
name: Clean up Dev Bump Branches
runs-on: ubuntu-latest
steps:
- name: Clean up branches
run: |
# Get 5 most recent branches of closed DartDevtoolWorkflowBot PRs.
CLOSED_BRANCH_NAMES=$(gh pr list -A DartDevtoolWorkflowBot -s closed -L 5 --search sort:created-desc | grep auto-bump- | sed 's|.*\(auto-bump-[[:digit:]]*\).*|\1|')

# Get list of refs(branches) that exist on the remote
EXISTING_REFS=$(git ls-remote --heads | grep refs/heads/auto-bump-)
for CLOSED_BRANCH in $CLOSED_BRANCH_NAMES; do
if echo "$EXISTING_REFS" | grep -q "$CLOSED_BRANCH" ; then
# If the branch still exists then we will delete it
gh api /repos/flutter/devtools/git/refs/heads/$CLOSED_BRANCH -X DELETE
fi
done

9 changes: 4 additions & 5 deletions .github/workflows/dcm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ name: Dart Code Metrics

on:
pull_request_target:
# synchronize, opened, and reopened are the default pull_request_target
# types. labeled and unlabeled are also required to re-run workflow when
# the run-dcm-workflow label is added or removed.
types: [opened, reopened, labeled, unlabeled]
# labeled and unlabeled are required along with open to re-run
# workflow when the run-dcm-workflow label is added or removed.
types: [opened, labeled, unlabeled]
branches:
- master
paths:
Expand All @@ -40,7 +39,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone Flutter DevTools
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
with:
ref: "${{ github.event.pull_request.head.sha }}"
- name: Load Cached Flutter SDK
Expand Down
69 changes: 69 additions & 0 deletions .github/workflows/flutter-candidate-update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Flutter Candidate Update
on:
workflow_dispatch: # Allows for manual triggering if needed
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "0 8 * * *" # Run every day at midnight Pacific Time

permissions:
contents: write
pull-requests: write

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
update-candidate:
if: ${{ github.repository == 'flutter/devtools' }}
name: Update Flutter Candidate Version
runs-on: ubuntu-latest
steps:
- name: git clone devtools
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
with:
ref: master

- uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f

- name: setup git config
run: |

git config user.name "DevTools Workflow Bot"
git config user.email "[email protected]"

- name: get the latest flutter candidate
run: |
set -ex
pushd tool/
dart pub get
popd

tool/latest_flutter_candidate.sh | sed 's|refs/tags/||' > flutter-candidate.txt

- name: Create the PR
run: |
set -ex
if ! [[ `git status --porcelain --untracked-files=no` ]]; then
# No changes made, so we can just exit.
echo "No change to the flutter-candidate.txt file"
exit
fi
COMMIT_MESSAGE="Changing Flutter Candidate to $(cat flutter-candidate.txt)"
BRANCH_NAME="auto-candidate-$(date +%s)"
# Stage the file, commit and push
git checkout -b "$BRANCH_NAME"
git add .
git commit -m "$COMMIT_MESSAGE"
git push -u origin "$BRANCH_NAME"


PR_URL=$(gh pr create --title "$COMMIT_MESSAGE" --body "Automated Flutter candidate version bump.")

# Change github credentials back to the actions bot.
GH_TOKEN="$ORIGINAL_GH_TOKEN"

gh pr edit $PR_URL --add-label "autosubmit"

env:
GH_TOKEN: ${{ secrets.DEVTOOLS_WORKFLOW_BOT_TOKEN }}
ORIGINAL_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/flutter-prep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ jobs:
- name: Checkout PR branch for DevTools
if: ${{ inputs.needs-checkout-merge == true }}
id: checkout-pr-branch
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
with:
ref: "${{ github.event.pull_request.head.sha }}"

# Otherwise use the default checkout action.
- name: Checkout DevTools (default)
if: steps.checkout-pr-branch.outcome == 'skipped'
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744

- name: Get Latest Flutter Candidate
id: flutter-candidate
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scorecards-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@80e868c13c90f172d68d1f4501dee99e2479f7af
uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031
with:
results_file: results.sarif
results_format: sarif
Expand Down
53 changes: 53 additions & 0 deletions .github/workflows/workflow-bot-cleanup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Workflow Bot Cleanup
on:
workflow_dispatch: # Allows for manual triggering if needed
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "0 9 * * *" # Run every day
permissions:
contents: write
pull-requests: write


jobs:
clean-up-branches:
if: ${{ github.repository == 'flutter/devtools' }}
name: Clean up closed DartDevtoolWorkflowBot Branches
runs-on: ubuntu-latest
steps:
- name: Sparse checkout of the repository
uses: actions/checkout@v3
with:
sparse-checkout: |
README.md
- name: Clean up closed DartDevtoolWorkflowBot branches
run: |
set -e

# Get list of branches that exist on the remote, then filter for the workflow bot branches
EXISTING_BRANCHES=$(git ls-remote --heads | grep refs/heads | awk '{print $2}' |sed 's|refs/heads/\(.*\)$|\1|')
for EXISTING_BRANCH in $EXISTING_BRANCHES; do
set +e # Turn off exit on error, since "gh pr view" may fail if branch doesn't exist
PR_INFO=$(gh pr view --json closed,author "$EXISTING_BRANCH")
if [[ $? -ne 0 ]]; then
# If getting PR_INFO fails assume the PR does not exist
echo "SKIP: No PR exists for $EXISTING_BRANCH"
continue
fi
set -e # Turn exit on error back on

PR_IS_CLOSED=$(echo $PR_INFO | jq -r '.closed')
PR_AUTHOR=$(echo $PR_INFO | jq -r '.author.login')
if [[ "$PR_IS_CLOSED" == "true" ]] && [[ "$PR_AUTHOR" == "DartDevtoolWorkflowBot" ]]; then
# Delete branches where:
# - DartDevtoolWorkflowBot is the author
# - the PR is closed
echo "Deleting $EXISTING_BRANCH"
gh api /repos/flutter/devtools/git/refs/heads/$EXISTING_BRANCH -X DELETE
else
echo "SKIP: Avoiding $EXISTING_BRANCH { is_closed:$PR_IS_CLOSED, author:$PR_AUTHOR }"
fi
done

env:
GH_TOKEN: ${{ secrets.DEVTOOLS_WORKFLOW_BOT_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ packages/devtools_test/lib/src/mocks/generated.mocks.dart
**/test/**/failures/
*.dill
DEPENDENCIES.md
**/*.log

# Ignore logs generated by VS Code
**/logs/**
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ from the main devtools/ directory run:
export LOCAL_DART_SDK=/path/to/dart-sdk
dart ./tool/build_e2e.dart
```
* Note: the LOCAL_DART_SDK needs to point to a local checkout of [dart-sdk](https://github.com/dart-lang/sdk/tree/main)
* Note: if you are also developing server side code, e.g. the devtools_shared package, add a devtools_shared path override to `<path-to-dart-sdk>/pkg/dds/pubspec.yaml`.

That will:
- start the devtools server
Expand Down
1 change: 1 addition & 0 deletions flutter-candidate.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.14.0-11.0.pre
Loading
Loading