mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7477] [MERGED] feat(agents): show release notes for every version an update skips #7752
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7752
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7477
Author: @Promansis
Created: 10/12/2026
Status: ✅ Merged
Merged: 10/12/2026
Merged by: @Promansis
Base:
staging← Head:feature/agent-update-notes-range📝 Commits (4)
1a5215ffeat(agents): show release notes for every version an update skips7010122docs(changelog): reference #7476 for the update release notes entrye99a6ddMerge remote-tracking branch 'upstream/staging' into feature/agent-update-notes-rangefdeefbbMerge branch 'staging' into feature/agent-update-notes-range📊 Changes
9 files changed (+210 additions, -44 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
e2e/core-flows.e2e.ts(+3 -1)➕
packages/client/src/components/agents/AgentReleaseNoteList.tsx(+95 -0)📝
packages/client/src/components/agents/AgentUpdateDialog.tsx(+13 -6)📝
packages/client/src/components/agents/AgentVersionHistory.tsx(+4 -15)📝
packages/client/src/localization/locales/en.json(+3 -0)📝
packages/server/src/services/capability-packages/package-manager.service.ts(+13 -5)📝
packages/shared/src/schemas/capability-package.schema.ts(+9 -9)📝
scripts/regressions/capability-release-notes.regression.ts(+69 -8)📄 Description
Linked issue
Closes #7476
Owner: @Promansis (assignee of #7476).
Why this change
When an installed Agent is several versions behind, Agent updates available → What changed showed the notes for only the newest version. Updating Long-Term Memory from 1.4.24 to 1.4.28 showed only the 1.4.28 notes. The notes for 1.4.25 to 1.4.27 were already published in the catalog's release-notes file but never reached the dialog. The notable-change dot had the same gap: it came from the newest version only, so a notable middle version showed no dot.
What changed
attachCapabilityReleaseNotesattaches every note above the installed version up to and including the target, newest first.releaseHighlightis true when any note in range is highlighted. An update with no note in range is returned unchanged.CapabilityPackageUpdate.releaseNotesis nowCapabilityPackageVersionNote[]instead of a string. Server and client ship together, so the API needs no compatibility handling.AgentReleaseNoteListholds the per-version list. The catalog's Version history uses it unclamped, so it renders as before.en.jsononly (More,Less,What changed ({{count}})).capability-release-notes.regression.tsis rewritten for the range semantics. The one e2e mock that sentreleaseNotesas a string now sends an array.[Unreleased]entry added.No change to the release-notes file format or to Marinara-Agents.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdCommands run by the author's agent on the merge tip (these are not ticks; the boxes above are for the human contributor):
node ./scripts/run-regressions.mjs --filter scripts/regressions/capability-release-notes.regression.tspasses, and fails against the previous server code.pnpm checkexits 0 (one existing lint warning inHomeProfessorMariChat.tsx, not touched here).pnpm localization:checkpasses.desktop-chromiumandmobile-chromium: the What changed (3) label, the two-line cut, More/Less on the long note only, and the dialog fitting the viewport.Known failing test, not caused by this PR:
e2e/core-flows.e2e.ts"Agent updates share one dismissible prompt and remain available after Not now" fails atexpect.poll(() => declineRequests).toBe(2)on cleanupstream/stagingas well. The client now posts to/capability-packages/updates/decline, but the test's mock only matches*/updates/*/decline. Every assertion in that test that touches this feature passes before that point. Left out of this PR to keep it scoped; happy to fold the one-line mock fix in if wanted.Not run: local CodeRabbit (no CLI available here),
mobile-webkit, container build.Manual verification notes
line-clampwithpre-wraphas not been exercised.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Not attached yet. The clamped and expanded states were captured locally from the probe on desktop and mobile; add before/after screenshots from a manual run.
🤖 Generated with Claude Code
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.