Skip to content

Fix macOS extraction tests and Android CI setup - #2

Merged
riccardobl merged 2 commits into
NostrGameEngine:masterfrom
toaster0123:fix/upstream-ci
Oct 5, 2026
Merged

riccardobl merged 2 commits into
NostrGameEngine:masterfrom
toaster0123:fix/upstream-ci

Conversation

@toaster0123

@toaster0123 toaster0123 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

The latest upstream snapshot run fails in all three macOS jobs because rejectsReplaceableParent creates its fixture below macOS's private user temp directory. The extractor correctly accepts that protected path, and cleanup masks the failed assertion with DirectoryNotEmptyException. The Android job separately fails during SDK setup because setup-android@v3 requests the removed tools package by default.

  • Create the unsafe POSIX fixture under shared /tmp, preserve assertion failures during cleanup, and cover writable directories protected by a private ancestor. Production extraction checks stay unchanged.
  • Explicitly request platform-tools in snapshot and release workflows.
  • Publish snapshots to Central only on upstream pushes. Pull requests and forks build the same Maven publications locally, without publishing credentials.

Validation: reproduced the original macOS failure with Microsoft JDK 17 and Gradle 8.14.3; the complete macOS ARM64 suite now passes (11 passed, 1 existing destructive test skipped). Core and macOS ARM64 publications also build locally. Both workflow YAML files parse successfully and git diff --check passes.

All 9 cross-platform Actions jobs pass on commit 4f68c5e90b1eb8b7510eac748011271a9ddaa51d: core, Linux x86_64/ARM64, Windows x86_64/ARM64, macOS x86_64/ARM64, Android (all four ABIs), and iOS. This verifies tests and local Maven publication builds; Central upload is skipped on the fork.

Successful validation run: https://github.com/toaster0123/saferalloc/actions/runs/37334533969

Original failed run: https://github.com/NostrGameEngine/saferalloc/actions/runs/35918400680

@riccardobl
riccardobl merged commit 6439892 into NostrGameEngine:master Oct 5, 2026
9 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.

2 participants