Skip to content

chore: mise-ify the project#436

Merged
LesnyRumcajs merged 5 commits intomainfrom
mise-everywhere
Apr 9, 2026
Merged

chore: mise-ify the project#436
LesnyRumcajs merged 5 commits intomainfrom
mise-everywhere

Conversation

@LesnyRumcajs
Copy link
Copy Markdown
Member

@LesnyRumcajs LesnyRumcajs commented Apr 8, 2026

Summary of changes

Changes introduced in this pull request:

  • use mise across the board instead of mix of package.json and Makefile

Reference issue to close (if applicable)

Closes

Other information and links

Change checklist

  • I have performed a self-review of my own code,
  • I have made corresponding changes to the documentation. All new code
    adheres to the team's
    documentation standards,
  • I have added tests that prove my fix is effective or that my feature works
    (if possible),
  • I have made sure the CHANGELOG is up-to-date. All user-facing changes
    should be reflected in this document.

Summary by CodeRabbit

  • Chores

    • Migrated build/dev tooling to a centralized task-runner setup and removed legacy Makefile targets and npm script entrypoints.
    • Updated CI workflows to invoke the new task runner and adjusted test/build startup commands.
    • Removed an allowed SPDX license from the license allowlist.
  • Documentation

    • Updated development and testing guides and CI instructions to reflect the new task-runner commands.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 8, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 54480a5b-bab3-4d36-b045-b4c781008ffd

📥 Commits

Reviewing files that changed from the base of the PR and between 1a35523 and fb2079f.

📒 Files selected for processing (1)
  • mise.toml
🚧 Files skipped from review as they are similar to previous changes (1)
  • mise.toml

📝 Walkthrough

Walkthrough

Migrates CI/dev tooling to mise: adds mise.toml, replaces Makefile and npm scripts with mise tasks, updates GitHub Actions to run jdx/mise-action@v4 and mise run ..., updates wrangler/Dev server invocations, and removes OpenSSL from deny.toml license allowlist. (48 words)

Changes

