Repository navigation
fix(test): green the 2 core schema-test failures - #1403
Merged
mstomar125 merged 1 commit intoJun 10, 2026
Merged
mstomar125 merged 1 commit into
mstomar125 merged 1 commit into
Conversation
- test_update_schema_add_valid_title_template created a "Person" base schema, which now collides with the core `person` schema (ADR-037 #1401) — rename the test entity to "Employee". - test_integration_schema_id_generation asserted "customer-invoice" (hyphen), but normalize_schema_id joins on '_' (its dedicated unit tests confirm; the hyphenated core ids like code-block aren't generated through it) — assert "customer_invoice" and fix the stale "→ customer-profile" doc example. cargo test -p nodespace-core --lib: 954 passed, 0 failed. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
malibio
pushed a commit
that referenced
this pull request
Jun 22, 2026
- test_update_schema_add_valid_title_template created a "Person" base schema, which now collides with the core `person` schema (ADR-037 #1401) — rename the test entity to "Employee". - test_integration_schema_id_generation asserted "customer-invoice" (hyphen), but normalize_schema_id joins on '_' (its dedicated unit tests confirm; the hyphenated core ids like code-block aren't generated through it) — assert "customer_invoice" and fix the stale "→ customer-profile" doc example. cargo test -p nodespace-core --lib: 954 passed, 0 failed. Co-authored-by: Mayank Tomar <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
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.
The only red in a full core diagnostic — 2 failing schema tests.
test_update_schema_add_valid_title_templatecreated a base schema named"Person", which now collides with the corepersonschema added by ADR-037 (Implement PersonNodeBehavior #1401):Schema 'Person' already exists. Renamed the test entity to"Employee". (Regression from Implement PersonNodeBehavior #1401.)test_integration_schema_id_generationasserted"customer-invoice"(hyphen), butnormalize_schema_idjoins on_— its dedicated unit tests (normalize_schema_id_tests) confirm"Customer Profile" → "customer_profile". The hyphenated core ids (code-block, …) are hardcoded, not generated through this path. Fixed the assertion to"customer_invoice"and the stale doc example. (Pre-existing.)cargo test -p nodespace-core --lib: 954 passed, 0 failed (was 952/2). Test-only + a doc comment; no behavior change.