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: agents_as_skills/backport/SKILL.md
+38-10Lines changed: 38 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,10 +179,14 @@ This step attempts to fix build errors by finding and cherry-picking prerequisit
179
179
180
180
1. Increment `incremental_fix_attempts`.
181
181
2. If `incremental_fix_attempts > max_incremental_fix_attempts` → set `success=false`, `error="Unable to fix build errors after N incremental fix attempts. Last error: ..."`, skip to Step 11.
182
-
3. Follow the **Fix Build Error Instructions** (Section C or D depending on the branch variant) with the current `build_error`.
183
-
4. The fix attempt produces a new `success`/`error`/`srpm_path`.
184
-
5. If the fix **succeeds** (build passes) → reset `incremental_fix_attempts = 0`, proceed to Step 6.
185
-
6. If the fix **fails** → update `build_error` with the new error, go back to Step 5a.
182
+
3. Archive build logs and record the error:
183
+
a. Create `<local_clone>-upstream/build-logs/` directory if it doesn't exist.
184
+
b. If `incremental_fix_attempts > 1`, move all `.log` and `.log.gz` files from `<local_clone>` to `<local_clone>-upstream/build-logs/attempt-<previous_attempt>/`.
185
+
c. Create or append to `<local_clone>-upstream/build-logs/fix-attempts.md` with the current attempt number and the build error text.
186
+
4. Follow the **Fix Build Error Instructions** (Section C or D depending on the branch variant) with the current `build_error`.
187
+
5. The fix attempt produces a new `success`/`error`/`srpm_path`.
188
+
6. If the fix **succeeds** (build passes) → reset `incremental_fix_attempts = 0`, proceed to Step 6.
189
+
7. If the fix **fails** → update `build_error` with the new error, go back to Step 5a.
186
190
187
191
### Step 6: Update Release
188
192
@@ -520,9 +524,12 @@ General instructions:
520
524
- Never change anything in the spec file changelog.
521
525
- Never change the Release field in the spec file.
522
526
- Preserve existing formatting and style conventions in spec files and patch headers.
523
-
- Ignore all changes that cause conflicts in the following kinds of
0 commit comments