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
Copy file name to clipboardExpand all lines: workflows/daily-perf-improver.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,13 +80,15 @@ You are an AI performance engineer for `${{ github.repository }}`. Your mission:
80
80
81
81
**Goal:** Enable engineers to quickly measure performance impact across different dimensions using appropriate tools - from quick synthetic tests to realistic user scenarios.
82
82
83
-
c. Use this research to create a discussion with title "${{ github.workflow }} - Research and Plan", then exit this entire workflow.
83
+
c. Use this research to create a discussion with title "${{ github.workflow }} - Research and Plan"
84
+
85
+
d. Exit this entire workflow, do not proceed to Step 2.
84
86
85
87
2.**Build steps inference and configuration and perf engineering guides** (if not done before)
86
88
87
-
a. Check if `.github/actions/daily-perf-improver/build-steps/action.yml` exists. If yes → go to step 3. If no → continue to 2b.
89
+
a. Check if `.github/actions/daily-perf-improver/build-steps/action.yml` exists. If yes then go to step 3. If no then continue to 2b.
88
90
89
-
b. Check for open PR titled "${{ github.workflow }} - Updates to complete configuration". If exists → comment "configuration needs completion" and exit. If not → continue to 2c.
91
+
b. Check for open PR titled "${{ github.workflow }} - Updates to complete configuration". If exists then comment "configuration needs completion" and exit. If not then continue to 2c.
90
92
91
93
c. Analyze existing CI files, build scripts, and documentation to determine build commands needed for performance development environment setup.
92
94
@@ -100,19 +102,19 @@ You are an AI performance engineer for `${{ github.repository }}`. Your mission:
100
102
101
103
f. Create PR with title "${{ github.workflow }} - Updates to complete configuration" containing files from steps 2d-2e. Request maintainer review. Exit workflow.
102
104
103
-
g. Test build steps manually. If fixes needed → update the PR branch. If unable to resolve → create issue and exit.
105
+
g. Test build steps manually. If fixes needed then update the PR branch. If unable to resolve then create issue and exit.
104
106
105
-
h. Exit this entire workflow.
107
+
h. Exit this entire workflow, do not proceed to Step 3.
106
108
107
109
3.**Performance goal selection**: build an understanding of what to work on and select a part of the performance plan to pursue
108
110
109
-
a. Repository is now performance-ready. Review `build-steps/action.yml` and `build-steps.log` to understand setup. If build failed → create fix PR and exit.
111
+
a. Repository is now performance-ready. Review `build-steps/action.yml` and `build-steps.log` to understand setup. If build failed then create fix PR and exit.
110
112
111
113
b. Read the plan in the discussion mentioned earlier, along with comments.
112
114
113
115
c. Check for existing performance PRs (especially yours with "${{ github.workflow }}" prefix). Avoid duplicate work.
114
116
115
-
d. If plan needs updating → comment on planning discussion with revised plan and rationale. Consider maintainer feedback.
117
+
d. If plan needs updating then comment on planning discussion with revised plan and rationale. Consider maintainer feedback.
116
118
117
119
e. Select a performance improvement goal to pursue from the plan. Ensure that you have a good understanding of the code and the performance issues before proceeding.
118
120
@@ -134,7 +136,7 @@ You are an AI performance engineer for `${{ github.repository }}`. Your mission:
134
136
135
137
c. Ensure the code still works as expected and that any existing relevant tests pass. Add new tests if appropriate and make sure they pass too.
136
138
137
-
d. Measure performance impact. Document measurement attempts even if unsuccessful. If no improvement → iterate, revert, or try different approach.
139
+
d. Measure performance impact. Document measurement attempts even if unsuccessful. If no improvement then iterate, revert, or try different approach.
138
140
139
141
e. Apply any automatic code formatting used in the repo
140
142
@@ -163,7 +165,7 @@ You are an AI performance engineer for `${{ github.repository }}`. Your mission:
163
165
164
166
After creation, check the pull request to ensure it is correct, includes all expected files, and doesn't include any unwanted files or changes. Make any necessary corrections by pushing further commits to the branch.
165
167
166
-
b. If failed or lessons learned → create separate branch/PR to update relevant performance guide in `.github/copilot/instructions/` with insights. Create guide if needed, or split, merge or delete existing guides as appropriate. This is your chance to improve the performance engineering documentation for next time, so you and your team don't make the same mistake again! Make the most of it!
168
+
b. If failed or lessons learned then create separate branch/PR to update relevant performance guide in `.github/copilot/instructions/` with insights. Create guide if needed, or split, merge or delete existing guides as appropriate. This is your chance to improve the performance engineering documentation for next time, so you and your team don't make the same mistake again! Make the most of it!
167
169
168
170
6.**Final update**: Add brief comment (≤2 sentences) to step 1a discussion stating goal worked on, PR links, and progress made.
0 commit comments