Repository navigation
Why Manifest Resolvers Run on macOS
Vanndher Amós edited this page Nov 16, 2026
·
1 revision
The weekly manifest refresh workflow (.github/workflows/update-manifest.yaml) runs on macos-latest instead of ubuntu-latest because the DATASUS SI-PNI portal (sipni.datasus.gov.br) blocks network connections from GitHub Actions' Linux and Windows runners.
Because datazoompuc/datazoom.saude is a public repository, macos-latest runners are available at no cost.
During CI testing across GitHub-hosted runners:
-
Linux (
ubuntu-latest) and Windows (windows-latest) runners consistently fail to open a TCP connection tosipni.datasus.gov.bron port443:The connection never completes the TCP handshake, meaning the server firewall/edge drops packets before any TLS negotiation or HTTP request (Timeout was reached [sipni.datasus.gov.br]: Connection timed out after 30000 millisecondsUser-Agent, cookies, headers) is seen. -
macOS (
macos-latest) runners run on separate infrastructure (Apple/AWS) outside the Azure datacenter IP ranges used by Linux/Windows runners, and reachsipni.datasus.gov.brwithout timeout.
| Workflow | Runner(s) | Behavior |
|---|---|---|
.github/workflows/update-manifest.yaml |
macos-latest |
Runs actions/scripts/build_manifest.R (both resolve_datasus.R and resolve_sipni.R) every Monday at 05:00 UTC or on manual dispatch. |
.github/workflows/R-CMD-check.yaml |
ubuntu-latest (release, devel, oldrel-1), windows-latest (release), macos-latest (release) |
Keeps full cross-platform coverage. load_vaccines() uses @examplesIf interactive(), so R CMD check skips live SI-PNI network calls in non-interactive CI runs. |
- If
macos-latestis ever blocked by DATASUS in the future,resolve_sipni.Rcaptures structured network/HTTP diagnostics (sipni_failed_fetch_evidence()) andupdate-manifest.yamlopens or comments on a GitHub Issue labeledmanifest(exit code30, or11if another resolver such asdatasusproduced manifest updates). - Partial failures do not discard updates from healthy resolvers:
datasusFTP updates are still staged and opened as a review PR even ifsipnifails.