Repository navigation
Remove Chargebee/Flexport doc samples and move Bridge.xyz to v0 - #108
Merged
Merged
Conversation
webhook-registry #231 dropped these composed samples and moved Bridge.xyz's doc version to v0; the sync script doesn't delete whole providers or edit existing index.json files, so do it by hand. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mp6yzxrVELJ8wYUxdn1aRi
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Gareth · project thread
Cleans up the leftovers from webhook-registry #231 that the automatic sync (#107) doesn't handle. The sync script never removes a provider that is gone from
samples-doc/, and it never edits an existing provider'sindex.json.chargebee/v2/subscription_created.json,flexport/latest/shipment.created.jsonandshipment_leg.departed.json) because they were composed for the skills but labelled as vendor docs. With no samples left, theirindex.jsonfiles go too, so Inspect no longer lists either provider.v0.index.jsonnow matches the registry's file (latest_version: v0). The composed2024-01-01/customer.updated.jsonis removed. Sync doc samples from webhook-registry #107 already added the 26v0doc samples.topic.test.ts. ThesafeStemtable checked thatflexport/latest/shipment_leg.departed.jsonexists. The/shipment_leg#departed→shipment_leg.departednaming check is now a standalone assertion without the file lookup.Checks:
yarn testpasses (26 tests) andyarn compilebuilds.sync_webhook_samples.py --checkagainst registry 64e034b4 reports no changes afterwards. The website's Chargebee and Flexport flags may need unsetting, as #231 noted.Generated by Claude Code