Repository navigation
ci(docs): dispatch docs updates on releases only - #27
Conversation
Docs on automem.ai follow published releases. docs-dispatch.yml becomes a reusable workflow that release-please.yml calls once a release is created, diffing the release against the previous release tag. A manual run documents a given release tag, or the latest release by default. The payload adds release_tag and release_version and drops head_sha and commit_url, since client_payload allows at most 10 top-level properties. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 09ba829cc3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Babysit: verified green at |
Summary
Docs on automem.ai now follow published releases.
docs-dispatch.ymlfires on every push tomain, and since verygoodplugins/automem-website#370 merged, the website skips any dispatch that isn't a published release. Same change as verygoodplugins/mcp-automem#251.release-please.ymlgets adocs-dispatchjob. It callsdocs-dispatch.ymlonce release-please creates a release (release_created == 'true') and passestag_name. The release-please step had noidand the job had no outputs, so both are added. Without them the docs job would silently never run.docs-dispatch.ymlis now a reusable workflow (workflow_call) plus a manual run that defaults to the latest release. It diffs the release against the previousautomem-graph-viewer-v*tag, so the docs audit sees the whole release. Thepushtrigger is gone.AGENTS.mdnow describes the release-only dispatch instead of the old push trigger (Codex review finding).release_tagandrelease_versionand dropshead_shaandcommit_url.client_payloadallows at most 10 top-level properties,source_shaalready is the release commit, and automem-website falls back for both.Release flow check
0.4.0 and 0.5.0 were created by release-please on
main, tagging the mergedchore(main): release automem-graph-viewer X.Y.Zcommit 8 to 10 seconds after the release PR merged. Tags carry the component prefix (automem-graph-viewer-v0.5.0), andrelease_versionstrips through the lastv, giving0.5.0.The docs job runs inside the same workflow run, so it fires even if release-please ever falls back to
GITHUB_TOKEN. The dispatch itself still usesRELEASE_PLEASE_TOKEN, same as today. A release published by hand never setsrelease_created. Recovery is a manual Docs Dispatch run with that tag.The oldest tag is unprefixed
v0.2.0, so a manual backfill ofautomem-graph-viewer-v0.3.0would warn and diff from the first commit. Every newer release resolves fine.Validation
Get changed filesscript out of the edited YAML and ran it locally forautomem-graph-viewer-v0.5.0. Base resolves to theautomem-graph-viewer-v0.4.0commit1e7ea81, head toc6338d1. That's 30 changed files and 2 affected doc pages against the website's currentfile-doc-map.json. An emptyrelease_tagresolves the same way throughreleases/latest.gh apiswapped for a key count: exactly 10client_payloadkeys.🤖 Generated with Claude Code