Cohort / File(s) Summary
CI Workflows
.github/workflows/deploy.yml, .github/workflows/e2e.yml, .github/workflows/lint.yml
Added jdx/mise-action@v4 step and replaced direct pnpm/Makefile invocations with mise run equivalents. Switched pnpm wrangler devpnpm exec wrangler dev in e2e; adjusted server start commands to use mise where applicable.
Tooling Configuration
mise.toml
Introduces pinned tool versions and numerous mise tasks for install, lint, format, build (assets/css/wasm), and dev workflows.
Build & Package Scripts
Makefile, package.json, wrangler.toml
Removed multiple Makefile lint/format targets; emptied package.json scripts; updated wrangler.toml build commands to call `mise run build:assets
Documentation & Guides
README.md, docs/cors_testing_guide.md, docs/e2e_api_testing_guide.md
Updated dev instructions and CI/local run examples to use mise install / mise run and pnpm exec wrangler dev / mise run start variants.
License Configuration
deny.toml
Removed "OpenSSL" from the [licenses].allow list.

Sequence Diagram(s)

sequenceDiagram
    participant CI as GitHub Actions
    participant Mise as jdx/mise-action@v4
    participant Node as pnpm / Node toolchain
    participant Wrangler as wrangler dev/build
    CI->>Mise: checkout + run mise action
    Mise->>Node: ensure Node/pnpm/cargo-binstall available
    CI->>Node: cache dependencies / pnpm install (via mise tasks)
    CI->>Mise: mise run build / mise run lint
    CI->>Wrangler: run wrangler build or wrangler dev (pnpm exec wrangler ...)
    Wrangler-->>CI: build/dev server started
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested labels

javascript

Suggested reviewers

  • akaladarshi
  • hanabi1224
  • sudo-shashank
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: mise-ify the project' clearly and concisely describes the main change: standardizing the project on the mise tool, replacing mixed package.json and Makefile usage.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mise-everywhere

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 39.30%. Comparing base (2c1863f) to head (fb2079f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #436   +/-   ##
=======================================
  Coverage   39.30%   39.30%           
=======================================
  Files          42       42           
  Lines        2936     2936           
=======================================
  Hits         1154     1154           
  Misses       1782     1782           

☔ 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.

@LesnyRumcajs LesnyRumcajs marked this pull request as ready for review April 8, 2026 11:04
@LesnyRumcajs LesnyRumcajs requested a review from a team as a code owner April 8, 2026 11:04
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the project’s developer/CI command surface from a mix of package.json scripts and Makefile targets to mise tasks, and updates build/development entrypoints accordingly.

Changes:

  • Added mise.toml with unified lint/format/build/dev task definitions and tool versions.
  • Updated Cloudflare/Wrangler build commands, CI workflows, and docs to use mise (and pnpm exec where appropriate).
  • Removed legacy command surfaces (Makefile targets and package.json scripts).

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
wrangler.toml Switches build hooks from pnpm <script> to mise run <task> for assets/css/wasm builds.
README.md Updates local development instructions to use mise install and mise run start/dev.
package.json Removes all scripts in favor of mise tasks (keeps dependencies/engines).
mise.toml Introduces tool versions and task graph for lint/format/build/dev/start.
Makefile Removes legacy lint/format targets now represented as mise tasks.
docs/e2e_api_testing_guide.md Replaces pnpm wrangler ... with pnpm exec wrangler ... usage.
docs/cors_testing_guide.md Updates wrangler invocation and switches one example to mise run start.
deny.toml Adjusts allowed license list (removes OpenSSL).
.github/workflows/lint.yml Replaces make targets with mise setup + mise run lint:* tasks.
.github/workflows/e2e.yml Adds mise setup and switches build step to mise run build.
.github/workflows/deploy.yml Adds mise setup and removes corepack enable step (keeps pnpm install).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
mise.toml (1)

20-25: Consider deduplicating repeated pnpm install blocks into a shared task.

pnpm install appears in multiple tasks; extracting a single dependency-install task would reduce duplication and keep behavior consistent.

Also applies to: 74-77, 109-117

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@mise.toml` around lines 20 - 25, Create a shared install task (e.g.,
[tasks."install:deps"]) that runs "pnpm install" and replace the repeated inline
"pnpm install" invocations in tasks such as "lint:markdown" and the other tasks
that currently duplicate installation steps so they depend on or invoke the
shared "install:deps" task; update those tasks to remove the inline install and
call the single shared task to deduplicate behavior and keep installs
consistent.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@mise.toml`:
- Around line 83-85: The CI build task's run script (tasks.build -> run) calls
"pnpm install" without lockfile enforcement; change it to use pnpm's frozen
lockfile mode (e.g., "pnpm install --frozen-lockfile") so CI uses the lockfile
deterministically before running "pnpm exec wrangler build", ensuring
reproducible installs.

---

Nitpick comments:
In `@mise.toml`:
- Around line 20-25: Create a shared install task (e.g., [tasks."install:deps"])
that runs "pnpm install" and replace the repeated inline "pnpm install"
invocations in tasks such as "lint:markdown" and the other tasks that currently
duplicate installation steps so they depend on or invoke the shared
"install:deps" task; update those tasks to remove the inline install and call
the single shared task to deduplicate behavior and keep installs consistent.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 447c89b6-1d2a-4028-a76a-f79a83b25dda

📥 Commits

Reviewing files that changed from the base of the PR and between 2c1863f and 1a35523.

📒 Files selected for processing (11)
  • .github/workflows/deploy.yml
  • .github/workflows/e2e.yml
  • .github/workflows/lint.yml
  • Makefile
  • README.md
  • deny.toml
  • docs/cors_testing_guide.md
  • docs/e2e_api_testing_guide.md
  • mise.toml
  • package.json
  • wrangler.toml
💤 Files with no reviewable changes (2)
  • deny.toml
  • Makefile

@LesnyRumcajs LesnyRumcajs enabled auto-merge April 8, 2026 11:29
@LesnyRumcajs LesnyRumcajs added this pull request to the merge queue Apr 9, 2026
Merged via the queue into main with commit 8988688 Apr 9, 2026
7 checks passed
@LesnyRumcajs LesnyRumcajs deleted the mise-everywhere branch April 9, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants