Skip to content

[DBA-136] Highlight new build in chat (chromedevtools)#76

Closed
SimonKaran13 wants to merge 2 commits intomainfrom
sk/DBA-136-new-build-banner-chromedevtools
Closed

[DBA-136] Highlight new build in chat (chromedevtools)#76
SimonKaran13 wants to merge 2 commits intomainfrom
sk/DBA-136-new-build-banner-chromedevtools

Conversation

@SimonKaran13
Copy link
Copy Markdown
Member

Summary

  • Adds a sentinel file (.build_complete) written after successful builds (both CLI databao build and UI build) to reliably signal build completion
  • Polls the sentinel mtime every 5s via a Streamlit fragment on the chat page
  • Shows an amber warning banner with a one-click Reload button when a newer build is detected
  • Clicking Reload invalidates the agent and reloads with the latest context

This is the chromedevtools-mcp variant of the DBA-136 implementation (see also PR #75 which used playwright-mcp for browser testing).

Test plan

  • Unit tests for get_build_fingerprint and write_build_sentinel (7 tests)
  • Existing test_build.py passes (sentinel written during DuckDB build)
  • Ruff, mypy pass on all changed files
  • Visual verification via Chrome DevTools MCP — banner appears/disappears correctly
  • Manual E2E: run databao build from CLI while chat is open, verify banner appears

🤖 Generated with Claude Code

SimonKaran13 and others added 2 commits March 24, 2026 15:57
Detect when a new build completes and show a non-blocking warning
banner in the chat interface with a one-click reload action.

- Add sentinel file (.build_complete) written after successful builds
  (both CLI and UI paths) to reliably detect build completion
- Poll the sentinel mtime every 5s via a Streamlit fragment
- Show amber banner with Reload button when a newer build is detected
- Clicking Reload invalidates the agent and reloads with new context

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <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