Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/self-host/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Teams connect their own AWS accounts so CoderHelm can read CloudWatch logs, alar
Each AWS connection shows **Permissions up to date** or **Update needed: N new read-only permissions**. The check runs live: it asks IAM's policy simulator about the role (`iam:SimulatePrincipalPolicy` on that one role), or, for roles made before that, tries the cheapest read of each kind. **Update in AWS** opens a stack (`CoderHelmLogReaderUpdate-<id>`) that adds exactly this release's permissions to the existing role. Sign in to the role's account, review it and press **Create stack**. When you come back, the page checks again by itself. If something went wrong, it names the reason and the fix: the stack failed, it isn't in the role's account, a permissions boundary or an organization policy (SCP) blocks the permissions. Once a day the install checks every account, and each team's Slack or Teams channel hears once per release that needs an update. Until then, features that need a missing permission say so where they are used, skip that step and keep working with the rest.
- **Alert routes (SNS)**\
**Settings, Alerts** shows the subscription endpoint, `https://coderhelm.example.com/webhooks/alerts/sns`. Save and turn on the route before you subscribe the topic: CoderHelm only confirms subscriptions for topics with a route that's on. If you subscribed first, press **Request confirmation** on the subscription in SNS. Every message's signature is checked before anything else.
- **Alarms that keep firing**\
Each route has a repeat setting under **When an alarm keeps firing**: **Every time it fires** (the default, and how routes saved before the setting behave), **Once, until it clears**, or **Once, then a daily reminder**. A CloudWatch alarm can have its own setting by name. While an alarm keeps firing it posts once and starts no second fix run; flipping to OK and back doesn't count as clearing. It has cleared once it stays OK for a quiet window of 30 minutes, or two of the alarm's own evaluation spans (period times evaluation periods) when that is longer, up to 6 hours. Then the recovery posts once (on routes that post recoveries) and the next alarm posts at once. The daily reminder says since when it has been firing and how many times. Every delivery is still recorded, and the Alerts page shows a firing alarm as one row with a count. The quiet window and reminders are checked later by the worker through the ticket queue, so no new infrastructure is needed.
- **With hybrid**\
No change: AWS accounts always connect to your install directly.

Expand Down
2 changes: 1 addition & 1 deletion selfhost/versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"about": "The dashboard commit each platform release ships: a full 40-character commit SHA of CoderHelm/coderhelm, never a branch or tag (scripts/check-dashboard-ref.mjs fails CI and the release otherwise). The release workflow builds exactly this commit (dashboard/) into dashboard.tar.gz. Move it with scripts/bump-dashboard.sh in a reviewed PR, in the same PR as any API change the dashboard needs.",
"dashboardRef": "d2df18677bb2cebd0a8b9a33e93900180f6d63d9"
"dashboardRef": "f4ebcbdb04525641f9f64e4c3901a25b909e4cbb"
}
3 changes: 2 additions & 1 deletion services/common/contract/worker_messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"usage_record": {"type":"usage_record","call_id":"req_011","team_id":"TEAM#team-a","at_ms":1792416387000,"feature":"run","model":"claude-opus-5-5","billed_to":"team","estimated":true,"usage":{"uncached_input":10,"cache_read":2000,"cache_write_5m":300,"cache_write_1h":0,"output":42}},
"plugin_run": {"type":"plugin_run","team_id":"TEAM#team-a","run_id":"01hzzrun","plugin_id":"marketing","hash":"abc","trigger":"manual","inputs":{"brief":"Launch post for 2.0","channels":["linkedin"]},"requested_by":"someone@example.com"},
"plugin_publish": {"type":"plugin_publish","team_id":"TEAM#team-a","artifact_id":"01hzzart","version":2,"approval_id":"01hzzapp"},
"plugin_sync": {"type":"plugin_sync","team_id":"TEAM#team-a","source_id":"acme-plugins-abc123","plugin_id":"","force":false,"reason":"webhook"}
"plugin_sync": {"type":"plugin_sync","team_id":"TEAM#team-a","source_id":"acme-plugins-abc123","plugin_id":"","force":false,"reason":"webhook"},
"alert_episode_check": {"type":"alert_episode_check","team_id":"TEAM#team-a","topic_arn":"arn:aws:sns:us-east-1:111122223333:example-alarms","fingerprint":"arn:aws:cloudwatch:us-east-1:111122223333:alarm:example-queue-depth","check":"clear","token":"01JBALERT3K8P2N6Q9R1S4T7V0","delay_remaining_secs":1800}
},
"scheduled": {
"review_reminder": {"type":"review_reminder"},
Expand Down
Loading
Loading