molecule-core/workspace-server/internal/handlers
devops-engineer 47c0a8c903
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (javascript-typescript) (pull_request) Successful in 2s
CodeQL / Analyze (${{ matrix.language }}) (go) (pull_request) Successful in 0s
CodeQL / Analyze (${{ matrix.language }}) (python) (pull_request) Successful in 3s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 7s
Check merge_group trigger on required workflows / Required workflows have merge_group trigger (pull_request) Successful in 7s
pr-guards / disable-auto-merge-on-push (pull_request) Failing after 6s
CI / Detect changes (pull_request) Successful in 10s
E2E API Smoke Test / detect-changes (pull_request) Successful in 10s
branch-protection drift check / Branch protection drift (pull_request) Successful in 12s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 12s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 13s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 12s
Harness Replays / detect-changes (pull_request) Successful in 13s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 14s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 14s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 4s
CI / Python Lint & Test (pull_request) Successful in 6s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 5s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Failing after 46s
Harness Replays / Harness Replays (pull_request) Failing after 56s
CI / Platform (Go) (pull_request) Failing after 1m44s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Failing after 1m51s
CI / Canvas (Next.js) (pull_request) Successful in 2m47s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 4m52s
fix(eic-tunnel-pool): port race fix b6646910 from staging
Sister-agent investigation of PR #99's Platform (Go) regression identified
that PR #99's head pre-dates b6646910 (fix(eic-tunnel-pool): capture
poolJanitorInterval at pool construction).

Without this commit, TestPooledWithEICTunnel_PanicPoisonsEntry fails under
-race on main when the cherry-pick lands. Including it in this cherry-pick
to keep main Platform (Go) green.

Verified locally by sister agent: 3-of-3 reproducible race FAIL without fix,
3-of-3 PASS with fix. 2-of-2 full handlers go test -race PASS with this
file from staging tip.

