Skip to content

Use the normal shutdown path for the standalone integration tests#5350

Merged
joshua-spacetime merged 1 commit into
masterfrom
joshua/test/clean-shutdown
Jun 17, 2026
Merged

Use the normal shutdown path for the standalone integration tests#5350
joshua-spacetime merged 1 commit into
masterfrom
joshua/test/clean-shutdown

Conversation

@joshua-spacetime

@joshua-spacetime joshua-spacetime commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

This is an attempt at fixing a SIGABRT that sometimes happens when running the standalone integration tests.

It's not clear exactly what causes it, however one thing that may have contributed to it was that previously the tests did not initiate a clean shutdown of the database.

Some modules schedule repeating work in init, and it's not obvious to me that in flight operations will exit cleanly if we just drop all of the database/runtime handles at once.

API and ABI breaking changes

N/A

Expected complexity level and risk

1

Testing

This is a testing fix.

@joshua-spacetime joshua-spacetime force-pushed the joshua/test/clean-shutdown branch from 0792a32 to e33fe8a Compare June 16, 2026 17:54
@joshua-spacetime joshua-spacetime requested a review from kim June 16, 2026 17:54
@joshua-spacetime joshua-spacetime linked an issue Jun 16, 2026 that may be closed by this pull request
@joshua-spacetime joshua-spacetime force-pushed the joshua/test/clean-shutdown branch from e33fe8a to 219cf7f Compare June 16, 2026 18:28

@kim kim left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a good change in itself.

About the SIGABRT, I think it must have to do with a panic unwinding across an FFI boundary -- most likely V8. I'm not familiar enough with how this is wired up to point at where it may happen.

@joshua-spacetime joshua-spacetime added this pull request to the merge queue Jun 17, 2026
Merged via the queue into master with commit 1747ca6 Jun 17, 2026
56 checks passed
@joshua-spacetime joshua-spacetime deleted the joshua/test/clean-shutdown branch June 17, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants