CI hardening, type safety improvements, and DX gaps (11 fixes)#29
Draft
CI hardening, type safety improvements, and DX gaps (11 fixes)#29
Conversation
Co-authored-by: numbers-official <[email protected]>
Co-authored-by: numbers-official <[email protected]>
Copilot
AI
changed the title
[WIP] [Feature] Improve CI pipeline reliability and type safety
CI hardening, type safety improvements, and DX gaps (11 fixes)
Mar 15, 2026
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.
Addresses 11 medium-priority gaps spanning CI reliability, type safety, and developer experience across both SDKs.
CI/CD
package.json,pyproject.toml, and__init__.py["3.11", "3.12", "3.13"];requires-pythonupdated to>=3.11["18", "20", "22"]to match declaredengines.noderangesoftprops/action-gh-releasebumped fromv1(Node 16) tov2--cov-fail-under=80; currently at 87%); TypeScript getsvitest.config.tswith v8 coverage via newtest:coveragescriptcontents: read(principle of least privilege)Type Safety
AssetTreeindex signature[key: string]: unknownreplaced withextra?: Record<string, unknown>— the index signature was disabling excess property checking across the entire interfaceCommit.timestamp(seconds) andIntegrityProof.created_at(milliseconds) in both SDKs to eliminate the ambiguity between API and proof timestampsArchitecture
CaptureOptionsin both SDKs — enables staging/custom environments without forking:Developer Experience
py.typedmarker added (python/numbersprotocol_capture/py.typed) —pyproject.tomlalready declaredTyping :: Typedbut the PEP 561 marker was missingerrors.test.ts(25 tests),crypto.test.ts(8 tests);client.test.tsextended withget(),update(),register(),searchNft(), and URL-override tests (58 total)test_client_api.pyandtest_verify.pyOriginal prompt
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.