Skip to content

Add AdaScript async tasks, awaits, and suspension policy - #125

Merged
SpectralDragon merged 4 commits into
mainfrom
codex/adascript-async
Sep 24, 2026
Merged

SpectralDragon merged 4 commits into
mainfrom
codex/adascript-async

Conversation

@SpectralDragon

Copy link
Copy Markdown
Contributor

Summary

  • Add AdaScript async tasks and awaits backed by Gravity fibers and an AdaEngine-owned scheduler.
  • Support background asset loading, atomic and streamed saves, game/real-time timers, promises, and AdaUI continuations.
  • Add @nonsendable suspension policy for script and native bridge values; validate callback contracts without name-based heuristics.
  • Remove the Swift textual async lowerer and pin the native Gravity compiler revision 24695757a0ba5638b3633004a2166b7878c116de.

Validation

  • AdaScripting suite with the native Gravity tree: 102 tests passed.
  • Async suite with the published pinned Gravity revision: 20 tests passed.
  • Normal-manifest swift build --target AdaScripting passed; focused strict SwiftLint passed.
  • Gravity virtual machine suite: 9 tests passed in the dependency branch.

Review order and limits

Review Gravity PR #5 first. ADR-0015 records remaining VM trap isolation, broader static @nonsendable analysis, and platform runtime validation. This PR is a draft until those release gates are resolved.

@SpectralDragon
SpectralDragon marked this pull request as ready for review September 24, 2026 13:48
@SpectralDragon
SpectralDragon merged commit ee43b05 into main Sep 24, 2026
2 of 5 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-24T13:49:13.052758Z edb2ffe Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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