Repository navigation
refactor: share Inspector finding contract - #4377
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
This branch had an error being 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.
Summary
Share the identical Inspector issue validator between the Node action and package backend, and derive both owners' finding/remediation types from that validator. Removes 51 net lines across four files.
Best-fix verdict: use a leaf that imports only
convex/values. Keeping another field list would preserve drift; importing either owner into the other would cross the Node/V8 boundary. Existing local names remain aliases, and the Node directive stays first.Behavioural Proof
Verification
convex/packageInspectorNode.test.ts,convex/packageInspectorNode.lifecycle.test.ts,convex/packageInspectorHttp.test.ts,convex/packageSdkUsage.runtime.test.ts, andconvex/packages.public.test.ts.bun run ci:staticbun run ci:unit(8,949 passed; 5 skipped)bun run ci:types-build(includes schema/CLI package and deploy-equivalent Convex typechecks)bun run ci:e2e-httpautoreview --mode local --max-priority P3: clean through P3.Preview Deployment Uncertainty
The Vercel preview status for head
cc5b987322f65d38daa72371399a5620ad570d52failed: deployment. GitHub reports only “Deployment has failed”; deployment logs are not accessible in this session, so the cause is unverified. Independent native static, full unit, TypeScript/build, HTTP, exact SDK-contract, private-type parity, and local Convex push checks passed. This preview failure is not being represented as green. Merge uses ordinary GitHub rules without an admin override.No security/trust or storage/wire-contract change. AI-assisted; I understand and can maintain this refactor.