Skip to content

Add mrt-utilities#216

Open
kieran-sf wants to merge 6 commits intomainfrom
add-mrt-utilities
Open

Add mrt-utilities#216
kieran-sf wants to merge 6 commits intomainfrom
add-mrt-utilities

Conversation

@kieran-sf
Copy link
Contributor

@kieran-sf kieran-sf commented Feb 26, 2026

Summary

Adds the new mrt-utilities package containing:

  • Middleware for simulating a deployed MRT environment in local development
  • The MRT streaming handler

Testing

  • Checkout this managed-runtime-libraries PR
  • Run the script to import these mrt-utilities pnpm link-mrt-utilities
  • Manually run the reference app locally and test the middleware
    • Make a request with ?hello=world&removeme=whatever
    • Make a request to /mobify/bundle/1/saturn.png = 404
    • Make a request to /mobify/bundle/1/saturn.jpg = picture of saturn
    • Make a request to /mobify/proxy/api = other reference app

Dependencies

  • No net-new third-party dependencies were added
  • If net-new third-party dependencies were added, rationale/discussion is included and 3pl-approved is set by a maintainer

  • Tests pass (pnpm test)
  • Code is formatted (pnpm run format)

@github-actions github-actions bot added the needs-3pl-review PR introduces net-new third-party dependencies and needs discussion label Feb 26, 2026
@clavery clavery added 3pl-approved Maintainer approved net-new third-party dependency additions and removed needs-3pl-review PR introduces net-new third-party dependencies and needs discussion labels Mar 2, 2026
@clavery
Copy link
Collaborator

clavery commented Mar 2, 2026

3pl approved since it's just a net new package

@kieran-sf kieran-sf marked this pull request as ready for review March 3, 2026 17:13
@kieran-sf kieran-sf requested a review from clavery as a code owner March 3, 2026 17:13
@clavery
Copy link
Collaborator

clavery commented Mar 3, 2026

can you put in a (minor) changeset for the package https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/main/CONTRIBUTING.md#changesets

that will cause the changeset workflow to bump the package in a PR and prepare for release to npm

can just say "initial release".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3pl-approved Maintainer approved net-new third-party dependency additions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants