rea-ci-tests-audit
MOmorluto/rea485k近 7 天新增 9,215 个 star
Create a draft pull request for the Vision-Agents repo using gh CLI.
git log main..HEAD --oneline. If the branch contains more than one independent logical change, STOP and ask the user whether to split it before proceeding.uv run --no-sync dev.py check. Skip if the diff does not touch Python code (*.py) or pyproject.toml — e.g. docs-only, .gitignore, .github/, or .claude/ changes.CHANGELOG.md: it is written once per release (Changelog in AGENTS.md). The one exception is a line under # Unreleased → Breaking Changes for a PR that breaks a published SDK's API. Put what users need to know in the PR body.gh pr create --draft. Push the branch first.gh pr ready starts the workflows whose paths the PR touches, and every push after it runs them again, so mark it ready once the branch is done, not before..github/pull_request_template.md. Read every commit on the branch, do not summarise from the latest commit alone.main once a PR has two or more commits, and GitHub appends (#NNN). 65 plus that suffix stays within the 72 GitHub's docs give as the commit title maximum; 50 is what git help commit and Pro Git recommend.AI-833) counts toward the limit; details go in the body.feat(connectors): connector definitions table seeded from built-in manifests (AI-833). Good, 44: AI-833: connector definitions with revisions.## How it works section shows the idea with a chart. Give small tables for "change → result → test that proves it" and for before/after.
gh pr view. Draw with ├─ └─ │ -> and keep each line within 80 columns, the default terminal width.sequenceDiagram for a protocol or concurrency. It spreads across, not down, so ASCII saves no height, and the actor columns leave too little width for the messages. No ; inside a message (it splits statements).PG for Postgres). No one-letter keys: the reader should not look anything up.file:line, test names, commits. Mark anything not checked as unverified.## Why is motivation + context. ## Changes, if included, is high-level; never per-bullet justifications, those belong in ## Why.## Why (e.g. "users reported X (#478)"), not as a trailing Fixes #N.When a PR changes the shape of a query, for performance or any other reason, the body shows the evidence. Query plans are the one tool output the body carries.
EXPLAIN (ANALYZE, BUFFERS) on both versions against the same data, and put each in a <details> block. Compare buffers (shared hit, read), not only time: a warm cache can make a slow plan look fast. Say where you ran them and on how many rows.<table>
<tr><th>Before</th><th>After</th></tr>
<tr><td>
```sql
SELECT ... ORDER BY revision DESC LIMIT 1
```
</td><td>
```sql
SELECT DISTINCT ON (customer_id, id) ...
```
</td></tr>
</table>
<details><summary>Plan before: <code>EXPLAIN (ANALYZE, BUFFERS)</code>, staging, 1.2M rows</summary>
```
Seq Scan on connector_definitions ... Buffers: shared hit=120 read=8410
```
</details>
<details><summary>Plan after</summary>
```
Index Scan using connector_definitions_pkey ... Buffers: shared hit=4
```
</details>
| | Before | After |
| --- | --- | --- |
| Buffers (hit + read) | 8,530 | 4 |
| Execution time | 412 ms | 0.08 ms |
| `GET /v1/agents/connectors` p95 | 450 ms | 15 ms |
The numbers in the example are made up, to show the shape. A real PR uses only numbers from plans it ran.
MOmorluto/rea485k近 7 天新增 9,215 个 star
MOmorluto/rea485k近 7 天新增 9,215 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star