test: cover dbops authoring flow and entity schema cache gaps#419
Closed
cursor[bot] wants to merge 2 commits into
Closed
test: cover dbops authoring flow and entity schema cache gaps#419cursor[bot] wants to merge 2 commits into
cursor[bot] wants to merge 2 commits into
Conversation
Bump version to 3.2.2 across package.json, root and directory bundle manifests, and the release-metadata version contract test. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> AI-Session-Id: 7ac8d1f2-ac05-4023-8226-8b0012f3adae AI-Tool: claude-code AI-Model: unknown
…scope validation Add regression tests for recently merged production code: - DBOPS: snapshot_object list/get validation, default authoring instance and LLM pipeline GET dispatch, execute read-only gating, bodyBuilder edge cases (empty runtime_inputs, camelCase branches) - Entity schema: preloadBundledEntitySchemas warm/no-overwrite behavior, org/project scope validation, org-scope cache isolation, live navigation helpers and alternate extractLiveSchema response shapes Co-authored-by: Rohan Gupta <thisrohangupta@users.noreply.github.com>
|
|
7 tasks
Collaborator
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.
Risky behavior now covered
DBOPS LLM authoring flow (PR #309)
database_snapshot_objectlist — query param mapping (object_type→objectType,size→limit) and snapshot-names path constructiondatabase_snapshot_objectget —object_namesvalidation (missing, empty, non-array) and defaultobject_type: "Table"database_default_authoring_instanceget — path and response contract for auto-selecting an authoring instancedatabase_llm_authoring_pipelineget —dbSchema/dbInstancequery params for Accept & Commit pipeline resolutiondatabase_execute_llm_authoring_pipelinerun — read-only mode blockslow_writeexecute; bodyBuilder omits emptyruntime_inputs, accepts camelCase branches, enforces mutual exclusion;skipScopeBodyInjectionmetadataEntity schema cache (PR #396)
preloadBundledEntitySchemas— warms runtime cache on account match, skips warm on mismatch, does not overwrite existing entriesorg_id, project scope withoutproject_id(fetcher +harness_schematool)getResourceDefinitions,getRootDefinition,navigateEntitySchemaPath,getEntitySchemaSummarybundled vs live hintsextractLiveSchema—yamlSchemaand nesteddata.yaml_schemaenvelopes; throws on non-schema responsesbuildBundledSchemaKeyand org-levelbundledSnapshotMatchesScoperejectionTest files added/updated
tests/registry/dbops.test.tstests/registry/toolsets/dbops.test.tstests/tools/entity-schema-bundled.test.tspreloadBundledEntitySchemaswarm pathtests/tools/entity-schema-cache-keys.test.tsbuildBundledSchemaKey, org scope gatetests/tools/harness-schema-tool.test.tstests/tools/entity-schema-live.test.tsWhy these tests materially reduce regression risk
org_id); org and project_id guards are now enforced at both fetcher and tool layers.Validation
116 tests passed (6 files).