Skip to content

[Copilot Dreams] Diagnose slow runs and locate actual CI checks - #270

Open
Copilot wants to merge 1 commit into
mainfrom
copilot/dream-curate-memories-20261105115900
Open

Copilot wants to merge 1 commit into
mainfrom
copilot/dream-curate-memories-20261105115900

Conversation

@Copilot

Copilot AI commented Nov 5, 2026

Copy link
Copy Markdown

🧠 How this helps Copilot

Copilot could assume the copied verification workflow checks for changes every week or look for the Go tests under the wrong check name. This guidance points to the checks that actually run and shows how to use the built-in performance summary instead of manually counting requests in debug logs when an online run is slow.

Automated details

Source: curate-memories Dream, analyzing main at 90ae563.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Copilot
Copilot AI requested a review from a team as a code owner November 5, 2026 12:00
Copilot AI auto review requested due to automatic review settings November 5, 2026 12:00
Comment thread AGENTS.md
- **Go command test** (`cmd/**/*_test.go` with `httpmock`) — full CLI wiring
end to end, but with a stubbed resolver so it stays deterministic. Runs in
the blocking `test` CI job with no token. Reach for this to prove the
the blocking `go-test` CI job with no token. Reach for this to prove the

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Find the Go check: The old job name could send Copilot looking for a check identifier that is not defined. The workflow names the job go-test; the command tests still run there without a supplied API token.

into the repository, then run `gh actions-lock` once so the new workflow is locked too. It runs
`gh actions-lock --verify` on pull requests, pushes to `main`, and a weekly schedule that catches
re-pointed tags. The job's `GITHUB_TOKEN` reads public actions and the repository itself; actions
`gh actions-lock --verify` on pull requests and pushes to `main`. The job's `GITHUB_TOKEN` reads

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Avoid assuming weekly checks: The old claim could make Copilot rely on verification after repository activity stops. The copied workflow triggers only on pull requests and pushes to main; those checks remain, but the template supplies no weekly run.


## Learn more

To diagnose a slow online run, add `--profile <dir>` and read the completed run's

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Use recorded performance data: A help pointer alone leaves Copilot to derive timing and request counts from debug logs. For slow online runs, the existing profiler writes phase timings on completion and instrumented request counts and latency, avoiding manual log counting without replacing the reproduction.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are identified, and the documentation updates align the guidance with current CI workflows and profiling capabilities.

No open issues 🎉

What changed in this PR

Updates repository guidance to match the current CI workflows and document built-in profiling for diagnosing slow online runs.

Changes:

  • Removes the outdated weekly-schedule claim from lockfile verification guidance.
  • Corrects the Go test job name to go-test.
  • Documents --profile <dir> output for analyzing phases, request counts, and latency.

This pull request is ready to be approved.

File Description
skills/​gh-actions-lock/​SKILL.md Updates verification workflow documentation and adds profiling guidance.
AGENTS.md Corrects the documented blocking Go test CI job name.

Review effort: Lite (auto)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants