Skip to content

chore(agent): simplify turn-cancellation watcher and select branch#95

Merged
edgarriba merged 1 commit into
mainfrom
chore/simplify-cancellation
May 16, 2026
Merged

chore(agent): simplify turn-cancellation watcher and select branch#95
edgarriba merged 1 commit into
mainfrom
chore/simplify-cancellation

Conversation

@edgarriba

Copy link
Copy Markdown
Member

Summary

  • runtime.rs: removes unnecessary { } scoping block around the cancel watcher tokio::spawn; inlines while let into the Ok arm, dropping one indentation level
  • mod.rs: replaces if let Some(token) { select! } else { future.await } with a single select! using a never-cancelled dummy token — same semantics, no branching

Net: −9 lines, no behavior change.

🤖 Generated with Claude Code

- runtime.rs: remove unnecessary scoping block around cancel watcher spawn;
  inline while-let into the Ok arm to drop one indentation level
- mod.rs: replace if-let-select/else-await with a single select! using a
  never-cancelled dummy token — same semantics, no branching

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@edgarriba edgarriba merged commit ac384dc into main May 16, 2026
1 check passed
@edgarriba edgarriba deleted the chore/simplify-cancellation branch May 16, 2026 06:30
edgarriba added a commit that referenced this pull request May 19, 2026
Ships 10 commits worth of features and fixes since v0.0.13:

Features
- agent: grab_frame tool + Gemini Vision provider + image-in-chat (#96)
- dashboard: Chat tab with HTTP+SSE agent gateway (#91)
- agent: client-side turn cancellation via Zenoh cancel topic (#94, #95)
- chat: multi-provider login status, 404 on unknown agent, Claude OAuth
  risk warning (#93)
- mcp: 'bubbaloop mcp --token' prints bearer token for .mcp.json (#90)

Fixes
- agent: grab_frame reads binary JPEG payload + JSON metadata
  attachment from camera nodes (#99)
- chat: clear Responding state after multi-camera grab_frame (#98)
- mcp: eliminate token race between gateway and agent runtime (#89)

Chores
- dashboard: remove LibraryView component (#92, replaced by Chat tab)

Docs
- Comprehensive sync across README, CHANGELOG (backfilled v0.0.8 to
  v0.0.13), CLAUDE.md, ARCHITECTURE.md, ROADMAP.md, concept/reference/
  dashboard docs to match the new feature surface (#100)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
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