Skip to content

build(api): copy the bot contract without pins or release updates - #11

Merged
cheetahbyte merged 1 commit into
mainfrom
build/contract-copy-from-bot
Nov 9, 2026
Merged

cheetahbyte merged 1 commit into
mainfrom
build/contract-copy-from-bot

Conversation

@cheetahbyte

Copy link
Copy Markdown
Contributor

Summary

scripts/contract.py update --from DIRECTORY now copies the contract files from a local directory such as bot/openapi. Removes contract/pin.json, the checksum manifest, release downloads, and the weekly update workflow.

Why

bot no longer publishes contract releases, so pinning and downloading them has nothing to fetch.

Evidence

  • python3 -m unittest discover -s scripts -p 'test_*.py': OK
  • python3 scripts/contract.py check: Verified byte-identical generated output
  • ./gradlew test lintDebug: Not run locally; CI runs it.

Risk and rollback

Reversibility: Reversible

Blast radius: Contract tooling and CI. Contract updates become a manual step against a local bot checkout. The CI check that generated code matches the contract stays.

scripts/contract.py update --from DIRECTORY copies the contract files from a directory such as bot/openapi. Remove pin.json, the checksum manifest, release downloads, and the weekly update workflow, because bot no longer publishes contract releases. The CI check that generated code matches the contract stays.
@cheetahbyte
cheetahbyte merged commit 7628e28 into main Nov 9, 2026
1 check passed
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