Skip to content

test(database): accept public coroutine modules against real services - #94

Merged
nick2781 merged 1 commit into
mainfrom
test/public-database-services
Oct 20, 2026
Merged

nick2781 merged 1 commit into
mainfrom
test/public-database-services

Conversation

@nick2781

Copy link
Copy Markdown
Member

Public MySQL and Redis coroutine modules now have a permanent real-server acceptance executable, covering the APIs applications actually use. It validates owning inputs/results, owner-thread resumption on the shared business runtime, accepted workflows completing during natural shutdown, MySQL prepared execution and commit/rollback visibility, and Redis binary pipelines. It also verifies that an exception unwinding the host stack does not destroy captures before accepted workflows finish.

The executable is compiled by the database regression target without requiring a server in CI. Users can run it directly or select public-redis, public-mysql, or public-services in the existing shell runner. Endpoints must be explicitly configured; missing configuration fails instead of skipping.

Validation:

  • Local MySQL 8.4.11 with a dedicated database/account and verified TLS, and authenticated Redis 7.4.2: both public protocol suites passed, including deliberate host-stack unwinding.
  • The same real-server checks passed under ASan/UBSan with stack-use-after-return detection enabled; leak detection was disabled.
  • Existing native Redis/MySQL service, MySQL transaction, and both native coroutine real-server regressions also passed on accepted main.
  • Focused database regressions, SSL-disabled compilation and clang-format 18 checks passed.

These tests validate real single-node operations and drain behavior. They do not establish database-restart recovery, arbitrary DSO hot unloading, cross-machine capacity, or production PCU limits. Servers, credentials, raw evidence and build logs remain local and are not included in the repository.

@nick2781
nick2781 enabled auto-merge October 20, 2026 01:37
@nick2781
nick2781 added this pull request to the merge queue Oct 20, 2026
Merged via the queue into main with commit 7384b04 Oct 20, 2026
8 checks passed
@nick2781
nick2781 deleted the test/public-database-services branch October 20, 2026 01:59
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