Skip to content

Enable offline tests - #97

Merged
carlesonielfa merged 6 commits into
mainfrom
enable-offline-tests
Aug 5, 2026
Merged

carlesonielfa merged 6 commits into
mainfrom
enable-offline-tests

Conversation

@carlesonielfa

Copy link
Copy Markdown
Contributor
  • Make Hyperforge’s local NucliaDB test fixture fully self-contained:

    • Keep NucliaDB dummy prediction enabled for both cassette recording and replay.
    • Remove remote NUA key validation from dataset bootstrap.
    • Remove remote Predict configuration deletion during fixture setup.
  • Make shared test server setup replay-safe:

    • Use a parseable cassette NUA JWT fallback instead of raw DUMMY.
    • Keep real NUA_KEY support unchanged for recording.
  • Standardize the migrated regional endpoint:

    • Replace stale europe-1.nuclia.cloud references with europe-1.dp.progress.cloud.
    • Update cassette JWT issuers, driver URLs, and recorded cassette request URLs.
  • Improve REMI cassette stability:

    • Preserve exact body matching for non-chat requests, retaining deterministic replay for concurrent NucliaDB retrieval calls.
    • Match NUA chat requests by stable fields (question, user_id, generative_model) instead of volatile generated context embedded in prompts.
    • Normalize re-recorded REMI cassettes to the canonical endpoint.
  • Validate offline cassette replay:

    • Core Hyperforge suite: 181 passed with --record-mode=none.
    • All agent suites except agents/nucliadb pass independently in --record-mode=none.
    • agents/nucliadb remains intentionally live-host dependent because its tests explicitly exclude Progress-host traffic from VCR.

@carlesonielfa
carlesonielfa requested a review from a team August 5, 2026 07:36
@carlesonielfa
carlesonielfa added this pull request to the merge queue Aug 5, 2026
Merged via the queue into main with commit 5df38d7 Aug 5, 2026
28 checks passed
@carlesonielfa
carlesonielfa deleted the enable-offline-tests branch August 5, 2026 08:43
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.

2 participants