Skip to content

Improve module sandboxing and allow init code customization.#7

Merged
vchuravy merged 2 commits into
mainfrom
tb/init
Oct 9, 2025
Merged

Improve module sandboxing and allow init code customization.#7
vchuravy merged 2 commits into
mainfrom
tb/init

Conversation

@maleadt

@maleadt maleadt commented Oct 9, 2025

Copy link
Copy Markdown
Collaborator
  • Instead of special-casing setup.jl, allow customization through a init_code kwarg.
  • That code is now evaluated at the start of the sandbox module, instead of globally.
  • This allows us to simply use include instead of having to rely on Main.include.
  • Simplify test runner registration by using expressions rather than ugly and "expensive"-to-serialize functions.

@vchuravy
vchuravy merged commit b229504 into main Oct 9, 2025
15 checks passed
@vchuravy
vchuravy deleted the tb/init branch October 9, 2025 13:30
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