Skip to content

test: cover DM data types and connection options - #6

Merged
skhe merged 1 commit into
mainfrom
codex/type-connection-behavior-matrix
Sep 26, 2026
Merged

skhe merged 1 commit into
mainfrom
codex/type-connection-behavior-matrix

Conversation

@skhe

@skhe skhe commented Sep 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add 38 real-DM P1 cases for scalar and NULL round trips, connection address forms, cursor shape, schema, autocommit, isolation, and common option parsing.
  • Fix TIME binding shifting five minutes under Asia/Shanghai historical timezone rules. Run the hosted real-DM suite with TZ=Asia/Shanghai to retain the regression signal.
  • Record the observed type mapping, tested limits, and the remaining high-precision DECIMAL(30,8) write defect.

Verification

  • Official DM8 ARM64 on local OrbStack: 104 passed, 0 failed/errors/skipped on each of CPython 3.9–3.13.
  • go test ./..., actionlint, workflow YAML and version checks passed locally.

Known gap

Binding 12345678901234567890.12345678 to DECIMAL(30,8) stores a zero fractional part. This PR documents the failure; it is not safe to claim that high-precision decimal writes are covered. Timeout and app-name effectiveness also need dedicated checks.

@skhe
skhe marked this pull request as ready for review September 26, 2026 12:50
@skhe
skhe merged commit 8ed053f into main Sep 26, 2026
13 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