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 — #407 nits: slots observer treats a failed store load as empty; note vs mode change · Issue #415 · scuttletoby/t3code

#407 nits: slots observer treats a failed store load as empty; note vs mode change #415

New issue
Copy link
New issue
Copy link
Closed
#573
Closed
#407 nits: slots observer treats a failed store load as empty; note vs mode change#415
#573
Copy link

Description

@scuttletoby
scuttletoby
opened on Nov 17, 2026
Issue body actions

Nits from the lens on #407 (#407 (comment); SAFE). Low priority; take with the next slots (DS4+) work.

  1. A failed store load reads as an empty store (apps/server/src/slots/SlotObserver.ts:224, WaitService.ts:679-681). When the wait store cannot be loaded or the settings cannot be read, the read returns an empty list, not a failure. The observer treats that as a good read: it drops the notes and marks nothing, so it reads 2 where it should read 1. Slots-on has the same weakness at its own decision read. Fix: make the read fail on a load or settings error, and treat a failure as not-a-good-read in both places.
  2. A note can mark a hold granted after it (SlotObserver.ts:220). This needs observe mode with slots off, then fixed mode with limits within 10 minutes (a new hold is granted there), then back. The count is then one agent too few. Fix: clear notes on any mode change, or record the hold id.
  3. Test tidy-up: the capped wait-for-status loop appears 3 times in SlotObserver.test.ts (:183, :832, :1041). Use one helper.
  4. Surviving mutation: a second start of the same thread keeps the first note's time. This matters only if reserveSeconds > 600. Add a test, or cap reserveSeconds below the note limit.

#381 item 1 (the marker line) waits on #409.

Activity

  1. scuttletoby
    added a commit that references this issue on Nov 20, 2026

    slots: say which grants cannot come in between (#415)

    c7cb6f9
  2. scuttletoby
    closed this as completedin #573on Nov 20, 2026
  3. scuttletoby
    added 3 commits that reference this issue on Nov 21, 2026

    slots: a wait store that cannot be read is not an empty one (#415) (#573

    5bd0528

    slots: a wait store that cannot be read is not an empty one (#415) (#573

    0c3dc60

    slots: a wait store that cannot be read is not an empty one (#415) (#573

    032918c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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.