Skip to content

Conversation

@grishy
Copy link
Owner

@grishy grishy commented Jan 30, 2026

Related to PR #39

Summary

Detect MongoDB AVX failures immediately during startup and provide clear, actionable guidance instead of a confusing 3-minute TCP timeout.

Problem

MongoDB 5.0+ requires AVX CPU instructions. On CPUs without AVX (older hardware, VMs, budget processors), MongoDB crashes with SIGILL before writing any logs. Users wait 180 seconds and see a useless timeout error.

Solution

Monitor infrastructure processes during TCP readiness wait. If a process dies, detect it immediately and check for SIGILL (illegal instruction). Display a clear error message with solutions.

@grishy grishy self-assigned this Jan 30, 2026
@grishy grishy marked this pull request as draft January 30, 2026 09:45
@github-actions
Copy link

Merging this branch changes the coverage (1 decrease, 1 increase)

Impacted Packages Coverage Δ 🤖
github.com/grishy/any-sync-bundle/cmd 3.08% (+3.08%) 👍
github.com/grishy/any-sync-bundle/config 31.95% (-7.92%) 👎

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/grishy/any-sync-bundle/cmd/start.go 4.12% (+4.12%) 1117 (+98) 46 (+46) 1071 (+52) 👍
github.com/grishy/any-sync-bundle/config/bundle.go 32.31% (-8.12%) 260 (+72) 84 (+8) 176 (+64) 👎

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/grishy/any-sync-bundle/cmd/start_integration_test.go
  • github.com/grishy/any-sync-bundle/cmd/start_test.go

@grishy grishy marked this pull request as ready for review January 30, 2026 16:15
@grishy grishy merged commit 5664f87 into main Jan 30, 2026
18 checks passed
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.

1 participant