Skip to content

[bug] "nothing playing" empty screen after sleep timer expires on iOS #89

Closed

Description

@libravault-xyz

On iOS, after sleep timer expired, the book vanishes and only an empty screen with "nothing playing" is showing, see screenshot:

Image

Audio playback should just stop, fading out in 3 seconds. Nothing else should change, should the user want to continue listening.

Build 28

Activity

  1. added
    bug
    on Aug 6, 2026
  2. added
    status:ready-for-dev
    on Aug 17, 2026
  3. libravault-xyz commented on Aug 17, 2026

    @libravault-xyz
    CollaboratorAuthor

    Triage (2026-08-17): Confirmed as a real, still-present bug. In ios/LibraVaultApp/LibraVault/LibraVault/Sources/Models/AppState.swift, sleep-timer expiry calls stopPlayback(), which unconditionally sets nowPlayingBook = nil — the same full-teardown path used when a chapter list is exhausted. That's exactly what produces the "nothing playing" empty screen. Android's equivalent (feature/player/.../SleepTimer.kt) only pauses/fades ExoPlayer and never clears playback state, so Android doesn't have this bug — the fix should bring iOS in line with that: pause/fade on sleep-timer expiry without wiping nowPlayingBook/chapter state, rather than reusing stopPlayback().

    Labeling status:ready-for-dev.

  4. github-actions commented on Aug 17, 2026

    @github-actions
    Contributor

    Pipeline is at capacity (3/3 active runs) — skipping this run. Re-apply status:ready-for-dev once activity settles, or re-trigger manually via workflow_dispatch.

  5. added
    status:ready-for-dev
    and removed
    status:ready-for-dev
    on Aug 17, 2026
  6. added
    status:needs-info
    and removed
    status:ready-for-dev
    on Aug 17, 2026
  7. github-actions commented on Aug 17, 2026

    @github-actions
    Contributor

    The dev agent's run failed (crashed or exhausted its turn budget) partway through triage/implementation, before opening a PR — routed to a human instead of silently leaving this on status:in-progress or status:ready-for-dev. See the workflow run.

  8. added
    status:ready-for-dev
    and removed
    status:needs-info
    on Aug 18, 2026
  9. added
    status:in-progress
    status:needs-info
    and removed
    status:ready-for-dev
    status:in-progress
    on Aug 18, 2026
  10. github-actions commented on Aug 18, 2026

    @github-actions
    Contributor

    The dev agent's run failed (crashed or exhausted its turn budget) partway through triage/implementation, before opening a PR — routed to a human instead of silently leaving this on status:in-progress or status:ready-for-dev. See the workflow run.

  11. added a commit that references this issue on Aug 18, 2026
  12. added
    status:ready-for-dev
    and removed
    status:needs-info
    on Aug 18, 2026
  13. added
    status:in-progress
    and removed
    status:ready-for-dev
    on Aug 18, 2026
  14. added
    status:ready-for-dev
    and removed
    status:in-progress
    status:ready-for-dev
    on Aug 18, 2026
  15. libravault-xyz commented on Aug 18, 2026

    @libravault-xyz
    CollaboratorAuthor

    Automated pipeline health check — retrying (pattern-4, cap since raised): Pulled both prior crash logs directly rather than trusting the generic comment text.

    • run 32050188295 (~17:31 UTC 08-17): "terminal_reason": "max_turns", "subtype": "error_max_turns", "errors": ["Reached maximum number of turns (40)"].
    • run 32099484081 (~04:38 UTC today): identical — cap 40, error_max_turns.

    Both crashes happened while dev-agent.yml's cap was still 40. That cap has since been raised twice (40→70 via #259, then 70→90 via #267 — confirmed current: --max-turns 90), and this issue has not been retried against either raised value. No 429/503 evidence in either log (checked — the only "429"/"503" substring hits are token-count coincidences, not HTTP errors), so this isn't pattern-2 either.

    Active run count is 1/3 (dev-agent 0, qa-agent 0, principal-review 1, unrelated to this issue) — under cap. Per this routine's own rule ("safe to retry once" when a higher cap has since merged and the issue hasn't been retried against it), toggling status:ready-for-dev off/on to re-fire dev-agent.yml at the current 90-turn cap. If it exhausts 90 turns too, that's a fresh human scope/cap decision per the rule — not a further auto-retry.


    Generated by Claude Code

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

    bugiosstatus:ready-for-dev

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions