Skip to content

ci: build changelog helper before running it - #6117

Merged
leaanthony merged 1 commit into
masterfrom
codex/mpress-changelog-launch
Sep 13, 2026
Merged

leaanthony merged 1 commit into
masterfrom
codex/mpress-changelog-launch

Conversation

@leaanthony

@leaanthony leaanthony commented Sep 13, 2026 •

Copy link
Copy Markdown
Member

The post-merge changelog job failed after #6116 because go run v3/scripts/auto-changelog.go executes outside the v3 module with GOWORK disabled. The helper now imports the existing TOML parser to read MPD metadata.

Build the helper in the v3 module alongside its tests, then execute the compiled binary from the repository root so its repository-relative changelog and documentation paths remain correct. Changes to this workflow also trigger the documentation automation checks.

Validation: helper tests pass, the binary builds in the v3 module, and invoking it from the repository root reaches its expected environment validation. Both workflow files parse successfully.

Summary by CodeRabbit

  • Chores
    • Improved automated changelog generation by building and reusing a helper tool during CI checks.
    • Updated documentation workflow triggers to include changelog automation and release-task changes.

Copilot AI lite review requested due to automatic review settings September 13, 2026 06:14
@github-actions github-actions Bot added Bug Something isn't working v3 labels Sep 13, 2026
@coderabbitai

coderabbitai Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: a294b4e9-8d73-43e7-8d7f-f905b31136f4

📥 Commits

Reviewing files that changed from the base of the PR and between 6be7874 and ac1492a.

📒 Files selected for processing (2)
  • .github/workflows/auto-changelog-v3.yml
  • .github/workflows/docs-mpress.yml

Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review.


Walkthrough

The changelog workflow now builds and runs a helper binary. The documentation workflow now tracks changelog workflow and release-task changes for pull requests and pushes.

Changes

Changelog workflows

Layer / File(s) Summary
Build and execute the changelog helper
.github/workflows/auto-changelog-v3.yml
The workflow runs Go tests, builds the helper binary in $RUNNER_TEMP, and uses that binary to auto-fill changelog entries.
Expand documentation workflow triggers
.github/workflows/docs-mpress.yml
The workflow triggers include .github/workflows/auto-changelog-v3.yml and v3/tasks/release/** for pull requests and pushes.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Suggested reviewers: taliesin-ai

Merge Risk: ⚪ Minimal · up to ac149

The workflow changes use the correct module and repository-root execution contexts, and the documentation triggers cover the intended paths.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the primary CI change: building the changelog helper before execution.
Description check ✅ Passed The description explains the failure cause, the workflow change, the execution context, and the validation performed. It does not include the issue reference, selected change type, platform checkboxes…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/mpress-changelog-launch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit builds a helper bright
Tests it once, then hops in flight
Changelog steps now use the tool
Docs wake when release paths move
CI carrots line up right

Comment @coderabbitai help to get the list of available commands.

Copilot AI 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.

🟢 Approval recommended

The workflow adjustments are internally consistent and directly address the reported module/context execution failure without introducing risky logic changes.

Pull request overview

This PR fixes the v3 auto-changelog CI job by compiling the auto-changelog.go helper inside the v3 Go module (where its dependencies resolve correctly with GOWORK=off), then running the resulting binary from the repository root so repository-relative changelog/docs paths remain correct. It also updates the docs workflow path filters so changes to the auto-changelog workflow trigger the documentation automation checks as intended.

Changes:

  • Build the auto-changelog helper binary in v3/ (alongside its tests) and run the compiled binary from repo root.
  • Expand docs-mpress.yml path filters to include changes to .github/workflows/auto-changelog-v3.yml.
File summaries
File Description
.github/workflows/docs-mpress.yml Adds the auto-changelog workflow file to path filters so docs automation runs when that workflow changes.
.github/workflows/auto-changelog-v3.yml Tests + builds auto-changelog.go in v3/, then executes the compiled helper from repo root to avoid module-resolution issues.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@leaanthony
leaanthony merged commit ac1492a into master Sep 13, 2026
31 checks passed
@leaanthony
leaanthony deleted the codex/mpress-changelog-launch branch September 13, 2026 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working v3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants