Skip to content

Garbage collection fails due to changes from #22 #23

@baltpeter

Description

@baltpeter
Running garbage collection...
16:47:27 [ERROR] [UnhandledRejection] Astro detected an unhandled rejection. Here's the stack trace:
InvalidTypeError: operator 'NOT IN' cannot be applied to operands of type 'default::ProceedingState' and 'std::str'
   |
 4 | FILTER std::all({ (__scope_0_defaultProceeding.state not in { "complaintSent", "secondAnalysisFoundNothing", "secondAnalysisFailed", "initialAnalysisFoundNothing", "initialAnalysisFailed", "expired", "erased" }), (__scope_0_defaultProceeding.createdOn <= <std::datetime>'2024-02-05T15:47:27.097Z') })
   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hint: Consider using an explicit type cast or a conversion function.

    at RawConnection._parseErrorMessage (/home/benni/coding/JS/tweasel/platform/node_modules/edgedb/dist/baseConn.js:236:21)
    at RawConnection._executeFlow (/home/benni/coding/JS/tweasel/platform/node_modules/edgedb/dist/baseConn.js:842:34)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async RawConnection.fetch (/home/benni/coding/JS/tweasel/platform/node_modules/edgedb/dist/baseConn.js:893:17)
    at async ClientConnectionHolder.retryingFetch (/home/benni/coding/JS/tweasel/platform/node_modules/edgedb/dist/baseClient.js:159:26)
    at async Client.query (/home/benni/coding/JS/tweasel/platform/node_modules/edgedb/dist/baseClient.js:417:20)
    at async CronJob.eval (/home/benni/coding/JS/tweasel/platform/src/cron.ts:20:30)
  Hint:
    Make sure your promises all have an `await` or a `.catch()` handler.
  Error reference:
    https://docs.astro.build/en/reference/errors/unhandled-rejection/
  Stack trace:
    at /home/benni/coding/JS/tweasel/platform/node_modules/edgedb/dist/baseConn.js:236:21
    [...] See full stack trace in the browser, or rerun with --verbose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions