Repository navigation
sminos 1.40.2: the uplink code RL10 cannot reach goes (board #178) - #473
Merged
Merged
Conversation
On the one ordered RL10 stream nothing is held back at a re-open and no continuation is told of a refusal, so what handled either is gone: - SocketLane.hold and release, and Link.open's re-open heal around them (Requests.unsent, Rpcs.unsent, the stale pending set and Plane.say_again), with Plane.again, Plane.gone and GONE_KEEP. - The always-empty `refused` map every lane continuation was handed: continuations take no argument, and the not-open branches of Requests.delivered, Rpcs.delivered, Link.reported, Link.deliveries and the upload's continuation (Link.uploaded) go. - Link.opening, write-only since its reader, DX2's re-open on a not-open POST refusal, went in #153 M5. The fake lanes in the tests drop hold, release and refuse; the test of say_again and test_owed's not-open upload assertion go with what they tested. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Board #178. PR #470 (board #153) collapsed
codedbehaviour-neutrally and left on purpose the code that RL10 can no longer reach. This change removes it. sminos 1.40.1 → 1.40.2.What goes
SocketLane.holdalways returned(None, []), andreleasedid nothing. InLink.openthis makes dead code of the re-open heal (flying/dropped,Requests.unsent,Rpcs.unsent,requests.stale.add,Plane.say_again).refusedmap. The lane ran every write continuation asthen({}). Continuations now take no argument, and every branch on the map goes: thenot-openchecks inreported,deliveries,Requests.deliveredandRpcs.delivered, the "hub refused" logs, and theid(f) in refusedtests.Link.uploadedonly tested that map, so it is inlined ashl.keep_taken(reach, epochs=epochs).Plane.say_again,Plane.again,Plane.gone,GONE_KEEP. Onceagainis never set,goneis write-only.Link.openingwas only ever added to, discarded from and cleared. Its one reader was DX2's re-open on anot-openPOST refusal, which sminos: the phase-1 hub path removed (DX2 uplink, coded branches, hub enroll; sminos 1.40.0, devcloud 0.16.0) #470 removed.What stays
These look related but are live:
HubLog.refused(own writer → the lowest refused seq), fed by RL10refusedframes;Link.on_refused'snot-openreturn (the hub sends that reason);Subscription.catalog_allowed.Tests
test_session_plane:test_a_heal_says_again_only_the_leavers_a_body_still_in_flight_could_contradictis removed; its subject wassay_againand theGONE_KEEPbound.test_owed: the fake lane losesrefuse,holdandrelease. The one assertion fed by the always-empty map ("an upload the hub refused is not taken") goes. Real refusals still boundtakenthroughHubLog.on_refused, andTakenBounds, which tests that, is unchanged.test_wordsandtest_snapshots: the fake lanes losehold/release, andthen({})becomesthen(). No assertion changes.test_rl10,test_reach_gate,test_visibilityandtest_streamsare unchanged.Proof of neutrality
rl10_conformance.py): 107 ok, 0 FAIL.sminos/tests/rl10-conversation.jsonis byte-for-byte unchanged.36aae1d3(sminos, sminos-suites, sminos-mods, mods-types, repo-checks, version-bump): GREEN, run 42400825504.Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)