Skip to content

feat(release): item closure summaries and automatic release cut with devops roadmap close (#743) - #1170

Merged
dan-petty merged 1 commit into
release/v0.2.26from
feat/roadmap-close-and-release-cut
Oct 4, 2026
Merged

dan-petty merged 1 commit into
release/v0.2.26from
feat/roadmap-close-and-release-cut

Conversation

@dan-petty

@dan-petty dan-petty commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

Closes #743

Summary

devops roadmap close closes each item delivered to the current release with a two-part summary comment, then cuts the release when it has no open item left. It reads every PR merged into release/vX.Y.Z through the roadmap store, which now has a fail-closed merged_pull_requests(base) read in both adapters. It closes as completed each open issue a PR body closes, commenting first with what changed (PR, merge commit, the first section of the body, the changed-file count) and how it was verified (check-run buckets and the task file's Acceptance Criteria at the merge commit, or "No task file"). The cut happens when the release has no open item, at least one item closed as completed, and no open or merged chore/cut-vX.Y.Z release PR. It writes docs/ROADMAP.md on the cut branch and calls #982's cut_release(draft=False, sync_docs=False). Completed items with no changelog.d/<N>.md are listed and the cut still happens. devops gh issues close-merged and the sweep code are removed; the MCP mirror roadmap_close only previews.

Decisions to note

  • --dry-run makes no request (feat(cli): reachable --dry-run previews for delegated commands #412), so it lists the requests a run would make. The per-issue comments and the fragment report come from --plan, or from a run without --confirm.
  • Release membership and the cut predicate come from the REST issue listing, not the board, so they spend no GraphQL points. Open items holding the cut are listed by number and title, without their board Status.
  • The cut requires head chore/cut-vX.Y.Z. The shared is_release_pull_request still doesn't check the head, so a renamed Release keeps its PR (reprioritize). Test seeds now use chore/cut-v… heads.
  • cut_release gains one edits hook that runs after the bump and before the commit.
  • If a PR's check runs can't be read, its issues stay open, the cut is held, and the run exits 1.
  • Fragments are checked per completed item with repository_file, not by listing the directory.

Tests

  • New: tests/test_roadmap_close.py. Closure, bodies that close nothing, the oldest issue, idempotence, failed reads, a table of cut predicates, and cut mechanics on a bare remote with a fake gh. Also the rebuild after an unmerged release PR, the preview and the dry run.
  • Store: contract case, plus three-page, failed-page and failed-files cases in tests/test_roadmap_github_store.py.
  • close was added to the dry-run entry-point probe, and roadmap_close to the MCP contract.
  • Full suite: 8850 passed. devops docs check passes.

Pending a person

  1. Once every item of the current release is closed, run uv run devops roadmap close --plan -R dan-petty/devops-cli, then --confirm from a clean clone.
  2. Run gh pr view <n> --json headRefName,baseRefName,labels,milestone,isDraft. Expect head chore/cut-vX.Y.Z, base main, label release, milestone vX.Y.Z and isDraft: false. git show --stat origin/chore/cut-vX.Y.Z should list pyproject, __init__, uv.lock, docs/ROADMAP.md and the service image tag.
  3. gh issue view <item> --comments should show one two-part comment on each item that run closed.
  4. Mark fix(github): gh issues close-merged misses issues older than the newest n #778 not planned: it reports a bug in gh issues close-merged, which this PR removes.

@dan-petty
dan-petty merged commit b61e5a0 into release/v0.2.26 Oct 4, 2026
9 checks passed
@dan-petty
dan-petty deleted the feat/roadmap-close-and-release-cut branch October 4, 2026 16:27
dan-petty added a commit that referenced this pull request Oct 4, 2026
* chore(release): open the v0.2.26 cycle (#1106)

* feat(release): production service image for scheduled jobs and webhook handlers (#1152)

* feat(release): production service image for scheduled jobs and webhook handlers (#753)

* fix(ci): add --retry-all-errors to smoke test healthz curl probe

* feat(roadmap): agent filing quota specification and pure quota engine (#1153) (#1155)

* refactor(ci): ci installs nothing on the runner, and live bubblewrap tests skip (#832) (#1156)

* refactor(ci): github ci runs the gate through devops ci (#843) (#1157)

* refactor(ci): github ci runs the gate through devops ci (#843)

* test(fastmcp): relax in-process latency ceiling to prevent runner flakiness (#843)

* feat(telemetry): enhance grafana dashboards for ai spend, cli telemetry, gpus, and sre services (#1158) (#1159)

* refactor(github): one github session per identity (#767) (#1160)

* feat(roadmap): roadmap intake files and refines candidates through the model and the board (#742) (#1163)

* feat(ci): select tests from on-demand coverage reverse index (#406) (#1162)

- Add --build-index option to devops ci coverage to generate a per-worktree coverage index (coverage_index.json) using COVERAGE_CORE=ctrace and --cov-context=test.
- Build the index atomically after clean passing runs, aborting if files mutate during execution.
- Collapse contexts in SQL and memoize source file path normalization.
- Select covering tests in devops ci test from the reverse coverage index, reconciling worktree drift against recorded blob hashes.
- Fall back per source to text-based selection when missing from index.
- Force full test run when trigger files (conftest.py, pyproject.toml, uv.lock, .python-version) change, exiting 1 with --no-fallback.
- Map non-test helper modules under tests/ to importing tests, never passing the helper module directly to pytest.
- Update documentation and changelog fragment changelog.d/406.md.

* feat(k8s): devops-cli runs in the cluster as jobs, and every cluster secret is pushed from the keyring (#741) (#1161)

* fix(release): one fail-closed release path (#982) (#1164)

* fix(github): github writes are paced from the request gh sends, and board reads stay within the graphql budget (#1125) (#1166)

* fix(github): github writes are paced from the request gh sends, and board reads stay within the graphql budget (#1125)

* test(release): the offline uv lock check names its interpreter, so it passes on a runner without Python 3.14 on PATH (#1125)

* feat(cli): extend the ruff rule set to the correctness families (#420) (#1167)

* feat(cli): extend the ruff rule set to the correctness families (#420)

* fix(tests): move None to end of type union in test_roadmap_board_read (RUF036)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(security): network references come from url and host arguments, not inspection of every string (#431) (#1168)

- Replace heuristic bare-word and domain string inspection with a strict two-element definition: a URL with a host in any scheme (urllib.parse.urlsplit) or an IP literal (ipaddress).
- Eliminate heuristic constants and shims: CONST_BRANCH_PREFIXES, CONST_CODE_CONFIG_PREFIXES, CONST_COMMON_PROPERTY_SUFFIXES, CONST_TELEMETRY_CALL_NAMES, CONST_STANDARD_RECEIVER_IDENTIFIERS, CONST_EXCLUDED_FILE_MIME_TYPES.
- Delete dead extraction routines, visitors, and shims in devops_cli.security.reference_extractor.
- Simplify Python AST walk to directly append all string constants to literals without false-positive domain leakage.
- Replace package repository asset checks with is_trusted_registry_host(host: str) -> bool matching CONST_EXCLUDED_PUBLIC_REGISTRIES.
- Consolidate reference types strictly to 'url' and 'ip', eliminating legacy 'domain' reference categorization across models, extractors, and table formatters.
- Add comprehensive test suite with structural tuple assertions covering DNS safety, bare word rejection, multi-scheme URLs, registry filtering, and literal extraction.

* fix(k8s): pod logs reach loki once and labelled, without duplicate scraping (#548) (#1169)

* feat(release): item closure summaries and automatic release cut with devops roadmap close (#743) (#1170)

* feat(cli): service mode for devops serve with github webhook verification and per-repo queue (#752) (#1171)

* feat(k8s): the roadmap service runs in the cluster's devops namespace, reachable from outside only on /webhooks/github (#1083) (#1172)

* feat(roadmap): job scheduling, due table evaluation, and checkout management with devops roadmap run (#981) (#1173)

* feat(ai): item refinement to ready with proposed design, tasks and acceptance criteria (#744) (#1177)

* fix(telemetry): grafana dashboard projections, rolling averages, and panel queries (#1175) (#1176)

* feat(release): v0.2.26

* fix(ci): patch debian base packages and drop unused pip from service runtime

* fix(release): resolve review feedback on checkout, secret audit, service drain, dependabot, and changelog

* fix(roadmap): enforce strict repository slug validation and path containment in checkout and schedule paths

* fix(release): sanitize log & error details, update dependabot branch, atomic state write, and canonical instructions

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

1 participant