GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Phase 4: joiner with missing pre-join control messages stalls silently · Issue #187 · developing-today/code

Phase 4: joiner with missing pre-join control messages stalls silently #187

New issue
Copy link
New issue
Copy link
Closed
#2221
Closed
Phase 4: joiner with missing pre-join control messages stalls silently#187
#2221
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)queue/blockedQueue or user escalation statestatus:donework/assignedQueue worker lifecycle state

Description

@dezren39
dezren39
opened on Oct 12, 2026
Issue body actions

Application messages wait on the control messages they name. A joiner that is missing pre-join controls keeps those messages held with no signal to the user. Welcomes already need that history. Decide whether to surface a stalled-delivery state and how long to wait before asking a member (P4.6 lazy history is the answer path).

Activity

Next
  1. github-actions
    assigned
    dezren39
    on Oct 12, 2026
  2. dezren39 commented on Oct 24, 2026

    @dezren39
    dezren39
    on Oct 24, 2026
    MemberAuthor
    More actions

    id train triage (2026-10-24): needs-decision — project owner: surface a stalled-delivery state for joiners missing pre-join controls (P4.6 lazy history is the answer path).

  3. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Oct 27, 2026
  4. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane D
    • Session / ID: queue task 2035
    • Found via: queue claim
    • Task: Triage issue Phase 4: joiner with missing pre-join control messages stalls silently #187 — verify a joiner missing pre-join control messages stalls with no signal against current main, then route as scoped follow-up or close with evidence
    • Expectation: s — triage verdict backed by code citation at HEAD
    • Links: n/a yet
  5. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane D
    • Session / ID: queue task 2035
    • Found via: queue claim
    • Task: Triage verdict for Phase 4: joiner with missing pre-join control messages stalls silently #187 — CONFIRMED at current main
    • Expectation: done — verdict below, follow-up routed

    Verdict: CONFIRMED — delivery waiting on missing pre-join control messages is invisible at HEAD a3cdf6c9a35df1ff8b88b7a02d62e5c04ca4c94a. There is no signal to the user or to any caller.

    Evidence (fresh reads of current main, not the issue text):

    • pkgs/id/src/encryption/ordering.rs — OrdererState.waiting: BTreeMap<Hash, Vec<Hash>> is private, with no accessor anywhere (only internal uses in queue() / make_ready). queue() inserts a message there whenever a parent it names is not ready, and it waits indefinitely. The module header says it plainly: "A message is delivered once every message it names is delivered… earlier messages wait in the queue."
    • pkgs/id/src/encryption/scheme.rs — Session's public surface (is_welcomed, epoch*, members, process, request_history, …) has nothing that exposes parent-missing waiting messages.
    • The one nearby signal covers a different wait: request_history() (P4.6) iterates Session.held for messages missing a group secret. It cannot see orderer-waiting messages at all, so the existing lazy-history answer path has no trigger for the pre-join-control case.

    Routing: the follow-up packet pins the two decisions the issue leaves open — (1) whether to surface a stalled-delivery state: yes, as a read-only Session::stalled_delivery() returning each waiting message id with the parent ids it is missing, backed by a small accessor on OrdererState; (2) how long to wait: no timer inside Session (it has no clock — same reasoning as the #186 held bound); the surface is immediate and deterministic, and the caller (CLI / sync loop) polls it and drives the existing welcome/history/re-sync paths. No new Received variant, no delivery-semantics change, no dropping of waiting messages. Enqueued as queue task 2977 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:187, packet queue-packets/packet-187-fix.json). This issue stays open and is labelled queue/queued for that task.

  6. dezren39
    added
    queue/queuedHas a queued queue task
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  7. 43 remaining items

  8. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked 20 min — root cause is #2403, not this diff

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane
    • Task: 2977 · issue Phase 4: joiner with missing pre-join control messages stalls silently #187 · PR id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221 (queue/2977-187-stalled-delivery) · parked, resume 20 min

    Verified this shift (not re-done work): the branch still carries the implemention exactly as pinned — Session::stalled_delivery() → Vec<StalledDelivery> sorted by message id, empty before delivery starts, filtered to still-missing parents, no timer, caller contract documented; the three new tests are present. Nothing on the branch needed changing.

    Why it cannot land (measured, 19:52–19:56Z): main is still frozen at 5a34fa70 (#2233, 10:57Z). The merge queue accepts entries, builds each merge group successfully, then ejects every one on a ~2.5 min cadence, including with an empty queue — #2216, #2367, #2373 all ejected, main never moved. That is #2403; the keystone for main's fmt/clippy debt (#2151 / PR #2335) is subject to the same ejection, so #2221's check failures cannot be cleared from this lane. Details posted at #2403 and the addendum.

    Resume brief: once #2403 is fixed and main is fmt/clippy-clean — PUT /pulls/2221/update-branch, wait for green, merge under the standing criteria (targeted tests verified, diff matches intent, no hold). Do not re-enqueue #2335 again: task 3495 owns it, and repeated adds were churn.

  9. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane B shift
    • Session / ID: queue task 2977
    • Found via: queue claim (resume from verified)
    • Task: Resume condition re-verified fresh at 2026-10-29T20:57Z and still unmet: ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 is OPEN, main is still 5a34fa70 (no merge since ci: run nix ci on merge groups (merge-queue pilot step 1) #2233, 10:57Z), and PR id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221 is still OPEN / UNSTABLE at head 8883eb46. The stall was proven live this shift (PR mcpx: close #1951 remainder — stale dialect-gap rows + structuredContent warn-only policy doc #2190's queue entry ejected ~2 min after enqueue). No update-branch or re-enqueue attempted — both are futile while the queue ejects entries, and id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 stays with task 3495 per the standing note.
    • Expectation: Resume when ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 is fixed and main is fmt/clippy-clean: update-branch on PR id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221, wait for green, merge.
    • Links: PR id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221 · keystone PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 (task 3495) · blocker ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403
  10. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane A shift
    • Session / ID: queue task 2977 (resume claim)
    • Found via: queue claim · repo-health-code-pilot
    • Task: Resume condition re-verified fresh at ~21:47Z and still unmet: ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 OPEN, main still frozen at 5a34fa7, PR id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221 OPEN/UNSTABLE at 8883eb4. Its failing checks are exactly the main-debt set (cargo-fmt-check, rustfmt-check, treefmt-check, clippy-lint, nix flake check) while every test shard, cargo-check, and doc pass — consistent with the earlier finding that the fmt/clippy failures live in unprefixed files on main (id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151), not in this PR's diff.
    • Expectation: Resume when ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 is fixed AND main is fmt/clippy-clean: update-branch PR id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221, wait for green, merge, complete task 2977, strip labels. Do NOT re-enqueue keystone id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 (owned by task 3495).
    • Links: PR id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221 · blockers ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 + id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151 (main fmt/clippy debt)
  11. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked again — implementation verified, blocked purely on repo infra (openchamber scheduled lane, 2026-10-29T21:52Z)

    Resumed task 2977 from its awaiting_ci checkpoint and re-verified everything fresh; the blocking condition has not moved.

    • Phase 4: joiner with missing pre-join control messages stalls silently #187: OPEN. PR id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221: OPEN, MERGEABLE / UNSTABLE at 8883eb46, diff still exactly the four intended files (encryption/{mod,ordering,scheme,tests}.rs).
    • All 26 substantive checks pass, including test-shard-0 through test-shard-3, test-unit, cargo-check, doc and crash-gate-*.
    • The four failures are main debt, re-confirmed by log, not by file list: I pulled each failing job's log and extracted the paths it names:
      • cargo-fmt-check → /build/id/src/meta_client.rs only
      • rustfmt-check → id/src/meta_client.rs, magic-nix-cache/src/main.rs
      • treefmt-check → magic-nix-cache/*, unprefixed src/*
      • clippy-lint → magic-nix-cache/*, unprefixed src/*
        None name a file this PR touches ⇒ all four are id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151.
    • The merge path is still closed: ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 OPEN, the queue ejects every entry with branch_protection_failure, and main has not moved off 5a34fa70 since 10:57:51Z.
    • id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151 OPEN — so even with the queue fixed this PR stays UNSTABLE until the gate lands.

    Parked 1 h (not_before 22:41Z) rather than 20 min: both resume conditions are external infra fixes, not a CI wait, so a 20-minute retry would just re-observe the same state. Resume when #2403 stops ejecting and #2151 is fmt/clippy-clean on main; then update-branch #2221, merge on green, complete, strip labels. (Not re-enqueuing keystone #2335 from this task — task 3495 owns it.)

    • Links: Phase 4: joiner with missing pre-join control messages stalls silently #187 · PR id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221 · ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 · id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151
  12. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), Lane B shift
    • Session / ID: queue task 2977
    • Found via: queue claim (resume)
    • Task: Reverified fresh: PR id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221 still OPEN/MERGEABLE/UNSTABLE at 8883eb4 (failures remain the main-debt fmt/clippy set), id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151 still OPEN, main still frozen at 5a34fa7 — both gates unchanged. Keystone id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 not re-enqueued from this task, per the standing note.
    • Expectation: Parked until ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403's merge-queue ejections stop and id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151 is clean on main: then update-branch id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221, wait green, merge, complete, strip labels.
  13. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    Agent note — blocked on the repo-wide merge-queue stall (queue task 2977, PR #2221)

    The fix for #187 is finished: PR #2221 queue/2977-187-stalled-delivery at head 8883eb46, code + tests verified on a previous shift. It cannot go green because it inherits main's red fmt/clippy debt (its cargo-fmt-check, clippy-lint, rustfmt-check and treefmt-check jobs fail on files it does not touch), and that debt is only cleared by PR #2335 — which is itself stuck.

    • Dependency chain: id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 (keystone main-red fix, green at 6f00e7e0) cannot land → id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221 keeps failing the inherited checks → nothing lands at all, because main's merge queue has ejected every entry since 10:57Z (ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403).
    • Not duplicating the debt fix here — PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 owns it; a second copy would be a competing PR.
    • Escalated: task 3495 is blocked as escalated-to-user on the ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 owner decision (add the merge-queue identity to main's restrict who can push allow-list, or lift it temporarily). Task 2977 is blocked on the same decision rather than cycling through park/resume with an unchanged gate.
    • Resume: when a PR lands normally again → re-enqueue id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335, then update branch on id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221 (8883eb46), wait green, merge, complete 2977.
  14. dezren39
    added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Oct 29, 2026
  15. dezren39
    closed this as completedin #2221on Oct 30, 2026
  16. dezren39
    added a commit that references this issue on Oct 30, 2026

    Merge pull request #2221 from developing-today/queue/2977-187-stalled…

    6111d20
  17. dezren39
    added
    status:done
    and removed
    status:in-review
    status/blockedQueue or user escalation state
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)queue/blockedQueue or user escalation statestatus:donework/assignedQueue worker lifecycle state

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.