Skip to content

fix: fail validation when a runtime operation is undocumented - #189

Merged
bluejeans117 merged 1 commit into
mainfrom
feat/node-disagreement-loop
Sep 22, 2026
Merged

bluejeans117 merged 1 commit into
mainfrom
feat/node-disagreement-loop

Conversation

@bluejeans117

Copy link
Copy Markdown
Collaborator

Summary

  • An implemented route that OpenAPI does not document is now an error. The validation status is fail, so flexdoc validate exits 1 under the default policy and the log names the method and path.
  • Duplicate registrations stay warnings. Partial-discovery findings are unchanged.
  • This is LOOP-01 of the Node disagreement loop. Opening the route and sending it are the next steps.

Test plan

  • Backend contract-validation and runtime-intelligence tests
  • Runtime panel still renders the finding
  • CLI test: undocumented POST /internal/reindex exits 1 and the output names that operation
  • CI on this pull request

An implemented route missing from OpenAPI was a warning, so flexdoc
validate exited successfully unless CI opted into --fail-on warning.
That disagreement is the check this cycle exists to run. It is now an
error, the derived status is fail, and the default CLI policy exits 1
while naming the method and path. Duplicate registrations stay warnings.

Signed-off-by: Vishnu R <vishnurajesh45@gmail.com>
@bluejeans117
bluejeans117 merged commit 4db1be6 into main Sep 22, 2026
21 checks passed
@bluejeans117
bluejeans117 deleted the feat/node-disagreement-loop branch September 22, 2026 11:24
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