Skip to content

Enhance error messages for oracles by performing validation before passing to Datasworn - #597

Merged
cwegrzyn merged 4 commits into
mainfrom
better-oracle-validation
Sep 3, 2025
Merged

cwegrzyn merged 4 commits into
mainfrom
better-oracle-validation

Conversation

@cwegrzyn

@cwegrzyn cwegrzyn commented Aug 17, 2025

Copy link
Copy Markdown
Collaborator

This performs content validation before passing content to Datasworn. This allows us to filter problematic files before passing to Datasworn, resulting in partial builds and richer error information.

This also renders that error info in the homebrew inspector, and fixes an issue with the Homebrew Inspector that popped up after migrating to true-myth. (It was broken and now it is not...)

@cwegrzyn cwegrzyn self-assigned this Aug 17, 2025
@cwegrzyn cwegrzyn added the feature New feature or request label Aug 17, 2025
@cwegrzyn
cwegrzyn force-pushed the better-oracle-validation branch from b3be0f9 to e729f2b Compare September 1, 2025 18:45
It's been unable to report errors correctly since the true-myth migration, because of structured cloning clobbering prototypes and the twice-cursed TS type system assuring me the types were still the same.
@cwegrzyn
cwegrzyn marked this pull request as ready for review September 3, 2025 10:49
@cwegrzyn
cwegrzyn force-pushed the better-oracle-validation branch from e78d133 to ee3b76f Compare September 3, 2025 10:51
@cwegrzyn
cwegrzyn merged commit 7e250f3 into main Sep 3, 2025
4 checks passed
@cwegrzyn
cwegrzyn deleted the better-oracle-validation branch September 3, 2025 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant