Skip to content

feat: add workspace autostop reminder template#26429

Open
sreya wants to merge 1 commit into
mainfrom
autostop-notif/02-template
Open

feat: add workspace autostop reminder template#26429
sreya wants to merge 1 commit into
mainfrom
autostop-notif/02-template

Conversation

@sreya

@sreya sreya commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions

Copy link
Copy Markdown

Docs preview

📖 View docs preview for docs/admin/monitoring/notifications/index.md

@sreya sreya changed the base branch from main to autostop-notif/01-db June 16, 2026 18:45
@sreya

sreya commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator Author

/coder-agents-review

@coder-agents-review

coder-agents-review Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Chat: Review posted | View chat
Requested: 2026-06-16 20:45 UTC by @sreya
Spend: $35.66 / $100.00

Review history
  • R1 (2026-06-16), 1 P2, COMMENT. Review
  • R2 (2026-06-16): 12 reviewers, 1 Nit, 1 P2, 1 P3, COMMENT. Review
  • R3 (2026-06-16): 4 reviewers, 1 Nit, 1 P2, 1 P3, APPROVE. Review

deep-review v0.7.1 | Round 3 | 2948714..f9cb091

Last posted: Round 3, 3 findings (1 P2, 1 P3, 1 Nit), APPROVE. Review

Finding inventory

Finding inventory

Findings

# Sev Status Location Summary Round Reviewer Posted
CRF-1 P2 Author fixed (2b7ff5f) TemplateWorkspaceAutostopReminder.html.golden:1 SMTP golden file uses LF instead of CRLF; causes deterministic gen CI failure R1 Netero Yes
CRF-2 P3 Author fixed (f9cb091) docs/admin/monitoring/notifications/index.md:54 Docs describe undispatched notification as working feature R2 Mafuuu P3, Leorio P3, Luffy P3, Hisoka Note, Mafu-san Note, Meruem Note Yes
CRF-3 Nit Author fixed (f9cb091) docs/admin/monitoring/notifications/index.md:54 Doc entry uses inline description; siblings use bare names or sub-bullets R2 Gon, Leorio, Luffy Yes

Round log

Round 1

Netero-only. 1 P2 (adjusted from Netero P0). Reviewed against 69a63a6..f3093b2. CI gen failure confirmed as golden file line-ending mismatch. Panel deferred to next round after fix.

Round 2

Panel (12 reviewers). CRF-1 addressed. 1 P3, 1 Nit new. 0 dropped. Reviewed against 69a63a6..2b7ff5f. Clean PR that follows the established notification template pattern. Primary concern is docs describing behavior that doesn't exist yet.

Round 3

Panel (4 reviewers + Netero advisory). CRF-2 and CRF-3 addressed. 0 new findings. All prior findings resolved. Reviewed against 2948714..f9cb091. APPROVE.

About deep-review

CRF = Coder Review Finding (P0-P4, Nit, Note)

Reviewer Focus
Bisky tests
Chopper ops/errors
Churn-guard change verification
Ging language modernization
Gon naming
Hisoka edge cases
Killua perf
Kite change integrity
Knov contracts
Knuckle SQL
Kurapika security
Law decomposition
Leorio docs
Luffy product
Mafu-san process
Mafuuu contracts
Melody dispatch/pairing
Meruem structural
Nami frontend
Netero mechanical checks
Pariston premise testing
Pen-botter product gaps
Razor verification
Robin duplication
Ryosuke Go arch
Takumi concurrency
Zoro shape

🤖 Managed by Coder Agents.

@coder-agents-review coder-agents-review Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First-pass review (Netero). One P2 finding. This is a mechanical check only; the full review panel has not yet reviewed this PR. The panel will review after this finding is addressed.

The template definition follows the established notification pattern correctly: UUID in events.go, fallback icon, golden test, docs update. The DB migration lives in the parent commit, and no production code dispatches this notification yet, which is fine for a template-definition PR.

"The new file has zero \r characters." (Netero, on the SMTP golden file)

🤖 This review was automatically generated with Coder Agents.

