Skip to content

ci(repo): notify the docs repo when agent packages publish - #357

Draft
claude[bot] wants to merge 1 commit into
mainfrom
claude/notify-docs-on-release
Draft

claude[bot] wants to merge 1 commit into
mainfrom
claude/notify-docs-on-release

Conversation

@claude

@claude claude Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Xe Iaso, Katie Schilling · Slack thread

Before: When a release publishes a new CLI, agent-kit, agent-shell or storage SDK version, nothing tells the docs team. The agent docs in tigris-os-docs can fall behind the packages until someone happens to notice.

After: When a stable release publishes @tigrisdata/cli, @tigrisdata/agent-kit, @tigrisdata/agent-shell or @tigrisdata/storage, the release workflow tells tigris-os-docs. That repo then opens an issue titled "Check agent docs for …" that lists the new versions with links to their changelogs and releases, and cc's @Xe and @katieschilling. A release that publishes only other packages (iam, react, keyv-tigris, cli-shell) sends nothing.

How: A new step in the release job of .github/workflows/release.yaml comes after "Detect CLI publish". It runs only when changesets/action reports published == 'true'. It keeps the four packages above from published-packages and sends a repository_dispatch event (agent-packages-released) to tigrisdata/tigris-os-docs with client_payload: { packages: [{ name, version }], run_url }. The receiving workflow is in tigrisdata/tigris-os-docs#555.

Someone with admin access must add a repository secret named DOCS_REPO_DISPATCH_TOKEN. Use a fine-grained personal access token or a GitHub App installation token. Limit it to tigrisdata/tigris-os-docs and give it the Contents: Read and write repository permission, which POST /repos/{owner}/{repo}/dispatches requires. Metadata: Read comes with it automatically. Until the secret exists, the step prints a notice and skips. The step also has continue-on-error: true, so a failed dispatch never fails a release. Beta snapshot runs (workflow_dispatch) send nothing.

This change touches only CI and ships nothing to npm, so it has no changeset. actionlint passes on the changed workflow.

🤖 Generated with Claude Code

https://claude.ai/code/session_015Qg5NUvpUUpqnqd6ow5Xdv

After a stable release, send a repository_dispatch event
(agent-packages-released) to tigrisdata/tigris-os-docs with the published
cli, agent-kit, agent-shell and storage versions, so the docs repo opens an
issue to check the agent docs. The step needs a DOCS_REPO_DISPATCH_TOKEN
secret, skips with a notice when it is unset, and never fails the release.

Assisted-by: Claude Opus 5.5 via Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015Qg5NUvpUUpqnqd6ow5Xdv
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.

1 participant