Skip to content

test: expose runner, archive, VFS, and SoftFloat regressions - #16

Draft
MuncleUscles wants to merge 4 commits into
v0.3-devfrom
codex/v0.3/runner-regression-tests
Draft

test: expose runner, archive, VFS, and SoftFloat regressions#16
MuncleUscles wants to merge 4 commits into
v0.3-devfrom
codex/v0.3/runner-regression-tests

Conversation

@MuncleUscles

@MuncleUscles MuncleUscles commented Jul 31, 2026

Copy link
Copy Markdown
Member

Summary

Adds failing regression tests for 16 confirmed issues across runner metadata and rewriting, archive parsing, WASI/VFS mapping, Python calldata encoding, and SoftFloat integration.

This PR is intentionally test-only: it does not fix production behavior. The failing cases are collected here so the team can batch-fix them with clear reproduction coverage.

Regressions captured

  • valid Wasm without an import section panics in the float rewriter
  • non-function imports corrupt rewritten function indices
  • runtime archive parsing rejects a valid USTAR form documented by the SDK
  • USTAR prefix and name fields are joined without a slash
  • full-width 100-byte USTAR names are truncated
  • USTAR directory entries are exposed as files
  • USTAR header checksums are not validated
  • stored ZIP contents are accepted with an invalid CRC
  • WASI parent traversal returns Noent because .. is discarded
  • mapped paths containing . become inaccessible
  • distinct archive paths that normalize to the same VFS path silently overwrite
  • mapping a file over an existing directory silently deletes its subtree
  • Python calldata encoding of memoryview produces an undecodable payload
  • rewritten trapping float-to-integer conversions return saturated values instead of trapping
  • runner metadata carrying the schema's supported $schema annotation is rejected
  • unknown fields inside runner action payloads are silently ignored

Validation

  • 75 unrelated executor tests pass
  • formatting and structural checks pass
  • a 31,000+ case scalar differential corpus plus SIMD coverage found no additional SoftFloat numerical mismatches
  • each added regression test fails for its intended reason

Scope

  • tests only
  • no runner, executor, archive, VFS, SDK, or SoftFloat production changes

@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 9146c126-7f1d-42c6-9e4e-da560c5c7835

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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