Repository navigation
[Copilot Dreams] Diagnose slow runs and locate actual CI checks #270
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -135,8 +135,8 @@ category name alone. | |
|
|
||
| Copy [`.github/workflows/verify-lockfile.yml`](https://github.com/github/gh-actions-lock/blob/main/.github/workflows/verify-lockfile.yml) | ||
| 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 | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
| public actions and the repository itself; actions | ||
| from other private or internal repositories need a token that can read them. | ||
|
|
||
| ## Limits | ||
|
|
@@ -149,6 +149,9 @@ from other private or internal repositories need a token that can read them. | |
|
|
||
| ## Learn more | ||
|
|
||
| To diagnose a slow online run, add `--profile <dir>` and read the completed run's | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
| stderr summary for phase timings, HTTP request counts, and latency. | ||
|
|
||
| `gh actions-lock --help` is authoritative for flags. Failed runs print the path of a saved run | ||
| log; attach it to bug reports. Start from these, plus each finding's `doc_url`: | ||
|
|
||
|
|
||
There was a problem hiding this comment.
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.