feat(incidents): add incident workspace #482
No reviewers
Labels
No labels
E2E Failure
area:agent
area:audit-log
area:auth
area:authz
area:ci
area:crypto
area:db
area:docker
area:headers
area:ingest
area:ldap
area:rate-limit
area:ssrf
area:supply-chain
area:terminal
autorelease: pending
autorelease: tagged
bug
claude-working
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: critical
priority: high
priority: low
priority: medium
question
security
sev:critical
sev:high
sev:info
sev:low
sev:medium
tests-required
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carrtech/ct-ops!482
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/incident-workspace"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary\n- add incident tables, linked evidence, and timeline events\n- add Incidents list/detail workspace with manual creation and response-state updates\n- add alert-row action to create or reuse an open incident for a firing alert\n- document the incident workspace and update progress tracking\n\n## Validation\n- node --experimental-strip-types --test lib/incidents/core.test.mjs\n- DATABASE_URL=postgres://ct_ops:ct_ops@localhost:5432/ct_ops pnpm db:validate\n- pnpm lint -- 'app/(dashboard)/incidents/page.tsx' 'app/(dashboard)/incidents/incidents-client.tsx' 'app/(dashboard)/incidents/[id]/page.tsx' 'app/(dashboard)/incidents/[id]/incident-detail-client.tsx' 'app/(dashboard)/alerts/alerts-client.tsx' components/shared/sidebar.tsx lib/actions/incidents.ts lib/db/schema/incidents.ts lib/incidents/core.ts lib/incidents/core.test.mjs\n- pnpm type-check\n- DATABASE_URL=postgres://ct_ops:ct_ops@localhost:5432/ct_ops BETTER_AUTH_URL=http://localhost:3000 pnpm --filter web build\n\n## Notes\n- Browser smoke reached the protected /incidents route and redirected to login; login rendering was blocked by the local PostgreSQL database not running (ECONNREFUSED querying ldap_configurations).\n- Filed issue #481 for pre-existing Drizzle snapshot parent collisions that block normal drizzle-kit migration generation.