Skip to content

ci: build chumbucket from docgen and purge bundles on docgen updates - #8

Merged
rumblefrog merged 1 commit into
masterfrom
claude/dreamy-davinci-fbhfyb
Sep 25, 2026
Merged

rumblefrog merged 1 commit into
masterfrom
claude/dreamy-davinci-fbhfyb

Conversation

@rumblefrog

Copy link
Copy Markdown
Member

docgen switched to a tree-sitter based parser (sourcemod-dev/docgen#30) and fixed the created and last updated dates picked up by the walker (sourcemod-dev/docgen#31). No chumbucket release was published for these changes. The latest tag is still cb-0.4.3, and with that binary every scheduled run has failed at "Process manifests".

This PR purges the existing bundles and regenerates them from scratch with the updated docgen.

Changes

  • Build chumbucket from a pinned docgen commit (DOCGEN_REF, currently master e3b1c42) instead of downloading a release asset.
  • Record the docgen commit in bundles/.docgen. When the pinned commit changes, delete every *.bundle and the index before generating, so bundles are rebuilt from full history instead of continuing from ones the old parser made. The purge and the regeneration happen in the same run and are committed together, so the bundles branch is never left empty, and a failed run commits nothing.
  • Add a purge input for manual (workflow_dispatch) runs.
  • Bump actions/checkout to v4 and set permissions: contents: write for the bundles push.
  • Add a trigger.txt line so merging starts the run, and document the pin in the README.

Local verification

I simulated the workflow steps against a copy of the current bundles branch:

  • The first run purged, then regenerated all 22 manifests and the index with no errors. This includes smjansson, which never had a bundle before.
  • Several bundles picked up symbols the old parser missed (source-chat-relay, sbpp, ttt). core went from 68 to 69 files and from 1239 to 1269 functions.
  • A second run (incremental, with -b and -i) produced no changes.
  • The output was JSON-identical to a standalone from-scratch run.

Note

The Documentation workflow is currently disabled_inactivity. It needs to be re-enabled under Actions before the merge push, or a manual run, will start it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01G58BnU1wSW5boKd7VouCRy


Generated by Claude Code

docgen replaced docparse with a tree-sitter based parser and fixed the
created/last updated dates picked up by the walker, but no chumbucket
release has been published for it. The pinned cb-0.4.3 binary also fails
on current sources, so every scheduled run since has failed.

- Build chumbucket from a pinned docgen commit (DOCGEN_REF)
- Record the docgen commit in bundles/.docgen and purge all bundles and
  the index when it changes, so they are regenerated from scratch instead
  of continuing from bundles made by the old parser
- Add a purge input to manual workflow runs
- Bump actions/checkout to v4 and grant contents: write for the push

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G58BnU1wSW5boKd7VouCRy
@rumblefrog
rumblefrog merged commit fa00403 into master Sep 25, 2026
@rumblefrog
rumblefrog deleted the claude/dreamy-davinci-fbhfyb branch September 25, 2026 00:31
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.

2 participants