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: held application messages need a bound · Issue #186 · developing-today/code

Phase 4: held application messages need a bound #186

New issue
Copy link
New issue
Copy link
Closed
#2216
Closed
Phase 4: held application messages need a bound#186
#2216
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)status:done

Description

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

The history track holds application messages whose group secret is unreadable until a welcome or a later secret arrives (src/encryption/scheme.rs, held). Held messages for members who were removed are not capped, so a removed or stalled peer can grow the held set. Add a count and byte cap with a clear refusal, and decide what happens to messages that expire.

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): too-big-needs-design — held-message count/byte cap + expiry policy in src/encryption/scheme.rs; a removed/stalled peer can grow the held set.

  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 2031
    • Found via: queue claim
    • Task: Triage issue Phase 4: held application messages need a bound #186 — verify held application messages are unbounded 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 2031
    • Found via: queue claim
    • Task: Triage verdict for Phase 4: held application messages need a bound #186 — CONFIRMED at current main
    • Expectation: done — verdict below, follow-up routed

    Verdict: CONFIRMED — the held set has no count cap, no byte cap, and no expiry at HEAD a3cdf6c9a35df1ff8b88b7a02d62e5c04ca4c94a.

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

    • pkgs/id/src/encryption/scheme.rs:201 — held: Vec<Envelope> on Session, documented only as "Application messages this device cannot read yet, in arrival order."
    • process() in the same file pushes every unreadable application message that is not already held by id (if !self.held.iter().any(|held| held.id() == message.id()) { self.held.push(...) }) — the id-dedupe is the only guard. A grep of the file finds no held-message cap or expiry anywhere; the only cap present is TooManyParents for publish parents.
    • release() is the only place messages leave the held set, and only those whose group secret the device now holds — so messages from a removed or stalled peer, whose secret may never arrive, accumulate for the life of the session.

    No competing work: no open PR and no other issue implements a held-message bound.

    Routing: the 2026-10-24 triage comment on this issue called this "too-big-needs-design", so the follow-up packet pins the design: MAX_HELD_MESSAGES = 1024 and MAX_HELD_BYTES = 16 MiB (CBOR-encoded envelope lengths, as Envelope::new encodes), enforced in process() after the id-dedupe with a new SchemeError::HeldFull refusal styled on TooManyParents (checked before any crate call, so a refusal never poisons the session), and the expiry decision made explicit — no eviction, no time expiry: already-held messages are never silently dropped; the bound is refusal of new arrivals, which a sender/relay can re-deliver after a welcome or history answer drains the set. Enqueued as queue task 2976 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:186, packet queue-packets/packet-186-fix.json). This issue stays open and is labelled queue/queued for that task.

  6. dezren39
    added
    queue/queuedHas a queued queue task
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 29, 2026
  7. 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 A shift
    • Session / ID: queue task 2976
    • Found via: queue claim
    • Task: Fix Phase 4: held application messages need a bound #186 per the pinned design in triage task 2031: MAX_HELD_MESSAGES=1024 / MAX_HELD_BYTES=16 MiB caps in encryption/scheme.rs Session, new SchemeError::HeldFull refusal before the push, tracked byte total, no eviction/expiry.
    • Expectation: branch + PR this shift, CI-first verification; acceptance tests per the packet.
    • Links: triage verdict: task 2031 on this issue
  8. dezren39
    added
    work/assignedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  9. 103 remaining items

  10. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Oct 29, 2026
  11. 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 C
    • Session / ID: queue task 2976, lane C shift 2026-10-29 15:35 CDT
    • Found via: queue claim (resume from parked awaiting_ci)
    • Task: Re-verified fresh: PR id(encryption): bound Session held messages at 1024 / 16 MiB (#186) #2216 OPEN / CLEAN / MERGEABLE at 95a21b0, 29 checks pass (3 skipping, 0 fail), 0 unresolved review threads. Sole blocker is the merge-queue stall (ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403): main still frozen at 5a34fa7 (no merge since 10:57:51Z) and the queue ejected this lane's test entry (PR feat(usage-hub): Cloudflare live collector as gatherer file-export adapter (#1048) #2228) again at 20:39Z today, so a re-enqueue this shift would be another futile cycle.
    • Expectation: Re-parked 1h. Resume verbatim: when ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 closes / main advances, re-enqueue id(encryption): bound Session held messages at 1024 / 16 MiB (#186) #2216 → on MERGED complete fixed_merged, close Phase 4: held application messages need a bound #186, strip labels.
    • Links: PR id(encryption): bound Session held messages at 1024 / 16 MiB (#186) #2216 · blocker ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403
  12. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Oct 29, 2026
  13. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked (gate recheck)

    • Agent: queue worker (repo-worker-code), Lane C
    • Session / ID: queue task 2976
    • Found via: queue claim (resume)
    • Gate recheck (fresh, 2026-10-29 ~22:30Z): PR id(encryption): bound Session held messages at 1024 / 16 MiB (#186) #2216 still OPEN, head 95a21b0, MERGEABLE/CLEAN, basic checks passing; ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 (merge queue ejects every PR) still OPEN — this shift independently verified the ejection twice more (PRs fix(aggregator): age out done after 7d, collapse Done recently, filter retired Done-table class (#1146) #2430 and mcpx: typed sampling errors — -1 on rejection, expiry stays -32603 (#1835) #2440, evidence on ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403) and confirmed direct merge is 405 queue-required. Gate unmet; re-parked without burning another enqueue cycle.
    • Expectation / resume: when ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 closes / main advances: re-enqueue PR id(encryption): bound Session held messages at 1024 / 16 MiB (#186) #2216; on MERGED complete task 2976 fixed_merged, close Phase 4: held application messages need a bound #186, strip labels.
    • Links: PR id(encryption): bound Session held messages at 1024 / 16 MiB (#186) #2216 · blocker ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403
  14. 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 2976
    • Found via: queue claim (resume)
    • Task: Gate rechecked fresh per the checkpoint brief: PR id(encryption): bound Session held messages at 1024 / 16 MiB (#186) #2216 still OPEN/CLEAN/MERGEABLE at 95a21b0, ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 still OPEN, main still frozen at 5a34fa7 — both unchanged, so re-parked without an enqueue cycle.
    • Expectation: When ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 closes and main advances: re-enqueue id(encryption): bound Session held messages at 1024 / 16 MiB (#186) #2216, on MERGED complete as fixed_merged, close Phase 4: held application messages need a bound #186, strip labels.
  15. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Oct 29, 2026
  16. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (pr_opened), merge blocked upstream

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane · queue task 2976
    • Found via: queue claim (resume from awaiting_ci)
    • Verified fresh 23:47Z: PR id(encryption): bound Session held messages at 1024 / 16 MiB (#186) #2216 OPEN, not draft, MERGEABLE/CLEAN, head 95a21b08, every basic: check green (guard list, nix flake matrix incl. cargo-check/fmt/clippy, crash-gate legs). No superseding PR; issue still open.
    • Not done, not worker-authority: the merge. main has not moved since 10:57Z — the merge queue ejects every clean PR (ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403, now user/escalated with the one-call fix). --admin is forbidden by repo convention and push-protection changes are repo-admin authority.
    • Next: when ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 clears, gh pr merge 2216 --merge --match-head-commit 95a21b08, which closes this issue.
    • Labels: stripped status/parked, queue/parked, work/assigned so nothing looks in-flight.
  17. dezren39
    closed this as completedin #2216on Oct 30, 2026
  18. developing-today
    added
    status:done
    on Oct 30, 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)status:done

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.