Skip to content

add support for malformed tests#1918

Draft
yisraelU wants to merge 3 commits into
disneystreaming:series/0.19from
yisraelU:MalformedTestCompliance
Draft

add support for malformed tests#1918
yisraelU wants to merge 3 commits into
disneystreaming:series/0.19from
yisraelU:MalformedTestCompliance

Conversation

@yisraelU

Copy link
Copy Markdown
Contributor

PR Checklist (not all items are relevant to all PRs)

  • Added unit-tests (for runtime code)
  • Added bootstrapped code + smoke tests (when the rendering logic is modified)
  • Added build-plugins integration tests (when reflection loading is required at codegen-time)
  • Added alloy compliance tests (when simpleRestJson protocol behaviour is expanded/updated)
  • Updated dynamic module to match generated-code behaviour
  • Added documentation
  • Updated changelog

@CLAassistant

CLAassistant commented Apr 16, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

…a.js

Use .attempt instead of .attemptNarrow[IntendedShortCircuit] so server
exceptions during decode of malformed input are treated as valid rejections.

Add index suffixes to parameterized test IDs to prevent name collisions.

Skip malformed request test generation entirely on Scala.js — Timestamp.parseDateTime
uses unchecked charAt that produces fatal UndefinedBehaviorError on JS.
These tests still run on JVM.
@yisraelU yisraelU force-pushed the MalformedTestCompliance branch from 48288ff to a4a9e6a Compare April 16, 2026 21:25
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.

2 participants