go/internal
Claude 6abe90c8cb
fix(bugseti): add background TTL sweeper and configurable workspace limits
The workspace map previously only cleaned up during Capture() calls,
meaning stale entries would accumulate indefinitely if no new captures
occurred. This adds:

- Background sweeper goroutine (Start/Stop lifecycle) that runs every 5
  minutes to evict expired workspaces
- Configurable MaxWorkspaces and WorkspaceTTLMinutes in Config (defaults:
  100 entries, 24h TTL) replacing hardcoded constants
- cleanup() now returns eviction count for observability logging
- Nil-config fallback to safe defaults

Fixes #54

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 20:31:25 +00:00
..
bugseti fix(bugseti): add background TTL sweeper and configurable workspace limits 2026-02-12 20:31:25 +00:00
cmd feat(agentci): rate limiting and native Go dispatch runner 2026-02-10 03:08:16 +00:00
core-ide feat(agentci): Clotho orchestrator and security hardening 2026-02-10 03:08:16 +00:00
tools/i18n-validate feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
variants Merge branch 'feat/release-and-installers' into new 2026-02-08 21:59:18 +00:00