Automate PR creation to update Wallet Gateway OpenRPC sources#732
Draft
danielporterda wants to merge 1 commit into
Draft
Automate PR creation to update Wallet Gateway OpenRPC sources#732danielporterda wants to merge 1 commit into
danielporterda wants to merge 1 commit into
Conversation
b2d4606 to
d34f30a
Compare
488d586 to
4aa6fe8
Compare
cfdaec4 to
71394e1
Compare
71394e1 to
6657c4e
Compare
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.
Summary
scripts/generated_reference_sources/, with typed config dataclasses for Splice OpenAPI and Wallet Gateway OpenRPCrawpayload with source-specificTypedDictshapes, including nested Splice family/spec entries and Wallet Gateway spec entriesscripts/generated_reference_pr_utils.pyAnyJSON handling from the new updater/summarizer code in favor of concrete source-config dataclasses, TypedDict payloads, and narrowed JSON mappingsdirenv exec; direct execution only happens after the script's own marked re-entry to avoid recursion.github/workflows/update-version-dashboard.ymlas a thin Action wrapper that callsscripts/update_generated_reference_prs.py --targets allGITHUB_REF_NAMEonly as a detached-checkout fallbackgh repo view, while still allowing--base-branchand--repositoryoverrides for unusual local runsValidation
python3 -m pytest tests/test_docs_env.py tests/test_update_generated_reference_sources.py tests/test_update_generated_reference_prs.py tests/test_summarize_version_changes.py tests/test_generate_network_component_versions.py tests/test_wallet_kernel_nav.py tests/test_openrpc.pypython3 -m py_compile scripts/docs_env.py scripts/generated_reference_pr_utils.py scripts/update_generated_reference_prs.py scripts/update_generated_reference_sources.py scripts/generated_reference_sources/__init__.py scripts/generated_reference_sources/common.py scripts/generated_reference_sources/splice_openapi.py scripts/generated_reference_sources/wallet_gateway_openrpc.py scripts/summarize_version_changes.py scripts/generate_network_component_versions.py scripts/generate_wallet_gateway_openrpc_reference.pypython3 scripts/update_generated_reference_sources.py --help.github/workflows/update-version-dashboard.ymlwith PyYAMLpython3 scripts/update_generated_reference_prs.py --helprgscan confirmed noAnyremains in the PR-owned updater/summarizer/test files and no hidden GitHub repository env lookup remainsgit diff --check