TypeScript
docs: read GitHub Actions logs through cafe (#25343)
Julius Marminge4e493b1492c2
diff --git a/AGENTS.md b/AGENTS.mdindex 01666d91ec0..b6652181164 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -139,7 +139,7 @@ For authorized mobile verification, a missing or outdated native client is an in## Pull requests- Never make a PR unless the developer explicitly asks you to do so.-- If `origin` is git.cafe, follow [GitCafe mirror](docs/operations/development.md#gitcafe-mirror-optional): push to `origin`, open and track PRs with `cafe` and their git.cafe URLs, and keep `gh` for CI logs and merging.+- If `origin` is git.cafe, follow [GitCafe mirror](docs/operations/development.md#gitcafe-mirror-optional): push to `origin`, open and track PRs with `cafe` and their git.cafe URLs, and keep `gh` for merging.- Conventional commit titles, plain language: `fix(web): new threads no longer spike CPU`.- Body: the problem in a sentence or two, then how you fixed it. End with the model and harness that did the work.- UI changes need before/after images. Motion or timing needs a short video.diff --git a/docs/operations/development.md b/docs/operations/development.mdindex 3222b86d17a..e8ed46688a6 100644--- a/docs/operations/development.md+++ b/docs/operations/development.md@@ -28,8 +28,8 @@ GitCafe.```shgit remote set-url origin https://git.cafe/pingdotgg/t3code.gitgit remote add github https://github.com/pingdotgg/t3code.git-gh repo set-default pingdotgg/t3code # for the few `gh` commands below-bun install -g @gitcafe/cli # `cafe` needs Bun 1.2 or newer+gh repo set-default pingdotgg/t3code # `gh` is still used for merging+bun install -g @gitcafe/cli@latest # `cafe` needs Bun 1.2 or newercafe auth login && cafe auth http setupcafe skills install --global # optional: cafe-* skills for coding agents```@@ -39,14 +39,14 @@ With `origin` on git.cafe, work through GitCafe and leave GitHub's API alone:- Push to `origin`, open PRs with `cafe pr create` (`--head owner/repo:branch` from a fork) or`cafe stack submit`, and use `cafe` for everything after that. Link the git.cafe PR URL, not thegithub.com one, wherever a tool tracks the PR, so polling stays on GitCafe.-- Read checks with `cafe pr status <n>`.+- Read checks with `cafe pr status <n>`, and GitHub Actions logs with `cafe ci logs <run>` (run ids+ from `cafe ci list --pr <n>`). `cafe ci rerun <run>` reruns one. These need `cafe` 0.11 or newer.- Write closing references as `Fixes pingdotgg/t3code#<n>`. GitCafe turns a bare `#<n>` in text itsyncs to GitHub into a git.cafe link, and GitHub does not close issues from those.-- Two things still need `gh`: CI logs and reruns (`gh run view --log`, `gh run rerun`), and- merging, with `gh pr merge <n> --match-head-commit <sha>`, because `cafe pr merge` cannot pin- the commit you reviewed.-- `cafe` flags differ from `gh`: `--repo` not `-R`, `cafe issue comments <n>` not `--comments`,- `cafe pr status` not `pr checks`. `cafe api` paths omit `/api` (`cafe api /repos/...`).+- Merge with `gh pr merge <n> --match-head-commit <sha>`, because `cafe pr merge` cannot pin the+ commit you reviewed.+- `cafe` commands differ from `gh`: `cafe issue comments <n>` not `--comments`, `cafe pr status`+ not `pr checks`.## Choosing a dev process