Skip to content

fix(tests): relax timing assertion and increase daemon startup timeout - #30

Merged
StefanSteiner merged 1 commit into
tableau:mainfrom
StefanSteiner:ssteiner/fix-pr-29
May 25, 2026
Merged

StefanSteiner merged 1 commit into
tableau:mainfrom
StefanSteiner:ssteiner/fix-pr-29

Conversation

@StefanSteiner

Copy link
Copy Markdown
Contributor
  • daemon_heartbeat_prevents_idle_shutdown: lower threshold from 800ms to 500ms — CI scheduling jitter can cause the monitor to fire earlier than expected under load. Include elapsed time in the failure message.

  • TestDaemon::start: increase startup timeout from 15s to 30s and poll interval from 100ms to 200ms. macOS CI runners under load can take 10+ seconds for hyperd to start, causing spurious timeout failures.

- daemon_heartbeat_prevents_idle_shutdown: lower threshold from 800ms to
  500ms — CI scheduling jitter can cause the monitor to fire earlier than
  expected under load. Include elapsed time in the failure message.

- TestDaemon::start: increase startup timeout from 15s to 30s and poll
  interval from 100ms to 200ms. macOS CI runners under load can take 10+
  seconds for hyperd to start, causing spurious timeout failures.
@StefanSteiner
StefanSteiner merged commit 56a19d1 into tableau:main May 25, 2026
9 of 10 checks passed
This was referenced May 26, 2026
@StefanSteiner
StefanSteiner deleted the ssteiner/fix-pr-29 branch June 4, 2026 07:26
StefanSteiner added a commit that referenced this pull request Jul 21, 2026
…dency (#206)

* fix(api): replace hard-coded test password with randomly generated value

CodeQL rule rust/hard-coded-cryptographic-value (CWE-798/259/321/1204)
flagged the literal "p" passed to SyncPoolConfig::auth() in
test_sync_pool_config_builder_and_defaults as a hard-coded credential.

Generate the password value at runtime instead so no literal credential
value appears in source.

Fixes GHSA/code-scanning alert #30.

Co-authored-by: Cursor <cursoragent@cursor.com>

* chore(deps): bump spin 0.9.8 -> 0.9.9 (yanked)

spin 0.9.8 has been yanked from crates.io, which breaks fresh builds
that need to re-resolve the transitive dependency (spin is pulled in
via lazy_static -> font-kit/num-bigint-dig/sharded-slab). Bump to the
next published patch release, 0.9.9.

Verified with:
- cargo build --workspace --tests --locked
- cargo deny check (advisories/bans/licenses/sources all ok)
- cargo audit --deny warnings

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
@StefanSteiner StefanSteiner mentioned this pull request Sep 7, 2026
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