@sreya sreya force-pushed the autostop-notif/02-template branch from f3093b2 to 2b7ff5f Compare June 16, 2026 18:58
@sreya

sreya commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator Author

/coder-agents-review

@sreya sreya force-pushed the autostop-notif/01-db branch from 69a63a6 to 2948714 Compare June 16, 2026 20:36
@sreya sreya force-pushed the autostop-notif/02-template branch from 2b7ff5f to 8baedb7 Compare June 16, 2026 20:36

@coder-agents-review coder-agents-review Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Panel review (round 2, 12 reviewers). CRF-1 fix verified by all reviewers. 1 P3, 1 Nit new.

This is a well-executed template definition PR. The pattern is correct: UUID constant, fallback icon, golden test, docs entry. The golden test runs through the full notification pipeline and is structurally enforced by enumerateAllTemplates. Test density at 97.6% is strong. The stacked-PR decomposition (migration first, then template wiring, then sender) is clean.

Two process notes: the PR description is empty (just the default AI contribution HTML comment), and the commit scope coderd/notifications doesn't contain all changed files (coderd/inboxnotifications.go and docs/ are outside it). Neither blocks merge but worth fixing for future readers.

"I tried to build a case against this change on four different framings and could not." (Pariston)

🤖 This review was automatically generated with Coder Agents.

Comment thread docs/admin/monitoring/notifications/index.md Outdated
Comment thread docs/admin/monitoring/notifications/index.md Outdated
@sreya sreya force-pushed the autostop-notif/02-template branch from 8baedb7 to f9cb091 Compare June 16, 2026 20:44
@sreya

sreya commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator Author

/coder-agents-review

@coder-agents-review coder-agents-review Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All findings resolved. 3 rounds, 3 findings raised, 3 fixed.

CRF-1 (P2, R1): SMTP golden file line endings. Fixed by regenerating the golden file with CRLF.
CRF-2 (P3, R2): Docs described a notification that nothing sends. Fixed by removing the behavioral description.
CRF-3 (Nit, R2): Doc entry style. Fixed by the same change as CRF-2.

The template definition is clean. UUID matches the migration, labels match the template body, golden test runs the full pipeline, fallback icon is mapped, docs entry is correctly placed. The stacked-PR decomposition (migration, then template wiring, then sender) is reasonable.

"A clean stone, no inclusions." (Bisky)

🤖 This review was automatically generated with Coder Agents.

@sreya sreya force-pushed the autostop-notif/01-db branch from 2948714 to 302d252 Compare June 16, 2026 21:23
@sreya sreya force-pushed the autostop-notif/02-template branch from f9cb091 to 1988d15 Compare June 16, 2026 21:24
@sreya sreya force-pushed the autostop-notif/01-db branch from 302d252 to 33ccfed Compare June 16, 2026 22:08
@sreya sreya force-pushed the autostop-notif/02-template branch from 1988d15 to 5885637 Compare June 16, 2026 22:10
@sreya sreya force-pushed the autostop-notif/01-db branch from 33ccfed to 585d717 Compare June 17, 2026 03:58
@sreya sreya force-pushed the autostop-notif/02-template branch from 5885637 to d21121f Compare June 17, 2026 03:59
@sreya sreya force-pushed the autostop-notif/01-db branch from 585d717 to 699113e Compare June 22, 2026 15:01
@sreya sreya force-pushed the autostop-notif/02-template branch from d21121f to 1c5a2f2 Compare June 22, 2026 15:01
Base automatically changed from autostop-notif/01-db to main June 22, 2026 15:59
@sreya sreya force-pushed the autostop-notif/02-template branch from 1c5a2f2 to f9b398f Compare June 22, 2026 16:50
@datadog-coder

datadog-coder Bot commented Jun 22, 2026

Copy link
Copy Markdown

Pipelines

⚠️ Warnings

🚦 1 Pipeline job failed

weekly-docs | audit-docs-paths   View in Datadog   GitHub Actions

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: f9b398f | Docs | Give us feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants