Skip to content

ci: report sizes for affected plugins - #5176

Merged
thymikee merged 4 commits into
mainfrom
ci/affected-plugin-size-report
Nov 28, 2026
Merged

thymikee merged 4 commits into
mainfrom
ci/affected-plugin-size-report

Conversation

@thymikee

@thymikee thymikee commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Summary

Extend the Size Report with installed, unpacked, and download size deltas for affected published plugins. Select from PR changes since the merge base and measure the selected names at the actual base and head. The planner recognizes the v2 ./agent-device export and the legacy plugin manifest.

Core-only and test-only changes skip plugin packing. Plugin measurements share 90 seconds per revision. If a measurement fails, the report shows that plugin's size as unavailable and keeps the core report and other plugin results.

Validation

At ad33aa2451, 48 focused tests passed. The v2 selection and budget regressions failed on the previous code and passed with the fixes. Both Tizen and webOS packed and clean-installed within the shared budget. Lint, typecheck, Fallow, build, package, and Node integration passed.

The local affected run with an isolated HOME stopped on Swift cache trust errors in two contact-sheet test files. Both files passed with the normal HOME, and all 325 provider integration tests passed with an isolated HOME. The combined hosted checks are pending.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

View guided diff Turn on auto-fix

@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Size Report

Metric Base Current Diff
Installed (including dependencies) 6.68 MB 6.68 MB 0 B
Package (unpacked) 6.68 MB 6.68 MB 0 B
Package (download) 2.04 MB 2.04 MB -5 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 20.0 ms 22.4 ms +2.4 ms
CLI --help 44.2 ms 48.2 ms +4.0 ms

@cubic-dev-ai cubic-dev-ai Bot 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.

All reported issues were addressed across 6 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread scripts/size-report-plugins.mjs Resolved
Comment thread scripts/size-report.mjs Resolved
@apex-sentinel-staging

This comment has been minimized.

@apex-sentinel-staging apex-sentinel-staging Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apex Sentinel: 2 new findings on 1ee1f28. The verdict and the full list are in the summary comment.

Comment thread scripts/size-report-plugin-plan.mjs Resolved
Comment thread scripts/size-report-plugins.mjs Resolved
@apex-sentinel-staging

This comment has been minimized.

@apex-sentinel-staging apex-sentinel-staging Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apex Sentinel: 2 new findings on 993e616. The verdict and the full list are in the summary comment.

Comment thread scripts/size-report-plugin-plan.mjs Resolved
Comment thread scripts/size-report-plugins.mjs Resolved
@apex-sentinel-staging

Copy link
Copy Markdown

Apex Sentinel · ✅ Approve · review of ad33aa2

Since the review of 993e616: 0 new · 0 still open · 2 no longer raised (2 marked fixed)

No open findings.

🔧 2 findings marked fixed in their threads
Finding Fixed by Where
v2 plugins tizen and webos are never selected: plugin-ness check misses ./agent-device export thymikee ad33aa2 · reply
Exhausted 90s plugin budget throws and fails the whole Size job thymikee ad33aa2 · reply

1 finding below minor hidden (user_settings.min_severity).

Reviewed with this repository's own Sentinel configuration (411b2a746e60).

💬 Talking to Sentinel

In a finding's thread, reply with:

Command What it does
@apex-sentinel-staging note <context> Adds context; Sentinel re-checks the cited code
@apex-sentinel-staging pivot <why> Says the finding is wrong; Sentinel re-checks the cited code
@apex-sentinel-staging like Marks the finding as useful
@apex-sentinel-staging dislike <why> Marks it as not useful, so it is not raised again

On this conversation, comment @apex-sentinel-staging review to run a full review once again.

@thymikee

Copy link
Copy Markdown
Member Author

The PR is ready at ad33aa2. Not blocking: these can be taken or left: the 0.22-only build path rules, including the extra maestro owner, match no paths on main or at this commit and could stay on the 0.22 branch (or build inputs could come from each plugin's tsdown config), and if the pack timeout is ever seen to leave the prepack build running, the pack could run in its own process group that is killed on timeout.

All 22 checks pass. Body rules only validates PR metadata and does not exercise the size report scripts. Bundle Size passed with an empty plugin plan, so hosted CI did not run the pack and install route. That route is covered at base and head only by the local Tizen and webOS run from the author. Not verified here: the tests, a plugin pack, and whether pnpm forwards SIGTERM to the prepack tsdown grandchild process were not run or confirmed. Nothing from this review needs to change before merge, and the first hosted Size run that touches a plugin will be the first CI proof of the pack and install route.

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Nov 28, 2026
@thymikee
thymikee merged commit 8f351d1 into main Nov 28, 2026
21 of 22 checks passed
@thymikee
thymikee deleted the ci/affected-plugin-size-report branch November 28, 2026 13:20
thymikee added a commit that referenced this pull request Nov 28, 2026
* origin/main:
  fix(cli): judge install-from-source lease admission by its daemon command (#5169)
  ci: report sizes for affected plugins (#5176)
  fix(ios): keep the zh-Hans alert vocabulary check honest about OS versions (#5177)
  Consolidate Apple tap and replacement result construction (#5161)
  fix(daemon): retry provider lease record retirement (#5174)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant