Skip to content

fix: read live test config from env vars for nightly CI#6

Merged
amavashev merged 1 commit into
mainfrom
fix/dev-feedback-0.2.2
Apr 8, 2026
Merged

fix: read live test config from env vars for nightly CI#6
amavashev merged 1 commit into
mainfrom
fix/dev-feedback-0.2.2

Conversation

@amavashev

Copy link
Copy Markdown
Contributor

Summary

  • Live integration tests had hardcoded API_KEY, BASE_URL, and TENANT constants that didn't match the nightly CI provisioned values
  • All 11 Rust tests have been failing with 401 KEY_NOT_FOUND since the client was added to the nightly pipeline (Mar 31)
  • Now reads from CYCLES_API_KEY, CYCLES_BASE_URL, and CYCLES_TENANT env vars, falling back to the old defaults for local dev

Test plan

  • Merge and trigger manual nightly integration run to confirm all Rust tests pass
  • Verify local cargo test --test live_server_test -- --ignored still works with default env

Live integration tests used hardcoded API_KEY, BASE_URL, and TENANT
constants that didn't match the nightly CI provisioned values, causing
all Rust tests to fail with 401 KEY_NOT_FOUND since the Rust client
was added. Now reads from CYCLES_API_KEY, CYCLES_BASE_URL, and
CYCLES_TENANT env vars with the old values as defaults for local dev.
@amavashev
amavashev merged commit c458416 into main Apr 8, 2026
1 of 2 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