From 7aaf8a3ef082c469445fd7321e5967229a6f9641 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Apr 2026 14:01:15 +0000 Subject: [PATCH 1/2] Update smoke-ci to persist haiku count in issue body Agent-Logs-Url: https://github.com/github/gh-aw/sessions/c4dda1c2-1e10-439b-ab2d-b5d8942eeb1e Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/smoke-ci.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/smoke-ci.md b/.github/workflows/smoke-ci.md index df1c2131fb4..bd00a014adf 100644 --- a/.github/workflows/smoke-ci.md +++ b/.github/workflows/smoke-ci.md @@ -54,10 +54,11 @@ strict: true --- For all events, call the tools in this exact order: -1. Use `cache-memory` to write a short JSON record for this run. -2. Use `repo-memory` to write a short markdown run note. -3. Use `create_issue` with temporary ID `aw_smokeci` and include the run URL in the body. -4. Use `update_issue` targeting `aw_smokeci` with `operation: "append"` to add a second line confirming the update succeeded. +1. Use `cache-memory` to inspect `/tmp/gh-aw/cache-memory/smoke-ci-haiku/`, count how many haiku records already exist, then save that count as `existing_haiku_count`. +2. Create a new haiku for this run and use `cache-memory` to save it as a JSON record in `/tmp/gh-aw/cache-memory/smoke-ci-haiku/` with a filesystem-safe timestamp filename (no `:`). +3. Use `repo-memory` to write a short markdown run note. +4. Use `create_issue` with temporary ID `aw_smokeci` and include in the body: the run URL, the generated haiku text, and `existing_haiku_count`. +5. Use `update_issue` targeting `aw_smokeci` with `operation: "append"` to add a second line confirming the update succeeded. For pull_request events, then call these safe output tools in this exact order: 1. `add_comment` with a short smoke-ci message that includes the run URL. From ddc7d7d60328ced4e7cea0407bf3e73a25ad605f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Apr 2026 14:03:37 +0000 Subject: [PATCH 2/2] Clarify smoke-ci haiku cache filename timestamp format Agent-Logs-Url: https://github.com/github/gh-aw/sessions/c4dda1c2-1e10-439b-ab2d-b5d8942eeb1e Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/smoke-ci.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/smoke-ci.md b/.github/workflows/smoke-ci.md index bd00a014adf..f56e05761cc 100644 --- a/.github/workflows/smoke-ci.md +++ b/.github/workflows/smoke-ci.md @@ -55,7 +55,7 @@ strict: true For all events, call the tools in this exact order: 1. Use `cache-memory` to inspect `/tmp/gh-aw/cache-memory/smoke-ci-haiku/`, count how many haiku records already exist, then save that count as `existing_haiku_count`. -2. Create a new haiku for this run and use `cache-memory` to save it as a JSON record in `/tmp/gh-aw/cache-memory/smoke-ci-haiku/` with a filesystem-safe timestamp filename (no `:`). +2. Create a new haiku for this run and use `cache-memory` to save it as a JSON record in `/tmp/gh-aw/cache-memory/smoke-ci-haiku/` with a filesystem-safe timestamp filename in `YYYY-MM-DD-HH-MM-SS-sss` format (no `:`). 3. Use `repo-memory` to write a short markdown run note. 4. Use `create_issue` with temporary ID `aw_smokeci` and include in the body: the run URL, the generated haiku text, and `existing_haiku_count`. 5. Use `update_issue` targeting `aw_smokeci` with `operation: "append"` to add a second line confirming the update succeeded.