Repository navigation
Resolve GitHub issue https://github.com/directionally-local/serverless-objects/i - #138
Closed
sinameraji wants to merge 1 commit into
Closed
sinameraji wants to merge 1 commit into
sinameraji wants to merge 1 commit into
Conversation
The default moved to autopilot-ai 3.0.2, but the fake bridge still modelled the protocol loosely and the tests did not exercise the 3.x event set. Model 3.0.2's src/sdk/aster-cell.ts in the fake bridge: UUID request ids, the /health and /status shapes, 250-event pages with hasMore, new_session (session_already_initialized, modelInfo), prompt (202 replay by turn id, session_busy, session_not_ready), abort, the session.end journaled from the prompt's RPC reply, and the session.end error journaled for an interrupted turn when the bridge restarts. Add tests for the full 3.x SessionEvent set, paging across more than one page, the prompt reply ending a successful turn, and a bridge restart. The recorder needs no changes: the SessionEvent union is identical to 2.8.0 and the only protocol addition is the optional modelInfo field, which the executor does not send. The real end-to-end, restart and budget-resume runs were not repeated on 3.0.2 because no Hotcell daemon or gateway was available; docs/autopilot.md now says exactly what was verified and on which versions. Closes #112 Signed-off-by: Aster Autopilot <autopilot@aster.invalid> Co-authored-by: autopilot <kimiflare@proton.me>
Collaborator
Author
|
Closing without merging. The autopilot-ai 3.x default landed in d069623; this follow-up (fake-bridge 3.x tests, CI check behaviour, docs) is not being merged. |
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.
I'll start by reading the repository guidance and the relevant code.
Committed as
38b246conaster/3b4d0e71(Aster will publish the branch and open the PR).What changed
autopilot-ai3.0.2'ssrc/sdk/aster-cell.ts: UUID request/session/turn ids,/healthand/statusshapes, 250-event pages withhasMore,new_session(session_already_initialized,modelInfo),prompt(202 replay by turn id,session_busy,session_not_ready),abort, thesession.endthe bridge journals from the prompt's RPC reply, and thesession.enderror it journals for an interrupted turn on bridge restart.SessionEventset (includingsession.start,permission.*,hook.failed,context.compacted,status,worker.finished, which the recorder ignores), multi-page event paging, a successful turn ending on the prompt reply, and a bridge restart ending the turn withcell_runtime_restarted.docs/autopilot.mdnow states exactly what was checked against 3.0.2 (aster-cell.tsandtypes.ts: endpoints, turn-id de-duplication, cursor, identicalSessionEventunion, optionalmodelInfonot sent) and that the real end-to-end, restart and budget-resume runs were not repeated on 3.0.2 — no Hotcell daemon or gateway was available in this environment.Verification:
npm ci, thennpm test→ 275 CLI tests + 12 conformance tests pass;node scripts/check-autopilot-default.mjsreports3.0.2is current. The recorder needed no changes because theSessionEventunion is identical between 2.8.0 and 3.0.2.