Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
refactor(observability): clarify Sentry environment tags
cyh979e0c150c73
diff --git a/docker-compose.e2e-integration.yml b/docker-compose.e2e-integration.ymlindex 9f5b5d99c..51407056b 100644--- a/docker-compose.e2e-integration.yml+++ b/docker-compose.e2e-integration.yml@@ -19,6 +19,7 @@ services:- .env.e2eenvironment:- VIBE_REMOTE_HOME=/data/vibe_remote+ - VIBE_DEPLOYMENT_ENV=integration- VIBE_UI_PORT=5123- E2E_TEST_MODE=truevolumes:diff --git a/docker-compose.e2e.yml b/docker-compose.e2e.ymlindex bbd76dfa7..3de002417 100644--- a/docker-compose.e2e.yml+++ b/docker-compose.e2e.yml@@ -7,6 +7,7 @@ services:- "${VIBE_E2E_PORT:-15123}:5123"environment:- VIBE_REMOTE_HOME=/data/vibe_remote+ - VIBE_DEPLOYMENT_ENV=e2e- VIBE_UI_PORT=5123healthcheck:test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5123/health', timeout=3)"]diff --git a/tests/test_sentry_integration.py b/tests/test_sentry_integration.pyindex 5e9637eff..3cea275a5 100644--- a/tests/test_sentry_integration.py+++ b/tests/test_sentry_integration.py@@ -50,14 +50,15 @@ def test_resolve_sentry_options_honors_empty_env_dsn_as_opt_out(monkeypatch):assert sentry_integration.resolve_sentry_options() is None-def test_detect_sentry_environment_defaults_to_development(monkeypatch):+def test_detect_sentry_environment_defaults_to_local(monkeypatch):monkeypatch.delenv("VIBE_SENTRY_ENVIRONMENT", raising=False)monkeypatch.delenv("SENTRY_ENVIRONMENT", raising=False)monkeypatch.delenv("VIBE_DEPLOYMENT_ENV", raising=False)+ monkeypatch.delenv("E2E_TEST_MODE", raising=False)monkeypatch.setenv("VIBE_REMOTE_HOME", "/tmp/vibe-remote-home")monkeypatch.setattr(sentry_integration, "Path", lambda _: type("P", (), {"exists": staticmethod(lambda: False)})())- assert sentry_integration.detect_sentry_environment() == "development"+ assert sentry_integration.detect_sentry_environment() == "local"def test_detect_sentry_environment_uses_explicit_deployment_env(monkeypatch):@@ -68,6 +69,16 @@ def test_detect_sentry_environment_uses_explicit_deployment_env(monkeypatch):assert sentry_integration.detect_sentry_environment() == "production"+def test_detect_sentry_environment_marks_integration_mode(monkeypatch):+ monkeypatch.delenv("VIBE_SENTRY_ENVIRONMENT", raising=False)+ monkeypatch.delenv("SENTRY_ENVIRONMENT", raising=False)+ monkeypatch.delenv("VIBE_DEPLOYMENT_ENV", raising=False)+ monkeypatch.setenv("E2E_TEST_MODE", "true")+ monkeypatch.setenv("VIBE_REMOTE_HOME", "/tmp/vibe-remote-home")++ assert sentry_integration.detect_sentry_environment() == "integration"++def test_build_sentry_contexts_contains_debug_metadata(monkeypatch):monkeypatch.setenv("VIBE_REMOTE_HOME", "/tmp/vibe-remote-home")diff --git a/vibe/sentry_integration.py b/vibe/sentry_integration.pyindex b6ffa9dc8..07144d3a3 100644--- a/vibe/sentry_integration.py+++ b/vibe/sentry_integration.py@@ -13,7 +13,7 @@ from config.v2_config import V2Configlogger = logging.getLogger(__name__)-# Fill this with the real project DSN to make Sentry default-on in production.+# Fill this with the real project DSN to make Sentry default-on across deployments.DEFAULT_SENTRY_DSN = "https://389134cd3be10054d640f631d7eac382@o4511104395051008.ingest.us.sentry.io/4511104396820480"DEFAULT_TRACES_SAMPLE_RATE = 0.0DEFAULT_PROFILES_SAMPLE_RATE = 0.0@@ -102,7 +102,10 @@ def detect_sentry_environment() -> str:if "three-regression" in vibe_home:return "regression"- return "development"+ if os.environ.get("E2E_TEST_MODE", "").lower() in ("true", "1", "yes"):+ return "integration"++ return "local"def resolve_sentry_options() -> Optional[dict[str, Any]]: