Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ci: Integrate membrowse.#18558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
membrowse wants to merge1 commit intomicropython:master
base:master
Choose a base branch
Loading
frommembrowse:master

Conversation

@membrowse
Copy link

@membrowsemembrowse commentedDec 12, 2025
edited
Loading

Summary

MicroPython has a code-size workflow but no automated way to track how PRs affect memory footprint over time or compare against previous commits.

This PR adds MemBrowse CI integration for automated memory footprint analysis on pull requests.
It creates a PR comment with the size changes on region and section level with links to the full build comparison page.

It was discussed with@AJMansfield on Discord, who suggested opening a PR.
Here is an example of the dashboard and its features:https://membrowse.com/public/membrowse/micropython

This includes:

  • membrowse-targets.json - contains the configuration of the targets to be analyzed
  • membrowse-pr.yml — runs on PRs + pushes to master, builds firmware and uploads reports to MemBrowse
  • membrowse-comment.yml — posts consolidated memory results as PR comments (runs after membrowse-pr.yml)
  • membrowse-onboard.yml — one-off workflow for building the last N commits (N is an input to the workflow) to have historical data on day one
  • README badge linking to the MemBrowse MicroPython dashboard
  • Currently the integration supports 8 targets. Same ones used by the code-size workflow.

Setup for maintainers:

  • Create account athttps://membrowse.com
  • Create a project and link it to this repo
  • Set the project as publicly available.
  • Add MEMBROWSE_API_KEY as a GitHub action secret

Run the onboard workflow to populate the dashboard with historical data.

Testing

End-to-end validation performed on a personal fork

Trade-offs and Alternatives

External dependency.

Maintenance

As the author of MemBrowse, I'm committed to maintaining this integration and ensuring it continues to work correctly.
If issues arise, feel free to ping me on Micropython's discord or or atmichael@membrowse.com.
Happy to adjust boards, scope, naming, or workflow triggers based on feedback.

@membrowsemembrowse changed the titleci: add membrowse to micropythonci: Add membrowse to micropython.Dec 12, 2025
@membrowsemembrowse changed the titleci: Add membrowse to micropython.ci: Integrate membrowse.Dec 12, 2025
@membrowsemembrowseforce-pushed themaster branch 2 times, most recently from292f6d0 toab19725CompareDecember 12, 2025 20:21
@github-actions
Copy link

github-actionsbot commentedDec 12, 2025
edited
Loading

Code size report:

Reference:  all: Bump version to 1.27.0. [78ff170]Comparison: ci: Integrate Membrowse to PR flow. [merge of ca774ce]  mpy-cross:    +0 +0.000%    bare-arm:    +0 +0.000% minimal x86:    +0 +0.000%    unix x64:    +0 +0.000% standard      stm32:    +0 +0.000% PYBV10     mimxrt:    +0 +0.000% TEENSY40        rp2:    +0 +0.000% RPI_PICO_W       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS  qemu rv32:    +0 +0.000% VIRT_RV32

@codecov
Copy link

codecovbot commentedDec 12, 2025
edited
Loading

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.38%. Comparing base (2bd337e) to head (ca774ce).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@##           master   #18558   +/-   ##=======================================  Coverage   98.38%   98.38%           =======================================  Files         171      171             Lines       22300    22300           =======================================  Hits        21939    21939             Misses        361      361

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: Michael Rogov Papernov <michael@membrowse.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@membrowse

[8]ページ先頭

©2009-2025 Movatter.jp