Skip to content

tests: run shared-map hosts with sandbox ABI - #3460

Closed
adilalperenciftci wants to merge 1 commit into
aether-lang-dev:mainfrom
adilalperenciftci:test/shared-map-host-sandbox-build
Closed

adilalperenciftci wants to merge 1 commit into
aether-lang-dev:mainfrom
adilalperenciftci:test/shared-map-host-sandbox-build

Conversation

@adilalperenciftci

Copy link
Copy Markdown
Contributor

Summary

I traced the shared-map host sweep's empty Python and Perl output to two setup failures in the test harness:

  1. The in-process Lua, Duktape, Python, Perl, and Ruby bridges were compiled without AETHER_HAS_SANDBOX, leaving the sandbox checker ABI unavailable.
  2. The detector found development packages but did not export the exact runtime library paths required by the bridges' dlopen loaders on systems that only provide versioned libraries.

The sweep now compiles those bridges with the sandbox ABI enabled and exports the detected runtime library paths before execution. No host bridge or runtime implementation changes are included.

Verification

  • BEFORE: test_shared_map_all.sh reported 0 passed / 5 failed; direct compilation exposed the missing sandbox checker type and state.
  • AFTER: test_shared_map_all.sh reports 5 passed / 0 failed with the available Python and Perl runtimes.
  • make check-changelog
  • make check-tests
  • make test (634 passed, 0 failed)

Signed-off-by: Adil Alperen Çiftci adilalperenciftci@users.noreply.github.com

Compile the in-process bridges with sandbox checker support and export each detected runtime library path before execution. This lets versioned Debian and Ubuntu runtimes reach the grant-map assertions instead of failing during setup.

Signed-off-by: Adil Alperen Çiftci <adilalperenciftci@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 29, 2026 10:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@paul-hammant

Copy link
Copy Markdown
Collaborator

Thanks @adilalperenciftci! This landed in #3474, which batched nine of your PRs and merged on 2026-10-30 (ca1dae7d). Your commit went in unchanged with your authorship, so this PR is superseded, and I'm closing it.

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