Skip to content

Merge upstream develop into gw/next/kelvin/408#47

Merged
bonbud-macryg merged 56 commits into
gw/next/kelvin/408from
bm/develop-merge
Apr 28, 2026
Merged

Merge upstream develop into gw/next/kelvin/408#47
bonbud-macryg merged 56 commits into
gw/next/kelvin/408from
bm/develop-merge

Conversation

@bonbud-macryg
Copy link
Copy Markdown
Contributor

No description provided.

tinnus-napbus and others added 30 commits June 19, 2025 20:49
+await-thread +sleeps for 0 seconds (this presumably copied over from +start-thread-with-args) right after starting a thread. While at the surface this looks correct: we want to transfer control back to spider, so that it can start running the newly started thread, this does not work in practice, as it assumes the spawned thread must do some io during its execution, which is not guaranteed.

A trace of the sleep strand, used in +await-thread, reveals the following inputs:
1. It firsts receives a null input. This is expected, and causes the control to transfer back to spider.
2. The spider now runs the thread. Crucially, if the thread *runs continuously* (as the `-test` thread does, for instance), it will complete, producing a result without transferring control back to spider until execution finished.
3. The sleep strand now receives the thread result fact and a kick from spider, and skips them, because it is awaiting a wake sign from behn.
4. The +await-thread now hangs, waiting in vain for the thread result fact which was already consumed in step.

Unlike in +start-thread-with-args, there is no need to artificially transfer control in
+await-thread. The +take-fact strand following the +poke-our call to spider is
enough for that.
ames: give %done error on %mate failure
`sessions.auth.server-state` is a map, not a set, so we should use the
corresponding utilities.

Probably didn't matter in practice in this particular case, but an
oversight is an oversight and should be corrected.
mesa: migrate and handle halted flows
eyre: +tap:by the map, not +tap:in
ames: add %mesa migration version 2
yosoyubik and others added 25 commits February 22, 2026 16:06
here we can display bot the user-level path, and the namespace binding associated with it
dbug: update /~debug dashboard with %mesa state
ames: fully check test $ahoy path
eyre: prevent .local domains overriding eauth public domains
strandio: fix +await-thread to stop using +sleep
dojo: fix poke perm check for dojo linking
Merge develop into next/kelvin/408
@bonbud-macryg bonbud-macryg marked this pull request as draft April 8, 2026 19:36
@bonbud-macryg bonbud-macryg marked this pull request as ready for review April 28, 2026 12:26
@bonbud-macryg bonbud-macryg merged commit 302b4ef into gw/next/kelvin/408 Apr 28, 2026
13 of 17 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.

7 participants