test: cover Code file scope forwarding and schema sync contracts#608
Draft
cursor[bot] wants to merge 1 commit into
Draft
test: cover Code file scope forwarding and schema sync contracts#608cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
- Add repositories-file-scope tests for file_content get/blame (#602) - Lock in DeployAwsAgentCoreRevision, IdentitiesConfig bundle contracts (#584) - Lock in DynamicStageNodeV1 v1 stage contracts (#567) - Add harness_schema path resolution for new synced definitions Co-authored-by: Rohan Gupta <thisrohangupta@users.noreply.github.com>
|
|
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.
Description
Adds regression tests for recently merged production changes that lacked dedicated coverage:
Forward Code scope for file content APIs #602 — Code file scope forwarding (
tests/registry/repositories-file-scope.test.ts)file_contentget andblameexecute forwardorg_id/project_idasorgIdentifier/projectIdentifierquery paramschore: auto-sync harness schemas #584 / chore: auto-sync harness schemas #567 — Schema sync contracts (
tests/schemas/schema-bundle-contract.test.ts)DeployAwsAgentCoreRevisionstep definitions in v0 pipeline/templateIdentitiesConfig/IdentitySpeccommon definitions (maxProperties, scope enum)DynamicStageNodeV1in v1 pipeline/template unified stagesharness_schema path resolution (
tests/tools/harness-schema-tool.test.ts)harness_schemapath lookupRisky behavior now covered
harness_schemapath lookup breaking for newly synced upstream definitionsWhy these tests materially reduce regression risk
harness_schemalookup tests guard the agent-facing discovery path, not just bundle presenceType of Change
Checklist
pnpm testpasses (targeted: 44 tests in 3 files)pnpm typecheckpassespnpm buildpassespnpm standards:checkpassespnpm docs:checkpassesValidation