Skip to content

Commit 71eaa6c

Browse files
author
baton-admin[bot]
committed
chore: update baton-admin doc files
1 parent bfdba39 commit 71eaa6c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.claude/skills/connector/fix-ci-checks.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,32 @@ Fix CI failures on connector PRs. This skill covers the three managed CI workflo
99

1010
## Generate Baton Metadata failures
1111

12+
### Committed metadata out of date
13+
14+
**When**: The `Generate Baton Metadata` workflow step `Verify committed metadata is up to date` fails with "committed baton_capabilities.json and/or config_schema.json are out of date."
15+
16+
**Cause**: Your code changes altered the connector's capabilities or config schema, but you didn't regenerate and commit the updated JSON files.
17+
18+
**Fix**:
19+
20+
1. Build the connector and regenerate metadata:
21+
22+
```bash
23+
CONNECTOR_NAME=$(ls cmd/ | head -1)
24+
go build -o connector "./cmd/${CONNECTOR_NAME}"
25+
./connector capabilities > baton_capabilities.json
26+
./connector config > config_schema.json
27+
```
28+
29+
2. Commit the updated files:
30+
31+
```bash
32+
git add baton_capabilities.json config_schema.json
33+
git commit -m "Regenerate metadata from updated binary"
34+
```
35+
36+
If the docs freshness check also fails, update `docs/connector.mdx` too — see the next section.
37+
1238
### Docs not matching metadata
1339

1440
**When**: The `Generate Baton Metadata` workflow step `Verify docs match current metadata` fails with "docs/connector.mdx was not updated."

0 commit comments

Comments
 (0)