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 — Keep cancel_rebind failures atomic · Issue #5643 · developing-today/code

Keep cancel_rebind failures atomic #5643

New issue
Copy link
New issue
Copy link
Closed
#6348
Closed
Keep cancel_rebind failures atomic#5643
#6348
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workepic/id-programReprioritization program epic (2026-11-12)kind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)source/queue-workerFiled or worked by the queue/worker pilotstatus/parkedDeliberately paused with a recorded resume conditionstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 4, 2026
Issue body actions

Follow-up from Phase 4 audit issue #5048 (epic #5047); intentionally not changed in the audit PR.\n\nIn HostedBindingService::cancel_rebind, the request is marked Cancelled before the binding lookup and re-attestation. If either later operation returns NoBinding or RecordEncoding, the method returns an error after changing the request, while the binding can remain RebindPending; this contradicts the no-mutation-on-failure contract in the RebindError docs.\n\nPrepare and validate the restored binding (including its attestation) before committing either state mutation, then add a regression test using inconsistent internal fixture state or an injectable failure.

Acceptance criteria

  • cancel_rebind prepares and validates the restored binding (including its attestation) before committing any state mutation.
  • On NoBinding / RecordEncoding failure paths, neither the request state nor the binding state is mutated (the documented no-mutation-on-failure contract holds).
  • A regression test using inconsistent internal fixture state or an injectable failure proves the atomicity, and existing hosted-binding tests still pass.

Activity

Next
  1. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    status/needs-triageNot yet triaged; needs a first look
    source/queue-workerFiled or worked by the queue/worker pilot
    priority/normalOrdinary priority (the default)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 4, 2026
  2. developing-today commented on Nov 4, 2026

    @developing-today
    developing-todayBot
    on Nov 4, 2026 – with developing.today
    Contributor
    More actions

    CODE-1404

  3. dezren39
    added
    effort/sSmall: expected under 2 hours of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 4, 2026
  4. dezren39 commented on Nov 4, 2026

    @dezren39
    dezren39
    on Nov 4, 2026
    MemberAuthor
    More actions

    Intake review

    • Related: Follow-up from the Phase 4 audit issue id(hosted_binding): closing lifecycle audit — transition table for every public method + module-header contract statement (Phase 4 of #5047) #5048, under epic design: a name is claimed once — the hosted binding lifecycle contract (pkgs/id hosted_binding) #5047. Sibling follow-up filed the same run: Bound retained one-time state in HostedBindingService #5644.
    • Notes: Clear contract violation with a precise mechanism: cancel_rebind marks the request Cancelled before the binding lookup/re-attestation, so a NoBinding/RecordEncoding error leaves split state (request cancelled, binding still RebindPending), contradicting the documented no-mutation-on-failure contract. Labels were already normalized by the filer; this pass adds acceptance criteria and the enriched mark only.
    • Risks: Low — the fix is a reorder (validate-then-commit) inside one method; the regression test needs a fixture with deliberately inconsistent internal state.
    • Suggested approach: Build the restored binding + attestation first, then commit both mutations together; add the injectable-failure regression test named in the issue.
      — fleet monitor intake, 2026-11-04
  5. github-actions
    assigned
    dezren39
    on Nov 4, 2026
  6. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    work/assignedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  7. 263 remaining items

    Load more actions
  8. dezren39
    added
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 9, 2026
  9. dezren39 commented on Nov 9, 2026

    @dezren39
    dezren39
    on Nov 9, 2026
    MemberAuthor
    More actions

    Handed off to the opencode claimant for execution (lane assignment row 3017). Task 10532 claimed by lane code-m, fresh-verified: issue #5643 OPEN/state checked, no hard-stop labels present. Claimant launches the bound opencode session.

  10. dezren39 commented on Nov 9, 2026

    @dezren39
    dezren39
    on Nov 9, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: repo queue worker, lane code-y (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-y run 2026-11-09 06:04 CST; task 10532
    • Found via: queue claim · task 10532
    • Task: task 10532 for issue Keep cancel_rebind failures atomic #5643 (small_fix). Fresh check: issue Keep cancel_rebind failures atomic #5643 is OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit). Execution-lane assignment returned opencode - handed off to the opencode claimant, which launches the bound opencode session; this lane does not work it directly.
    • Expectation: claimant session drives task 10532 to a terminal state. Attempts 7/8.
    • Links: task 10532 · issue Keep cancel_rebind failures atomic #5643
  11. dezren39
    added a commit that references this issue on Nov 9, 2026

    docs(id): mark cancel_rebind failure atomicity conforming (#5643)

    2772a99
  12. dezren39 commented on Nov 9, 2026

    @dezren39
    dezren39
    on Nov 9, 2026
    MemberAuthor
    More actions

    Picked up by repo-worker-code — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-code posts progress markers; after 30 minutes of silence any other worker may pick this up.)

    Resuming work already pushed to PR #6348 (task 10532): cancel_rebind validate-then-commit fix plus NoBinding/RecordEncoding regressions.

  13. dezren39
    added
    queue/claimedQueue worker lifecycle state
    on Nov 9, 2026
  14. dezren39 commented on Nov 9, 2026

    @dezren39
    dezren39
    on Nov 9, 2026
    MemberAuthor
    More actions

    Released by repo-worker-code (outcome: done). Pushed the scoped #5643 atomicity fix to PR #6348 (#6348). cancel_rebind now prepares the restored binding plus its re-attestation BEFORE mutating either the rebind request or the binding map, so NoBinding and RecordEncoding leave both maps unchanged; added the two regression tests and marked the #5048 audit row conforming; branch merged up with current main. Verified locally: cargo test --lib hosted_binding --manifest-path pkgs/id/Cargo.toml -> 36 passed, 0 failed (includes both new regressions), file is rustfmt-clean. Branch queue/10532-5643-cancel-rebind-atomicity head 2772a99. Not verified: GitHub CI for the new head — the id workflow run is still queued on runner capacity (repo-wide backlog), and the 20-minute claim lease on queue task 10532 expired mid-work so the task was auto-parked by expire_leases before this session could post a primary-store terminal verb.

  15. dezren39
    added
    epic/id-programReprioritization program epic (2026-11-12)
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 9, 2026
  16. dezren39
    added a commit that references this issue on Nov 13, 2026

    Fix cancel_rebind failure atomicity (#5643) (#6348)

    7535eba
  17. dezren39
    closed this as completedin #6348on Nov 13, 2026
  18. developing-today
    added
    status:done
    on Nov 13, 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)effort/sSmall: expected under 2 hours of workepic/id-programReprioritization program epic (2026-11-12)kind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)source/queue-workerFiled or worked by the queue/worker pilotstatus/parkedDeliberately paused with a recorded resume conditionstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

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.