Skip to content

chore(tests): fix test speed#468

Merged
e11sy merged 1 commit intomasterfrom
fix-tests
Nov 4, 2025
Merged

chore(tests): fix test speed#468
e11sy merged 1 commit intomasterfrom
fix-tests

Conversation

@e11sy
Copy link
Copy Markdown
Member

@e11sy e11sy commented Nov 4, 2025

check out tests workflow (~1m) ( ͡~ ͜ʖ ͡°)

Changes

Archiver

  • use cursor based db fetch to avoid all projects storing in memory
  • use projection to retrieve only fields that are needed
  • axios (notifications) could return nothing env hook configured poorly — worker should not fail in this case

Tests

  • do not await SECONDARY mongo node initialisation (since we don't have one)
  • exit node.js process after tests are done to avoid open handles and infinite CI run (exit only in CI so we could debug open handles locally whenever we want)

@e11sy e11sy merged commit a26b106 into master Nov 4, 2025
4 checks passed
@e11sy e11sy deleted the fix-tests branch November 4, 2025 16:11
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.

4 participants