Skip to content

fix: stale navigation check must not blank the current view (1.0.9) - #25

Merged
lukisch merged 1 commit into
masterfrom
fix/stale-nav-token
Oct 10, 2026
Merged

lukisch merged 1 commit into
masterfrom
fix/stale-nav-token

Conversation

@lukisch

@lukisch lukisch commented Oct 10, 2026

Copy link
Copy Markdown
Collaborator

Late failure/timeout of an earlier target (e.g. E:) switched the view the user had moved on to (C:) to 'Laufwerk nicht erreichbar'. Fix: one new nav token per navigation + guard in _show_unreachable. Tests: 2 new (red on e1c4608). Suite: 573 passed, 1 known host outlier (test_four_stalled_reads).

🤖 Generated with Claude Code

https://claude.ai/code/session_01LYHP4Js5ggpzQ78JXWRe5E

…ks the current view

_switch() went straight to _go() for known paths without a new token, so an older
pending check (e.g. dead E:) stayed "current" and its failure/timeout replaced the
C: view with "Laufwerk nicht erreichbar". Each navigation now takes exactly one new
token, and _show_unreachable() ignores paths that are neither current nor pending.
Tests: stale error / stale timeout (red on e1c4608, green now).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LYHP4Js5ggpzQ78JXWRe5E
@github-actions

Copy link
Copy Markdown

Welcome! Thanks for your first pull request in this repository.

A maintainer will review it soon. Please make sure:

  • Your changes are tested
  • Documentation is updated if needed
  • The PR description explains what changed and why

Thanks for contributing.

@lukisch

lukisch commented Oct 10, 2026

Copy link
Copy Markdown
Collaborator Author

Review (Zwei-Modell-Regel): Claude Opus 5.5 als Operator. Ursache (bekannte Pfade erhöhten _nav_token nicht → späte Fehlprüfung eines alten Ziels leerte die aktuelle Ansicht) und Fix geprüft: ein Token je Navigation in _switch vor beiden Zweigen, Schutzbedingung in _show_unreachable. Neue Tests rot→grün, test_drive_switch 13/13, Suite 573 passed (1 bekannter hostbedingter Ausreißer), CI 14/14.

@lukisch
lukisch merged commit 2f56f3e into master Oct 10, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant