Skip to content

docs(openspec): plan #2917 Comment release and deploy time on issues - #3175

Merged
dan-petty merged 4 commits into
mainfrom
feat/2917-a-release-comments-the-version-and
Nov 2, 2026
Merged

dan-petty merged 4 commits into
mainfrom
feat/2917-a-release-comments-the-version-and

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Plans #2917

A new row release_comments of the Service reads the releases of the last 12 hours. It comments Released in <tag> once on each closed issue that the pull requests of a release close. It comments Live since <time> once when the Service and runner images of the release run in the cluster. It reads the issues from the pull request bodies, because the changelog names only 6 of 26 issues in 12 releases. A marker in each comment prevents a second comment. The Role of the Service gets get on its own Deployment. The row writes no release, tag or file.

Change: openspec/changes/2917-a-release-comments-the-version-and/

🤖 Generated with Claude Code

https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW

Copy link
Copy Markdown
Owner

Review of the plan for #2917.

CI: all 18 checks pass or skip. The premise holds only in part (see 3 and 4). The content is a placeholder.

  1. The plan is placeholder text. proposal.md has placeholder in Why, What Changes, Feasibility and Existing Tool Considered. design.md says None.. tasks.md has ## 1. placeholder and 1.1 placeholder, and verify that \true` passes. The PR body is placeholder and the title repeats "plan" (plan feat(roadmap): a release comments the version and the deploy time on each issue it carries #2917 plan release comments on issues`). The refined design in feat(roadmap): a release comments the version and the deploy time on each issue it carries #2917 holds real key questions that none of this uses. Fix: regenerate the change from the issue.

  2. The delta covers 1 of the 5 requirements in the issue. It has only "Released comment on each issue" with one scenario. Missing: no duplicate comment on a second round (the issue's first acceptance criterion), "Live since" waits for the digests, "Live since" after the roll, and no release file is written. Decide first whether "Live since" belongs in this PR at all (see 4).

  3. The capability is wrong, and the event source is unsettled.

    • openspec/specs/roadmap-service-webhooks/spec.md holds route rules only: unsigned delivery refused (line 8), length cap (21, 30), Traefik limits (37), runbook counts (50). A job that posts comments is not part of it. The config rule says to run openspec list --specs, reuse a capability, or create one with a ## Purpose of at least 50 characters.
    • The Service takes only the Issues events: the comment at src/devops_cli/config/constants.py:3166-3169 says "the issues events only". ADR 0009 line 8 says the roadmap consumer takes issues, pull_request, milestone and release. The refined design relies on a pull_request closed and merged webhook. Settle which is true. If a repository hook must change, only a person can do that (AGENTS.md), so name it as a person step. Not verified here: the batch keys list.
  4. The scope and Impact are wrong. Impact lists only README.md. Real work is in src/devops_cli/roadmap/ and the tests. "Live since" needs the Service to read the Service Deployment and the runner CronJob image digests, but k8s/devops/roadmap-service/role.yaml grants only create/get/list on jobs, get on the CronJob devops-cli-runner, list on pods and get on pod logs. It grants no read of Deployments. So "Live since" needs a Role change, a manifest test and a cluster check. "Fits one pull request" has no evidence. Splitting "Live since" into its own issue is likely. The size is not verified.

  5. The refined design has a parsing error: it says release-please writes (#NNNN) issue references into the pull request body. CHANGELOG.md on main shows (#3154) is the pull request number. The closed issue is in the trailing closes #3152 text (see the 0.41.0 entries). Parse the closes references, not (#NNNN). The same needs a test with a real changelog sample.

  6. Tasks: a behavior group needs the failing test first with a verify step that fails on the base, then the code. The Existing Tool Considered section must give a cost in tokens and time or name a tool (rule 3). The issue estimates about 5000 tokens, which is not in the proposal.

Related issues: #2908 (tracker W9; parent, open; sub_issues 9 of 16 done), #2919 (stuck-item metrics and alert, same lane; title only), #2968 (inbox gauges, panel and image digest line; it touches the same image digest topic; title only), #1387 (Argo CD records deploy outcome as a GitHub deployment; an alternative source for "Live since"; title only).

Verdict: hold until the change is regenerated, the capability is chosen, the event source is settled and the "Live since" scope (RBAC, split) is decided.


Generated by Claude Code

Write the plan of the row release_comments: it comments the version of a
release once on each closed issue that the release carries, and the deploy
time once the Service and runner images of the release run in the cluster.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
@dan-petty dan-petty changed the title docs(openspec): plan #2917 plan release comments on issues docs(openspec): plan #2917 Comment release and deploy time on issues Nov 2, 2026
@dan-petty
dan-petty merged commit 73de006 into main Nov 2, 2026
20 checks passed
@dan-petty
dan-petty deleted the feat/2917-a-release-comments-the-version-and branch November 2, 2026 18:22
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