Skip to content

fix(bitwarden-atlassian-tools): enforce the firewall's 7-day minimum release age in pnpm - #302

Merged
SaintPatrck merged 1 commit into
mainfrom
fix/atlassian-mcp-minimum-release-age
Oct 30, 2026
Merged

SaintPatrck merged 1 commit into
mainfrom
fix/atlassian-mcp-minimum-release-age

Conversation

@SaintPatrck

Copy link
Copy Markdown
Contributor

🎟️ Tracking

Follow-up to #301, which pinned around the release-age failure that #275 introduced.

📔 Objective

pnpm now enforces the same 7-day minimum release age as our install-time package firewall, for both the Atlassian MCP server's lockfile and the root lockfile.

pnpm's default window is 24 hours, so lock file maintenance like #275 could commit releases the firewall rejects while CI stayed green, and a frozen install of #275's lockfile now fails on exactly those releases.

Each lockfile needs its own setting, because pnpm reads the nearest pnpm-workspace.yaml and the installed plugin ships without the repo root.

🤖 AI-assisted review

Standard local review (code-review-local): approved with no findings, none deferred.

…release age in pnpm

Bitwarden's install-time package firewall rejects any release younger than 7 days, but pnpm's own default window is 24 hours, so lock file maintenance could commit a release the firewall then refuses on every protected device while CI stayed green. Setting minimumReleaseAge to the same 7 days makes pnpm resolve only releases outside the window and fail a frozen install on a lock file that carries a newer one.

The MCP server and the repo root each get their own setting, because pnpm reads the nearest pnpm-workspace.yaml and the root file does not reach the server's separate lock file, nor the installed plugin, which ships without the repo root.
@SaintPatrck SaintPatrck added the ai-review Request a Claude code review label Oct 30, 2026
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

🤖 Bitwarden Claude Code Review

Overall Assessment: APPROVE

This PR adds minimumReleaseAge: 10080 (7 days, in minutes) to two places: the Atlassian MCP server's pnpm-workspace.yaml, and a new root pnpm-workspace.yaml that holds only settings. Both projects pin pnpm@12.9.1 through packageManager. Each lockfile reads its own nearest workspace file, so the window applies to both the root and the plugin's MCP server. That includes the --frozen-lockfile installs in the lint, build, and test workflows, and the plugin's launch-time install in .mcp.json. The version bump to 2.8.2 matches across marketplace.json, plugin.json, and the README catalog, with a matching changelog entry.

@SaintPatrck SaintPatrck removed the ai-review Request a Claude code review label Oct 30, 2026
@SaintPatrck
SaintPatrck marked this pull request as ready for review October 30, 2026 13:56
@SaintPatrck
SaintPatrck requested a review from a team as a code owner October 30, 2026 13:56
@SaintPatrck
SaintPatrck merged commit acde323 into main Oct 30, 2026
21 of 24 checks passed
@SaintPatrck
SaintPatrck deleted the fix/atlassian-mcp-minimum-release-age branch October 30, 2026 13:59
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