Skip to content

Support AsyncAPI 3 dispatch and stable resolved-schema hashes - #685

Merged
daveshanley merged 2 commits into
mainfrom
codex/asyncapi3-detection
Oct 31, 2026
Merged

daveshanley merged 2 commits into
mainfrom
codex/asyncapi3-detection

Conversation

@daveshanley

@daveshanley daveshanley commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Strict format detection now accepts AsyncAPI 3 YAML/JSON so callers can transfer the parsed tree to libasyncapi without parsing again. Future major versions remain rejected.

Resolved reference hashes honor UseSchemaQuickHash even when a caller accessed the schema model before hashing. The same external schema edit is detected with both cold and warm models. Default reference hashing is unchanged.

This is the first dependency for libasyncapi #8, doctor #123, and openapi-changes #283.

Validation: full local Go suite passed. Regressions cover YAML/JSON detection, duplicate markers, and cold/warm resolved-schema hashes. Linux, Windows, CodeQL, and coverage checks pass on ce227ab; Codecov reports 100% patch coverage.

@codecov

codecov Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (1fdef3e) to head (ce227ab).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #685   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          310       310           
  Lines        39385     39387    +2     
=========================================
+ Hits         39385     39387    +2     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@daveshanley daveshanley changed the title Accept AsyncAPI 3 in specification detection Support AsyncAPI 3 dispatch and stable resolved-schema hashes Oct 29, 2026
@daveshanley
daveshanley marked this pull request as ready for review October 29, 2026 16:48
@daveshanley
daveshanley merged commit f833067 into main Oct 31, 2026
7 checks passed
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.

1 participant