Skip to content

CI failing suddendly on main #450

@curquiza

Description

@curquiza

For no obvious reason, between 10th and 11th october, our CI on main started to fail. No release of meilisearch has been done in the meatime

❌ loading test/tenant_token_test.dart (failed)
  Failed to load "test/tenant_token_test.dart":
  test/tenant_token_test.dart:136:22: Error: The operator '[]' isn't defined for the type 'Object'.
   - 'Object' is from 'dart:core'.
  Try correcting the operator to an existing operator, or defining a '[]' operator.
          expect(claims['apiKeyUid'], equals(uid));
                       ^
  test/tenant_token_test.dart:137:22: Error: The operator '[]' isn't defined for the type 'Object'.
   - 'Object' is from 'dart:core'.
  Try correcting the operator to an existing operator, or defining a '[]' operator.
          expect(claims['searchRules'], equals(searchRules));
                       ^
  package:test_core/src/runner/vm/platform.dart 242:7   VMPlatform._compileToKernel
  ===== asynchronous gap ===========================
  package:test_core/src/runner/vm/platform.dart 220:13  VMPlatform._spawnIsolate
  ===== asynchronous gap ===========================
  package:test_core/src/runner/vm/platform.dart 75:19   VMPlatform.load
  ===== asynchronous gap ===========================
  package:test_core/src/runner/loader.dart 219:27       Loader.loadFile.<fn>
  ===== asynchronous gap ===========================
  package:test_core/src/runner/load_suite.dart 96:19    new LoadSuite.<fn>.<fn>

https://github.com/meilisearch/meilisearch-dart/actions/runs/17921351804/job/52912862789

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersmaintenanceAnything related to maintenance (CI, tests, refactoring...)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions