Skip to content

CI: journey test asserts WCD cluster's replication default; timeDecay boost test is flaky #485

Open

Description

@dudanogueira

Two tests are failing CI independently of the code under change (seen on #459, which touches neither file).

1. test/collections/journey.test.ts — "should get the config for the created collection"

Fails on every tests-without-auth job regardless of Weaviate version, because it runs against a shared WCD cluster rather than the version-matrix container. The only real diff:

replication: {
-   asyncEnabled: false,
+   asyncEnabled: true,

The cluster now defaults new collections to asyncEnabled: true. main's last run (2026-09-09) did not hit this, so the cluster's defaults changed since. The test hard-codes a value that is owned by the server's configuration.

2. test/collections/query/integration.test.ts — boost timeDecay

Flaky (failed on 24.x / 1.38 only). All three objects are inserted with createdAt: new Date(Date.now()), while the decay origin is 2024-01-01 with a 35d scale — so every object's decay is ~0 and identical. The boost has no real effect, and expect(boosted).not.toEqual(baseline) only passes when float noise happens to reorder tied results.

Fix

  • Journey: assert asyncEnabled: expect.any(Boolean).
  • Boost: give the objects distinct createdAt dates around the decay origin so timeDecay deterministically reorders them.

Activity

  1. added a commit that references this issue on Oct 5, 2026
    a9a8c27
  2. added a commit that references this issue on Oct 30, 2026
    3a33806
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions