Skip to content

Bubble bullshit#201

Merged
m1rl0k merged 14 commits intotestfrom
bubble-bullshit
Jan 26, 2026
Merged

Bubble bullshit#201
m1rl0k merged 14 commits intotestfrom
bubble-bullshit

Conversation

@m1rl0k
Copy link
Collaborator

@m1rl0k m1rl0k commented Jan 26, 2026

No description provided.

Enhanced the status table to better handle 'last_ingested_at' timestamps and provide more granular model warmup statuses, including 'warm', 'warming', 'cold', and 'failed'. This improves clarity and accuracy in status reporting.
Enhanced the logic for displaying model warmup status by considering the 'status' field from warmup_info and providing more granular symbols and text for 'Ready', 'Loading', 'Failed', and 'Cold' states. This makes the status output more informative and accurate.
Introduces a Redis service to docker-compose for use as a cache/state backend, updates environment variables for Redis configuration, and ensures relevant services depend on Redis. Enhances the ctx_cli reset command with a --db-reset option to reset database volumes, refines mode selection (defaulting to HTTP MCPs), and updates help text and logic for clarity and flexibility.
Implements automatic migration between file and Redis backends for workspace state, triggered on backend switch and controlled via environment variables. Adds backend migration logic to startup of key scripts, updates .env.example with migration options, and enhances the admin dashboard UI for collections, users, and access control with improved layout, tab navigation, and real-time collection status streaming. Also improves Qdrant schema caching and connection pooling, and updates ignore files for new artifacts.
Replaced hashlib usage with xxhash in pipeline, qdrant, and workspace_state scripts to improve hashing performance. Also updated upload_service to allow admin access and dashboard redirects when authentication is disabled, enhancing demo and development mode usability.
@augmentcode
Copy link

augmentcode bot commented Jan 26, 2026

🤖 Augment PR Summary

Summary: This PR expands state management and refreshes the admin experience, introducing a Redis-backed codebase state option with automatic backend migration.

Changes:

  • Adds optional Redis service + wiring in docker-compose.yml, and documents backend migration/skip flags in .env.example.
  • Implements file↔Redis backend migration logic in scripts/workspace_state.py, plus a lock “skip-on-contention” mode for parallel indexing.
  • Updates ingestion to track indexing progress in workspace state and adds retry behavior when per-file locks are contended.
  • Switches several internal hashes to xxhash (file/content IDs and Redis/path-derived keys) for speed.
  • Adds API key storage/validation to scripts/auth_backend.py and surfaces API key management in the Admin UI.
  • Revamps the Admin UI templates and adds an SSE endpoint for live collection status updates.
  • Adjusts ctx reset defaults/modes and adds an optional --db-reset flow to preserve or wipe DB volumes.
  • Improves CLI status output parsing for warmup/index timestamps.

Technical Notes: Backend migration is invoked on startup by ingest/watcher/MCP processes and can be disabled via CODEBASE_STATE_SKIP_MIGRATION; switching hash functions may invalidate prior cached hashes/IDs.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 3 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Revamps admin HTML templates with premium glassmorphism, animated backgrounds, and Inter font for improved aesthetics and UX. Adds list_qdrant_collections to indexing_admin.py and updates upload_service.py to use it for collection listing when auth is disabled, ensuring admin ACL page works without authentication.
Introduces LockContendedException and enable_lock_skip_on_contention context manager to allow parallel file indexing to skip files with contended Redis locks and retry them sequentially. Improves pipeline.py to handle lock contention gracefully during parallel processing, reducing bottlenecks and improving throughput.
Implements workspace state updates for live indexing progress in pipeline.py, enabling UI updates. Enhances admin login and dashboard behavior for demo mode, including support for demo sessions and clearer credential hints. Updates ACL table to show collection IDs and indexing hashes for improved visibility.
Introduces an API Keys tab in the admin ACL page for managing shared access tokens, including creation, listing, and revocation of keys. Refactors collection action buttons for reindex, recreate, and delete to use new labeled action button styles for improved clarity and consistency. Enhances form select styling and adds supporting CSS for new UI elements. Also, the login page is now always shown to allow demo credentials entry.
Introduces API key creation, listing, revocation, and validation in the authentication backend. Updates the admin UI and upload service to support API key management, including new endpoints and template context. Also improves select element styling in the admin base template.
@m1rl0k
Copy link
Collaborator Author

m1rl0k commented Jan 26, 2026

augment review

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 5 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Introduces a get_neo4j_status() utility in indexing_admin.py to report Neo4j plugin health and status. Updates ingest/config.py to import and handle new indexing state functions. Enhances the admin ACL template to display graph indexing status and clone information in the UI.
Introduces a Neo4j system status badge to the admin ACL page, displaying connection and health status. Updates backend to pass Neo4j status to the template and adds a new badge style for muted status.
@m1rl0k m1rl0k merged commit fe6409f into test Jan 26, 2026
1 check 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