Generate the deterministic recipe-wrangle runtime contract manifest - #1196
Closed
mborodii-prog wants to merge 1 commit into
Closed
mborodii-prog wants to merge 1 commit into
mborodii-prog wants to merge 1 commit into
Conversation
8 tasks
mborodii-prog
deleted the
feat/Generate-and-publish-a-versioned-runtime-manifest-for-every-WranglesPY-release
branch
September 25, 2026 06:18
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.
Related to #1195.
Adds a versioned runtime manifest so Wrangles-Docs can reconcile its Registry against the executable contract of a specific WranglesPY version and commit.
This brings forward Eric’s existing
generate_wrangle_manifest.pyimplementation and integrates it into the current CI and tagged-release workflows.Changes
0.1JSON Schema.--outputoption and default output filename.Tagged exports verify that the selected tag, package version, and checkout commit agree. Uncommitted runtime or exporter changes are rejected unless explicitly generating a local preview.
Catalog identity support
Adds
wrangles.utils.catalog_identityto attach an already allocated catalog ID to a callable.The exporter preserves this ID as a decimal string, validates PostgreSQL BIGINT bounds, and rejects duplicate identities. Functions without an annotation are exported without
catalog_id.This PR does not allocate IDs or add annotations to existing operations.
Local examples
Install the required dependencies:
Generate a validated manifest from committed source:
Generate a development preview containing uncommitted changes:
Output:
Workflow integration
Both
ci.ymlandpublish-tagged.ymlrun the focused tests, generate the manifest, and upload:schema: recipe schema, legacy manifest filename, and manifest validation schema.runtime-manifest: manifest JSON and SHA-256 checksum.CI produces preview artifacts. Successful stable tagged-release runs provide the version-specific runtime contract.
Automatic download, Registry content updates, and import into Wrangles-Docs remain part of wrangleworks/Wrangles-Docs#35. DEV/RC exports and GitHub Release assets are outside this change.
Validation
actionlint.