mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4824] [Issue]: capability-package-lifecycle regression pins stale supportedCapabilityApi 1.8 (runtime is 1.9) #2666
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#2666
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?
Originally created by @kolacheee on GitHub (Aug 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4824
Originally assigned to: @SpicyMarinara on GitHub.
Summary
scripts/regressions/capability-package-lifecycle.regression.tspins the capability API level at{ major: 1, minor: 8 }, but the runtime source of truth was intentionally bumped to{ major: 1, minor: 9 }. The regression throws at line 86 and fails the wholepnpm regression:issueslane. This is a stale test, not a schema mistake — the schema is correctly at 1.9.Expected behavior
capability-package-lifecycle.regression.tstracks the currentsupportedCapabilityApi, andpnpm regression:issuespasses.Actual behavior
The assertion at
scripts/regressions/capability-package-lifecycle.regression.ts:86throws and aborts the lane:supportedCapabilityApiis exported frompackages/shared/src/schemas/capability-package.schema.ts:151:Because the runner aborts at line 86, three later assertions in the same boundary block are latently wrong and would fail next once line 86 is corrected (see Recommended fix below).
Steps to reproduce
staging(or any branch off it).Or the single file directly:
capability-package-lifecycle.regression.ts:86.Environment
staging)Logs, screenshots, or video
Additional context
Root cause — the 8 → 9 bump is a deliberate feature bump; the test was not updated with it.
f9369d22429b82a7b96d25c999271e318a176f71("fix: resolve assigned issue sweep", 2026-08-09), which is contained inorigin/staging.localizationsfield tocapabilityPackageManifestBaseSchema(locale-awarename/description/homeBrowserTabmetadata with English fallback) pluspackages/client/src/lib/capability-package-localization.ts.minoris the manifest feature-level ceiling thatgetCapabilityApiCompatibilityIssue()negotiates against (required.minor > supported.minor→ install blocked), so adding a new manifest field that packages can require is exactly what a minor bump is for. The feature is already documented inCHANGELOG.md(localized capability-package Home metadata, #4803 / #4806).minor: 8tominor: 9but did not touchcapability-package-lifecycle.regression.ts— the classic stale-test signature.Pre-existing on
staging, not branch-specific.f9369d224is inorigin/staging, and neithercapability-package.schema.tsnorcapability-package-lifecycle.regression.tsdiffers betweenstagingand current feature branches. Every branch that runs the regression lane inherits this red.Recommended fix — all in
scripts/regressions/capability-package-lifecycle.regression.ts; a one-line change is not enough (it re-fails downstream):{ major: 1, minor: 8 }→{ major: 1, minor: 9 }./requires capability API 2\.0; this Engine supports 1\.8/→.../this Engine supports 1\.9/.unsupportedMinorManifest) — the fixture{ major: 1, minor: 9 }is no longer unsupported (9 <= 9→ returnsnull), so theassert.matchat 133–135 fails. Bump the fixture to{ major: 1, minor: 10 }and update the regex at line 135 to.../requires capability API 1\.10; this Engine supports 1\.9/to keep the "minor above the ceiling is rejected" coverage.currentMinorManifest, optional) —{ major: 1, minor: 8 }still passes (8 <= 9), so no change is strictly required, but bumping to{ major: 1, minor: 9 }keeps the "current supported minor" name honest.Secondary (separate doc gap, does not block the lane):
docs/development/optional-agent-packages.mdkeeps a per-bump changelog and stops at### Capability API 1.8 Game experiences(line 65); it should gain a### Capability API 1.9section for the new manifestlocalizationsfield. This can be split into its own docs task. NoCHANGELOG.mdedit is needed — the feature entry already exists.Impact
Blocks the full
pnpm regression:issueslane / CI on every branch until the fixtures are shifted.Template check
@SpicyMarinara commented on GitHub (Aug 10, 2026):
Resolved in #4860 and merged into staging.