Skip to content

Automated cherry pick of #217 - #233

Merged
avasconcelos114 merged 1 commit into
release-9.3from
automated-cherry-pick-of-cursor-jira-bug-fix-agent-13d8-release-9.3
Jul 16, 2026
Merged

Automated cherry pick of #217#233
avasconcelos114 merged 1 commit into
release-9.3from
automated-cherry-pick-of-cursor-jira-bug-fix-agent-13d8-release-9.3

Conversation

@mattermost-build

Copy link
Copy Markdown
Contributor

Cherry pick of #217 on release-9.3.

/cc @cursor[bot]

NONE

….json (#217)

* [MM-69594] Write resolved manifest (with version) into bundled plugin.json

The bundle Makefile target copied the source plugin.json verbatim, which
has no version field, so released boards bundles shipped a plugin.json
without a version. Add a `dist` subcommand to the manifest tool that
writes the resolved manifest (with the build-time version and release
notes URL) into the bundle directory, and use it in the bundle target,
matching the playbooks / starter-template pattern.

Co-authored-by: mattermost-code <matty-code@mattermost.com>

* [MM-69594] Add tests for manifest dist subcommand

Refactor distManifest to accept the destination directory as a parameter
for testability, and add tests covering manifest distribution and the
build-time version fallback in findManifest.

Co-authored-by: mattermost-code <matty-code@mattermost.com>

* [MM-69594] Expand manifest tests for version and release-notes resolution

Cover the latest-tag fallback, release-notes URL generation, the
version-already-present path, and an end-to-end regression test that the
repo source plugin.json (which ships without a version) yields a
versioned plugin.json in the bundle.

Co-authored-by: mattermost-code <matty-code@mattermost.com>

* Document sequential test ordering for writeTempManifest helpers

Add comments noting that tests using writeTempManifest or mutating
process-wide cwd/build vars must not call t.Parallel().

Co-authored-by: mattermost-code <matty-code@mattermost.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: mattermost-code <matty-code@mattermost.com>
(cherry picked from commit 162e5a5)
@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 82b74e04-4f4d-49f3-9d60-1228dca83e84

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch automated-cherry-pick-of-cursor-jira-bug-fix-agent-13d8-release-9.3

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

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

@avasconcelos114
avasconcelos114 self-requested a review July 16, 2026 08:31
@avasconcelos114
avasconcelos114 merged commit 112fffc into release-9.3 Jul 16, 2026
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants