Skip to content

Next - #66

Draft
cpunt wants to merge 147 commits into
mainfrom
next
Draft

Next#66
cpunt wants to merge 147 commits into
mainfrom
next

Conversation

@cpunt

@cpunt cpunt commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert

Description

Related Issues, Tickets & Documents

Screenshots/Recordings

Manual test

  • 👍 yes
  • 🙅 no

Manual test description

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

* adds guard + test

* adds a basic condition variable in op, reuses it in cond and waitgroup

* adds nack

* neatens nack

* streamlines op

* complete reworking of op.lua

* slightly neatens trigger_nacks

* linter happiness

* fiendish new op tests
add bracket, reworked op and top-level perform
adds `:wrap_handler()` and `:finally()`
Initial Structured Concurrency
Rework fibres runtime for coroutine-safe errors, scopes, and channel/waitgroup semantics
Unify scope boundaries and Ops semantics; document structured concurrency model
Prep for step-reversing protocols
Adds closeable, drainable Mailbox primitive + tests
* broken new impl

* working new stream

* shape slightly neatened

* even more working

* single reader at a time

* more factorisation

* fully working and expanded fibers tests after sream changes

* simplifies non-mutating stream implementation, correctness fixes to epoll and nixio poller backends, updated tests

* refactors stream and tests

* uses scope aware performer in exec finaliser

* corrects some ineffective assertions

* suspension waker
…sts, adds cleanup verification to channel/mailbox tests
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