Co-authored-by: Claude (orchestrator)
2026-05-08 02:26:52 +00:00
..
testdata
a2a_corpus_test.go
a2a_proxy_helpers.go fix(workspace-server): a2a-proxy preflight container check (closes #36) 2026-05-07 11:15:08 -07:00
a2a_proxy_preflight_test.go fix(workspace-server): a2a-proxy preflight container check (closes #36) 2026-05-07 11:15:08 -07:00
a2a_proxy_test.go
a2a_proxy.go fix(workspace-server): a2a-proxy preflight container check (closes #36) 2026-05-07 11:15:08 -07:00
a2a_queue_status_test.go
a2a_queue_status.go
a2a_queue_test.go
a2a_queue.go fix(textutil): SSOT for rune-safe string truncation, fix 3 audit-gap bugs 2026-05-05 23:01:21 -07:00
activity_since_id_test.go
activity_since_secs_test.go
activity_test.go fix(chat-uploads): activity rows commit atomically with PutBatch 2026-05-05 21:34:28 -07:00
activity.go fix(chat-uploads): activity rows commit atomically with PutBatch 2026-05-05 21:34:28 -07:00
admin_delegations_test.go feat(delegations): operator dashboard endpoint over the durable ledger (RFC #2829 PR-4) 2026-05-04 20:58:17 -07:00
admin_delegations.go feat(delegations): operator dashboard endpoint over the durable ledger (RFC #2829 PR-4) 2026-05-04 20:58:17 -07:00
admin_memories_cutover_test.go fix(admin-memories): include each member's private namespace in export 2026-05-04 09:44:06 -07:00
admin_memories_test.go
admin_memories.go fix(admin-memories): include each member's private namespace in export 2026-05-04 09:44:06 -07:00
admin_queue_test.go
admin_queue.go
admin_schedules_health_test.go
admin_schedules_health.go
admin_test_token_test.go
admin_test_token.go
admin_workspace_images_test.go
admin_workspace_images.go feat(provisioner): env-driven RegistryPrefix() for workspace template images (#6) 2026-05-06 14:23:01 -07:00
agent_git_identity_test.go
agent_git_identity.go
agent_message_persistence_gate_test.go test(mcp): comprehensive coverage for send_message_to_user persistence + AST gate (reno-stars followup) 2026-05-05 14:52:32 -07:00
agent_message_writer_test.go fix(textutil): SSOT for rune-safe string truncation, fix 3 audit-gap bugs 2026-05-05 23:01:21 -07:00
agent_message_writer.go fix(textutil): SSOT for rune-safe string truncation, fix 3 audit-gap bugs 2026-05-05 23:01:21 -07:00
agent_test.go
agent.go refactor(events): migrate 18 files to typed EventType constants (RFC #2945 PR-B-1) 2026-05-05 19:05:03 -07:00
approvals_test.go
approvals.go refactor(events): migrate 18 files to typed EventType constants (RFC #2945 PR-B-1) 2026-05-05 19:05:03 -07:00
artifacts_test.go
artifacts.go
audit_test.go
audit.go
budget_test.go
budget.go
bundle.go
channels_test.go
channels.go
chat_files_poll_test.go fix(chat-uploads): activity rows commit atomically with PutBatch 2026-05-05 21:34:28 -07:00
chat_files_test.go feat(saas): close 4th default-tier site + lift org_import asymmetry + tests (#2910) 2026-05-05 11:38:22 -07:00
chat_files.go fix(chat-uploads): activity rows commit atomically with PutBatch 2026-05-05 21:34:28 -07:00
chat_history_test.go feat(messagestore): MessageStore interface + Postgres impl (RFC #2945 PR-D) 2026-05-05 23:38:14 -07:00
chat_history.go feat(messagestore): MessageStore interface + Postgres impl (RFC #2945 PR-D) 2026-05-05 23:38:14 -07:00
checkpoints_integration_test.go
checkpoints_test.go
checkpoints.go
class1_ast_gate_test.go test(handlers): generic Class 1 leak AST gate (#2867 PR-A) 2026-05-05 13:01:34 -07:00
config_test.go
config.go
container_files_delete_test.go
container_files_test.go
container_files.go
delegation_inbox_push_test.go feat(delegations): result-push to caller inbox behind feature flag (RFC #2829 PR-2) 2026-05-04 20:50:46 -07:00
delegation_ledger_integration_test.go test(delegations): tighten integration-test assertions + integrationDB doc (#321) 2026-05-05 03:39:22 -07:00
delegation_ledger_test.go fix(textutil): SSOT for rune-safe string truncation, fix 3 audit-gap bugs 2026-05-05 23:01:21 -07:00
delegation_ledger_writes_test.go feat(delegations): wire ledger Insert+SetStatus from production code paths (RFC #2829 #318) 2026-05-05 02:26:06 -07:00
delegation_ledger_writes.go feat(delegations): wire ledger Insert+SetStatus from production code paths (RFC #2829 #318) 2026-05-05 02:26:06 -07:00
delegation_ledger.go fix(textutil): SSOT for rune-safe string truncation, fix 3 audit-gap bugs 2026-05-05 23:01:21 -07:00
delegation_sweeper_test.go feat(delegations): stuck-task sweeper with deadline + heartbeat-staleness rules (RFC #2829 PR-3) 2026-05-04 20:55:13 -07:00
delegation_sweeper.go feat(delegations): stuck-task sweeper with deadline + heartbeat-staleness rules (RFC #2829 PR-3) 2026-05-04 20:55:13 -07:00
delegation_test.go
delegation.go fix(textutil): SSOT for rune-safe string truncation, fix 3 audit-gap bugs 2026-05-05 23:01:21 -07:00
derive_provider_drift_test.go
discovery_test.go
discovery.go
eic_tunnel_pool_test.go fix(eic-tunnel-pool): port race fix b6646910 from staging 2026-05-08 02:26:52 +00:00
eic_tunnel_pool.go fix(eic-tunnel-pool): port race fix b6646910 from staging 2026-05-08 02:26:52 +00:00
events_test.go
events.go
external_connection_test.go fix(external-connect): use molecule-mcp wrapper in Codex/OpenClaw templates (#2957) 2026-05-05 16:06:02 -07:00
external_connection.go fix(external-connect): use molecule-mcp wrapper in Codex/OpenClaw templates (#2957) 2026-05-05 16:06:02 -07:00
external_rotate_test.go feat(external): credential rotation + re-show instruction modal (#319) 2026-05-05 01:55:27 -07:00
external_rotate.go refactor(events): migrate 18 files to typed EventType constants (RFC #2945 PR-B-1) 2026-05-05 19:05:03 -07:00
github_token_test.go
github_token.go
handlers_additional_test.go
handlers_extended_test.go
handlers_test.go feat: drop shared_context — use memory v2 team namespace instead 2026-05-04 16:30:26 -07:00
hermes_messages_test.go
hermes_messages.go
hibernation_test.go
instructions.go
mcp_test.go test(mcp): comprehensive coverage for send_message_to_user persistence + AST gate (reno-stars followup) 2026-05-05 14:52:32 -07:00
mcp_tools_memory_legacy_shim_test.go Memory v2 PR-6: backward-compat shim — legacy tools route to v2 2026-05-04 08:01:41 -07:00
mcp_tools_memory_legacy_shim.go Memory v2 PR-6: backward-compat shim — legacy tools route to v2 2026-05-04 08:01:41 -07:00
mcp_tools_memory_v2_test.go Memory v2 fixup I1+I4: expires_at validation + audit JSON marshal 2026-05-04 08:57:58 -07:00
mcp_tools_memory_v2.go Memory v2 fixup I1+I4: expires_at validation + audit JSON marshal 2026-05-04 08:57:58 -07:00
mcp_tools.go refactor(handlers): consolidate Notify + MCP send_message_to_user through AgentMessageWriter (RFC #2945 PR-A) 2026-05-05 15:29:42 -07:00
mcp.go Memory v2 PR-11: E2E test — flat-plugin swap proves contract works 2026-05-04 08:20:35 -07:00
memories_test.go feat(memories): PATCH /workspaces/:id/memories/:id endpoint for edits 2026-05-04 21:00:47 -07:00
memories_v2_test.go fix(memory-v2): namespace dropdown labels use display names not UUID prefixes (#2988) 2026-05-05 18:46:50 -07:00
memories_v2.go fix(memory-v2): namespace dropdown labels use display names not UUID prefixes (#2988) 2026-05-05 18:46:50 -07:00
memories.go feat(memories): PATCH /workspaces/:id/memories/:id endpoint for edits 2026-05-04 21:00:47 -07:00
memory_test.go
memory.go
mock_runtime_test.go feat(workspace-server): mock runtime + mock-bigorg org template 2026-05-07 08:40:37 -07:00
mock_runtime.go feat(workspace-server): mock runtime + mock-bigorg org template 2026-05-07 08:40:37 -07:00
native_session_test.go
native_status_mgmt_test.go
org_helpers.go
org_import_force_removed_test.go
org_import_idempotency_test.go test(org_import): tighten sqlmock regex on lookupExistingChild (#2872 PR-B) 2026-05-06 16:43:42 -07:00
org_import.go feat(workspace-server): mock runtime + mock-bigorg org template 2026-05-07 08:40:37 -07:00
org_include_test.go
org_include.go
org_path_test.go
org_plugin_allowlist_test.go
org_plugin_allowlist.go
org_prompt_ref_test.go
org_provision_concurrency_test.go feat(org-import): make provision concurrency configurable via env 2026-05-04 16:33:49 -07:00
org_test.go
org_tokens_test.go
org_tokens.go
org.go feat(org-import): make provision concurrency configurable via env 2026-05-04 16:33:49 -07:00
pending_uploads_integration_test.go test(chat-uploads): integration test for cross-table atomicity (#149 follow-up) 2026-05-05 21:57:56 -07:00
pending_uploads_test.go fix(chat-uploads): activity rows commit atomically with PutBatch 2026-05-05 21:34:28 -07:00
pending_uploads.go feat(rfc): poll-mode chat upload — phase 1 platform staging layer 2026-05-05 04:22:24 -07:00
plugins_findrunning_ssot_test.go fix(workspace-server): SSOT-route container check + 422 on external runtimes 2026-05-06 22:58:20 -07:00
plugins_install_external_test.go fix(workspace-server): SSOT-route container check + 422 on external runtimes 2026-05-06 22:58:20 -07:00
plugins_install_pipeline_test.go
plugins_install_pipeline.go
plugins_install.go fix(workspace-server): SSOT-route container check + 422 on external runtimes 2026-05-06 22:58:20 -07:00
plugins_listing.go
plugins_sources.go
plugins_test.go
plugins.go fix(workspace-server): SSOT-route container check + 422 on external runtimes 2026-05-06 22:58:20 -07:00
provlog_emit_test.go feat(workspace-server): structured logging at provisioning boundaries 2026-05-05 12:30:11 -07:00
registry_test.go
registry.go refactor(events): migrate 18 files to typed EventType constants (RFC #2945 PR-B-1) 2026-05-05 19:05:03 -07:00
restart_context_test.go
restart_context.go
restart_template_test.go
restart_template.go
runtime_image_pin_test.go
runtime_image_pin.go
runtime_overrides_test.go
runtime_overrides.go
runtime_provision_timeouts_test.go
runtime_provision_timeouts.go
runtime_registry_test.go
runtime_registry.go feat(workspace-server): mock runtime + mock-bigorg org template 2026-05-07 08:40:37 -07:00
saas_default_tier_test.go feat(saas): close 4th default-tier site + lift org_import asymmetry + tests (#2910) 2026-05-05 11:38:22 -07:00
sanitize_filename_test.go feat(rfc): poll-mode chat upload — phase 1 platform staging layer 2026-05-05 04:22:24 -07:00
schedules_test.go
schedules.go
secrets_test.go
secrets.go
security_regression_685_686_687_688_test.go feat(saas): close 4th default-tier site + lift org_import asymmetry + tests (#2910) 2026-05-05 11:38:22 -07:00
socket.go
sse_test.go
sse.go
ssrf_test.go
ssrf.go
template_files_eic_dispatch_test.go fix(workspace files API): EIC parity for ListFiles + DeleteFile (closes #2999 PR-A) 2026-05-05 20:18:05 -07:00
template_files_eic_shells_test.go fix(workspace files API): EIC parity for ListFiles + DeleteFile (closes #2999 PR-A) 2026-05-05 20:18:05 -07:00
template_files_eic_test.go fix(workspace files API): EIC parity for ListFiles + DeleteFile (closes #2999 PR-A) 2026-05-05 20:18:05 -07:00
template_files_eic.go fix(workspace files API): EIC parity for ListFiles + DeleteFile (closes #2999 PR-A) 2026-05-05 20:18:05 -07:00
template_import_test.go feat(saas): close 4th default-tier site + lift org_import asymmetry + tests (#2910) 2026-05-05 11:38:22 -07:00
template_import.go fix(workspace files API): EIC parity for ListFiles + DeleteFile (closes #2999 PR-A) 2026-05-05 20:18:05 -07:00
templates_test.go fix(workspace files API): EIC parity for ListFiles + DeleteFile (closes #2999 PR-A) 2026-05-05 20:18:05 -07:00
templates.go fix(workspace files API): EIC parity for ListFiles + DeleteFile (closes #2999 PR-A) 2026-05-05 20:18:05 -07:00
terminal_diagnose_test.go
terminal_diagnose.go
terminal_test.go
terminal.go
tokens_sqlmock_test.go
tokens_test.go
tokens.go
traces_test.go
traces.go
transcript_test.go
transcript.go
viewport_test.go
viewport.go
webhooks_test.go
webhooks_workflow_test.go
webhooks.go
workspace_bootstrap_test.go
workspace_bootstrap.go refactor(events): migrate 18 files to typed EventType constants (RFC #2945 PR-B-1) 2026-05-05 19:05:03 -07:00
workspace_budget_test.go
workspace_crud.go refactor(events): migrate 18 files to typed EventType constants (RFC #2945 PR-B-1) 2026-05-05 19:05:03 -07:00
workspace_dispatchers.go feat(workspace-server): structured logging at provisioning boundaries 2026-05-05 12:30:11 -07:00
workspace_metrics_test.go
workspace_metrics.go
workspace_namespace_cleanup_test.go Memory v2 fixup I5: workspace purge cleans up plugin namespace 2026-05-04 09:20:37 -07:00
workspace_preflight_test.go
workspace_preflight.go
workspace_provision_auto_test.go Merge pull request #2856 from Molecule-AI/chore/remove-team-expand-handler 2026-05-05 09:42:51 +00:00
workspace_provision_concurrent_repro_test.go
workspace_provision_panic_test.go
workspace_provision_shared_test.go
workspace_provision_shared.go refactor(events): migrate 18 files to typed EventType constants (RFC #2945 PR-B-1) 2026-05-05 19:05:03 -07:00
workspace_provision_test.go
workspace_provision.go refactor(models): consolidate per-runtime model defaults to SSOT (RFC #2873 iter 1) 2026-05-05 04:12:37 -07:00
workspace_restart_async_test.go
workspace_restart_coalesce_test.go fix(test): drain coalesceRestart goroutines before t.Cleanup (Class H, #170) 2026-05-07 13:13:13 -07:00
workspace_restart_stop_retry_test.go
workspace_restart_test.go
workspace_restart.go feat(workspace-server): mock runtime + mock-bigorg org template 2026-05-07 08:40:37 -07:00
workspace_test.go
workspace.go refactor(events): migrate 18 files to typed EventType constants (RFC #2945 PR-B-1) 2026-05-05 19:05:03 -07:00
workspaces_insert_allowlist_test.go test(handlers): allowlist INSERT INTO workspaces sites — close bulk-create regression class (#2867 class 1) 2026-05-05 11:15:16 -07:00