diff options
| author | Eric Yue <jiacheng.yue@foxmail.com> | 2026-09-16 20:52:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-16 14:52:48 +0200 |
| commit | 0d14759cb6381b2cfc3fb33ff02761668c8c6405 (patch) | |
| tree | 62c0dcb24d890284ddbe10a38a0dec85f5ac9bce /.github/workflows | |
| parent | ab15da285e9d74bea476375f635f73148d551d24 (diff) | |
test: wait for app readiness before late session injection (#4224)
Root cause:
The API socket is bound before App evaluates session restore. Waiting only
for that socket lets the late-session test inject its file during startup,
so the server may load it normally instead of exercising late-file recovery.
The missing backup then fails an otherwise correct persistence assertion.
Fix:
Wait for a read-only workspace-list request to pass through App and assert
that the workspace list is still empty before injecting the session file.
Keep the existing autosave deadline and byte-for-byte backup assertion.
Add no sleeps, retries, longer timeouts or production changes.
Validation:
The original assertion fails with unchanged master. With the barrier, five
independent runs pass. Full native just ci passes 3624 Rust tests with six
default skips, formatting, all-target Clippy, 112 maintenance tests, six
architecture tests and 39 integration-asset tests. All seven docs contract
tests pass. Local Windows cross-lint was not run because its SDK is absent.
Co-authored-by: JJ Liebig <jonathan.liebig@gmail.com>
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions
