Skip to content

Release 1.8.0: Validation deep checks#721

Merged
reid-spencer merged 4 commits into
mainfrom
development
Feb 11, 2026
Merged

Release 1.8.0: Validation deep checks#721
reid-spencer merged 4 commits into
mainfrom
development

Conversation

@reid-spencer
Copy link
Copy Markdown
Contributor

Summary

  • Schema kind-specific deep validation (flat, time-series, hierarchical, star)
  • Adaptor message direction compatibility checks (inbound/outbound)
  • Handler message type vs container type warnings (repository/projector)
  • Streaming sink reachability via reverse BFS
  • Fixed pre-existing adaptor cross-context type resolution bug
  • 4 new test cases with .check files covering 26 validation messages

Test plan

  • 268 passes tests pass (4 new)
  • 280 language tests pass
  • 49 commands tests pass
  • 10 riddlLib tests pass
  • All 13 CheckMessages tests pass (9 existing + 4 new)

🤖 Generated with Claude Code

respencer-ncl and others added 4 commits February 9, 2026 13:07
- Add RiddlLib.ast2bast(root) to shared trait, object impl,
  and RiddlAPI JS facade (returns Int8Array) for efficient
  AST-to-BAST serialization via BASTWriterPass
- Add TypeScript declarations for getHandlerCompleteness,
  getMessageFlow, getEntityLifecycles, ast2bast with return
  type interfaces (HandlerCompletenessEntry, MessageFlowResult,
  MessageFlowEdge, EntityLifecycleEntry, StateTransitionEntry)
- Add ast2bast test verifying BAST magic header bytes
- Update CLAUDE.md and NOTEBOOK.md: mark work queue items
  #1 and #3 complete, document session work

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Four new validation improvements from gap analysis:
- Schema kind-specific deep checks (flat multi-node, time-series
  indices, hierarchical/star link warnings, relational FK error)
- Adaptor message direction compatibility (inbound/outbound checks)
- Handler message type vs container type (repo/projector warnings)
- Streaming sink reachability via reverse BFS
- Fix pre-existing bug in adaptor cross-context type resolution

Includes 4 new test cases with .check expectation files covering
26 individual validation messages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Session save: schema parser hyphenation, consecutive schema
terminators, adaptor cross-context resolution learnings.
Updated session log with test case details and release info.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@reid-spencer reid-spencer merged commit 8d7ea1c into main Feb 11, 2026
11 of 12 checks passed
@reid-spencer reid-spencer deleted the development branch February 11, 2026 21:29
@sonarqubecloud
Copy link
Copy Markdown

@coveralls
Copy link
Copy Markdown

scala-steward pushed a commit to scala-steward/riddl-1 that referenced this pull request Feb 20, 2026
Release 1.8.0: Validation deep checks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants