Repository navigation
Conversation
…er a reload
Continue or Stop writes `content.state`, `continued` or `stopped`, into the `create_lock` payload of every stored Ray event that pauses on the lock, and the updated event goes to every UI client over the WebSocket, as buggregator/server 2.14 does. The reply to `POST /api/ray/locks/{name}` carries the state, which frontend 1.41+ reads; a later click gets the state of the first one, and an unknown lock answers 404, which the UI shows as a pause the script no longer waits for. The state lives in the event, bounded by the event store, so the lock TTLs and cap stay as they are. The MCP summary of the event shows the state.
Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #381 +/- ##
==========================================
+ Coverage 80.55% 80.59% +0.04%
==========================================
Files 432 434 +2
Lines 17488 17555 +67
==========================================
+ Hits 14087 14148 +61
- Misses 3401 3407 +6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
docs(ray): say that MCP lists the event of a pause again when it is released test(ray): cover the 404 of an unknown lock over HTTP A click that lands before the event reaches the store, or a client that pauses in the same second as a released pause and joins its lock, left the event without `content.state` and its card with active buttons: the Ray mapper now writes the state of a released lock into the `create_lock` payloads it maps. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
docs(ray): say that a pause released before its event arrives is listed once, with the state Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
…allocated memory The limit was the used memory plus 64 MB, while PHP checks it against the allocated memory: in a long suite the allocated memory runs more than 64 MB ahead, so the next allocation failed the whole run. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was changed
pause()released by Continue or Stop showsContinuedorStoppedwith its buttons off in every open UI tab and after a reload, as buggregator/server 2.14 does: thecreate_lockpayload of the stored event getscontent.state, and the updated event is pushed over the WebSocket.POST /api/ray/locks/{name}(HTTP and RPC) answers{code, status, state}; a later click, from another tab, gets the state of the first one, and an unknown lock answers404, which frontend 1.41+ shows as a pause the script no longer waits for. Before, it answered200withstatus: false.create_lock: {"name":"…","state":"continued"}, and the event is listed again bylist_eventsandwait_for_eventswhen it is released.How it works
Why?
Frontend 1.41 shows the state of a pause, but Trap gave it only to the tab that clicked: other tabs and a reloaded page kept active buttons.
Checklist
testopasses but the 3 knownProtobufCasterTestfailures; psalm reports only the 2Run::getSubscribedSignalserrors of master on Windows; structarmed is clean.spatie/rayclient: it is not invendor.Documentation
docs/ray.md,docs/web-ui.mdand thetrapskill'sintegrations.mddescribe the state.