Skip to content

Update from project-template v0.162.0 - #269

Merged
polewskm merged 6 commits into
mainfrom
worktree-template-update-v0.162.0
Dec 2, 2026
Merged

polewskm merged 6 commits into
mainfrom
worktree-template-update-v0.162.0

Conversation

@polewskm

@polewskm polewskm commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Updates the repository from project-template v0.158.0 to v0.162.0: tag-release.yml also runs hourly and reads the repository's visibility through the REST API, code-review-auto-merge.yml turns auto-merge on only where the branch's rules require a status check, releases carry no prerelease label, and Stop the Line counts a push workflow that never ran on a merge commit.
The project's release.yml reads the visibility with the same step as tag-release.yml's policy job, and test/release-notes.test.ts checks the two stay the same; codeql.yml names the five copies of that step.
The README says the hourly run tags a release whose push event GitHub dropped, and CHANGELOG.md records the update under [Unreleased]. No release: the update changes CI, tests and repository docs only.

@ncode-review ncode-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤖 NCode Review at 96f7eb2: 1 new finding on the changed lines.

Comment thread .github/workflows/tag-release.yml Resolved

@ncode-review-approver ncode-review-approver Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Approved at 96f7eb2: no blocker or should-fix finding remains.

@ncode-review

ncode-review Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

🤖 Review complete

Verdict: 💬 Comment — This pull request updates the repository from project-template v0.158.0 to v0.162.0. tag-release.yml gains an hourly run that catches a release whose push event GitHub dropped, and both it and the project's release.yml now read the repository's visibility through the REST API, with a test keeping the two steps the same. The workflow changes hold together: the hourly run tags only the commit its own test job tested and fails loudly once main has moved on, and reading visibility from the REST API fixes the cause, not a symptom. The only issue found is a stale count in two comments about the copies of the visibility step.

Approval: Approved — no blocker or should-fix finding remains.

5 reviewers run — 1 finding (run details)

Reviewer Model Findings Top
synthesis opus-5-5 1 🟡
conventions sonnet-5-5 0 🟢
hygiene haiku-5-5 4 🟡
infrastructure haiku-5-5 0 🟢
rule-check sonnet-5-5 1 🟡
tests haiku-5-5 0 🟢

Skipped: api-compat, architecture, completeness, correctness, data-model, intent, performance, security

Findings
  • 🟡 F1 .github/workflows/tag-release.yml:79: Two comments still count four copies of the visibility step and leave out release.yml
Belongs upstream, in NCodeGroup/project-template (2)

These are in files the project template owns. A template update replaces them, so fix them in the template, not here.

  • 🟡 .template/Update-Project.ps1:461: Get-ReleasePolicyNote header comment not updated for the Helm chart case
  • 🟡 .template/Test-MergeGate.ps1:252: Two near-identical Write-Warning blocks for container_dockerfile and helm_chart

Trial: findings in this repository's files are posted as review threads and in the check run. $3.26 on Amazon Bedrock, 112s, at 96f7eb2. (how to interact)

📋 Outcomes

Merged at 96f7eb2: 0 fixed, 1 dismissed, 0 acknowledged, 0 ignored.

Finding Reviewer Severity Outcome
F1 hygiene, rule-check 🟡 Nit 👎 dismissed

@polewskm

polewskm commented Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

Autopilot: ready to merge at 96f7eb2.

This pull request is ready to merge as far as this run can tell. NCode Review reviewed the head commit and approved it with one nit, F1, which the run declined with its reason: the two comments it names are in template-owned workflows that the next update replaces, the project-owned codeql.yml names all five copies, and test/release-notes.test.ts catches drift between release.yml and tag-release.yml. No round of fixes was needed, every check on the head passed, and every run on main's newest commit passed.

Thread still unresolved, which Marcin resolves before the merge:

The pull request is still a draft; marking it ready is Marcin's review. After the merge, bring the repository's GitHub settings up to this template version from the template's clone: tools/Set-RepositoryBaseline.ps1 -Repo NCodeGroup/code-review.

@polewskm polewskm self-assigned this Dec 2, 2026
@polewskm
polewskm marked this pull request as ready for review December 2, 2026 23:11
@polewskm
polewskm merged commit 9725a9f into main Dec 2, 2026
13 checks passed
@polewskm
polewskm deleted the worktree-template-update-v0.162.0 branch December 2, 2026 23:12
@polewskm

polewskm commented Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

Autopilot: on the upstream findings in #269 (comment):

  • .template/Update-Project.ps1:461: no change needed. The comment above Get-ReleasePolicyNote already covers Helm charts ("A project whose helm_chart answer names charts gets the note too, and under release: none without publish-chart.yml (the template's ADR-0076)").
  • .template/Test-MergeGate.ps1:252: no change needed. The two warnings check different answers and name different workflows, checks and ADRs, and neither has a defect, so merging them into a loop would save a few lines but make each message harder to read and search for.

This branch was previously deployed

1 inactive deployment
code-review — 96f7eb25 Deployed Dec 2, 2026 by polewskm via review #942
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.

1 participant