Skip to content

Improve eval runs to use native GH checks - #35

Merged
dcramer merged 3 commits into
mainfrom
fix/eval-runs
Apr 6, 2025
Merged

dcramer merged 3 commits into
mainfrom
fix/eval-runs

Conversation

@dcramer

@dcramer dcramer commented Apr 6, 2025

Copy link
Copy Markdown
Member

No description provided.

@codecov

codecov Bot commented Apr 6, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 30.20%. Comparing base (3d627b5) to head (99856f9).
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #35   +/-   ##
=======================================
  Coverage   30.20%   30.20%           
=======================================
  Files          14       14           
  Lines        1033     1033           
  Branches       23       23           
=======================================
  Hits          312      312           
  Misses        721      721           
Flag Coverage Δ
unittests 30.20% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@dcramer
dcramer force-pushed the fix/eval-runs branch 3 times, most recently from 06188a5 to 6171a0d Compare April 6, 2025 17:38
@dcramer
dcramer merged commit 490777b into main Apr 6, 2025
@dcramer
dcramer deleted the fix/eval-runs branch April 6, 2025 17:50
BYK added a commit that referenced this pull request Sep 30, 2026
…s lockfile (#1332)

## Summary

Fixes all 13 open Dependabot alerts. No GitHub security advisories are
open.

Bumps the published package minimum to **Node.js 20+** (from 18+) so the
declared `engines.node` matches what the new transitive overrides
(`@hono/[email protected]`, `[email protected]`) actually install.

## Background

Post-merge of PR #1254 ("chore: pre-shape repo into pnpm-workspace
monorepo layout"), the docs workspace moved from `docs/` to
`apps/cli-docs/`. The old `docs/package.json` was deleted, but
`docs/pnpm-lock.yaml` was left tracked — referencing the obsolete Astro
6.x / Starlight 0.39 layout. This stale lockfile is the source of 9 of
the 13 open alerts.

The remaining 4 alerts are transitive vulnerabilities in the active root
`pnpm-lock.yaml`:
- `[email protected]` via `react-devtools-core`
- `@hono/[email protected]` via `@modelcontextprotocol/[email protected]` →
`@hono/mcp` → `@mastra/client-js`
- `[email protected]` via `ajv` → MCP SDK chain
- `[email protected]` via `minimatch` → `glob` (via ultracite and
@sentry/bundler-plugins)

## Changes

1. **Delete `docs/pnpm-lock.yaml`** — orphaned lockfile from
pre-monorepo layout; closes alerts #25, #27, #29, #31, #33, #34, #35,
#41, #54.

2. **`pnpm.overrides` in root `package.json`** for the 4 transitive
alerts:

```diff
-"shell-quote@<1.8.4": "1.8.4",
+"shell-quote@<1.9.0": "1.9.0",
 `qs@>=6.11.1 <=6.15.1`: "6.15.2",
 `form-data@<4.0.6`: "4.0.6",
 `vite@>=8.0.0 <8.0.16`: "8.0.16`,
+"@hono/node-server@<2.0.5": "2.0.12",
+"fast-uri@<=3.1.3": "3.1.5",
+"brace-expansion@<5.0.8": "5.0.9"
```

The previous `shell-quote@<1.8.4 → 1.8.4` override was itself vulnerable
(alert #36: `shell-quote <= 1.8.4` is the vulnerable range, patched in
1.9.0), so it is bumped to `<1.9.0 → 1.9.0`.

3. **`engines.node` bump 18 → 20** in root `package.json` and
`packages/cli/package.json`, plus doc updates in:
   - `apps/cli-docs/src/content/docs/library-usage.md`
   - `apps/cli-docs/src/content/docs/migrating-from-v3.md`
- `packages/cli/README.md` (the auto-generated `library-prereq` block
reads from `engines.node` via `generateLibraryPrereq()` in
`generate-docs-sections.ts`, so it picked up the new floor
automatically).

The dev floor (`devEngines.runtime >=22.15`) is unchanged — Node 22.15+
remains the development minimum. The standalone binary continues to
bundle its own Node 22.15+ runtime.

## Verification

- `pnpm audit --prod` → no known vulnerabilities
- `pnpm run check:deps` ✓
- `pnpm run lint` ✓ (951 files)
- `pnpm run typecheck` ✓
- `pnpm test:unit` → 416 files, 8760 tests passing, 13 skipped
- Resolved versions match or exceed each patched minimum:
  - shell-quote 1.9.0 (patched 1.9.0)
  - @hono/node-server 2.0.12 (patched 2.0.5)
  - fast-uri 3.1.5 (patched 3.1.4)
  - brace-expansion 5.0.9 (patched 5.0.8)

## Reviewer notes

**Pin rationale for `@hono/[email protected]`** — the patched minimum
is 2.0.5, but `packages/cli/package.json` already declares
`"@hono/node-server": "^2.0.6"` as a direct devDependency. Pinning to
2.0.12 (the latest 2.x available at PR time) keeps the override and the
direct declaration in the same major line and avoids a near-term minor
bump. `2.0.5–2.0.11` had no further advisories at the time of writing.

**Lockfile dedupe side effect** — `[email protected]` (already
non-vulnerable, used by `launch-editor`) is consolidated to `1.9.0`
because the override forces single-version resolution. No security
regression; `launch-editor` does not pin a shell-quote range narrower
than what 1.9.0 satisfies.

**Node 18 deprecation** — addresses the F1 SHOULD-FIX from the initial
review. The `>=18.0` floor had become inconsistent with the lockfile
once the overrides pulled in `@hono/[email protected]` (engines `>=20`)
and `[email protected]` (engines `20 || >=22`). Both packages are
dev-only transitive deps, so the only users impacted are source-install
users who run the CLI via `node` instead of the standalone binary.
`devEngines.runtime` already required `>=22.15`, so development
environments are unaffected.

## Note

`pnpm audit` (non-prod-only) flags one additional low-severity advisory
— `@ai-sdk/[email protected]` (GHSA-866g-f22w-33x8, CVE-2026-8769,
via @mastra/client-js) — that is not yet in Dependabot. Addressing it
requires bumping @mastra/client-js to a newer major; left out of this PR
to keep scope focused on the explicit GitHub security report.

<sub>Comment `@sentry <feedback>` on this PR to have Autofix iterate on
the changes.</sub>
mr-danya pushed a commit to mr-danya/sentry-mcp that referenced this pull request Oct 6, 2026
…s lockfile (getsentry#1332)

## Summary

Fixes all 13 open Dependabot alerts. No GitHub security advisories are
open.

Bumps the published package minimum to **Node.js 20+** (from 18+) so the
declared `engines.node` matches what the new transitive overrides
(`@hono/[email protected]`, `[email protected]`) actually install.

## Background

Post-merge of PR getsentry#1254 ("chore: pre-shape repo into pnpm-workspace
monorepo layout"), the docs workspace moved from `docs/` to
`apps/cli-docs/`. The old `docs/package.json` was deleted, but
`docs/pnpm-lock.yaml` was left tracked — referencing the obsolete Astro
6.x / Starlight 0.39 layout. This stale lockfile is the source of 9 of
the 13 open alerts.

The remaining 4 alerts are transitive vulnerabilities in the active root
`pnpm-lock.yaml`:
- `[email protected]` via `react-devtools-core`
- `@hono/[email protected]` via `@modelcontextprotocol/[email protected]` →
`@hono/mcp` → `@mastra/client-js`
- `[email protected]` via `ajv` → MCP SDK chain
- `[email protected]` via `minimatch` → `glob` (via ultracite and
@sentry/bundler-plugins)

## Changes

1. **Delete `docs/pnpm-lock.yaml`** — orphaned lockfile from
pre-monorepo layout; closes alerts getsentry#25, getsentry#27, getsentry#29, getsentry#31, getsentry#33, getsentry#34, getsentry#35,
getsentry#41, getsentry#54.

2. **`pnpm.overrides` in root `package.json`** for the 4 transitive
alerts:

```diff
-"shell-quote@<1.8.4": "1.8.4",
+"shell-quote@<1.9.0": "1.9.0",
 `qs@>=6.11.1 <=6.15.1`: "6.15.2",
 `form-data@<4.0.6`: "4.0.6",
 `vite@>=8.0.0 <8.0.16`: "8.0.16`,
+"@hono/node-server@<2.0.5": "2.0.12",
+"fast-uri@<=3.1.3": "3.1.5",
+"brace-expansion@<5.0.8": "5.0.9"
```

The previous `shell-quote@<1.8.4 → 1.8.4` override was itself vulnerable
(alert getsentry#36: `shell-quote <= 1.8.4` is the vulnerable range, patched in
1.9.0), so it is bumped to `<1.9.0 → 1.9.0`.

3. **`engines.node` bump 18 → 20** in root `package.json` and
`packages/cli/package.json`, plus doc updates in:
   - `apps/cli-docs/src/content/docs/library-usage.md`
   - `apps/cli-docs/src/content/docs/migrating-from-v3.md`
- `packages/cli/README.md` (the auto-generated `library-prereq` block
reads from `engines.node` via `generateLibraryPrereq()` in
`generate-docs-sections.ts`, so it picked up the new floor
automatically).

The dev floor (`devEngines.runtime >=22.15`) is unchanged — Node 22.15+
remains the development minimum. The standalone binary continues to
bundle its own Node 22.15+ runtime.

## Verification

- `pnpm audit --prod` → no known vulnerabilities
- `pnpm run check:deps` ✓
- `pnpm run lint` ✓ (951 files)
- `pnpm run typecheck` ✓
- `pnpm test:unit` → 416 files, 8760 tests passing, 13 skipped
- Resolved versions match or exceed each patched minimum:
  - shell-quote 1.9.0 (patched 1.9.0)
  - @hono/node-server 2.0.12 (patched 2.0.5)
  - fast-uri 3.1.5 (patched 3.1.4)
  - brace-expansion 5.0.9 (patched 5.0.8)

## Reviewer notes

**Pin rationale for `@hono/[email protected]`** — the patched minimum
is 2.0.5, but `packages/cli/package.json` already declares
`"@hono/node-server": "^2.0.6"` as a direct devDependency. Pinning to
2.0.12 (the latest 2.x available at PR time) keeps the override and the
direct declaration in the same major line and avoids a near-term minor
bump. `2.0.5–2.0.11` had no further advisories at the time of writing.

**Lockfile dedupe side effect** — `[email protected]` (already
non-vulnerable, used by `launch-editor`) is consolidated to `1.9.0`
because the override forces single-version resolution. No security
regression; `launch-editor` does not pin a shell-quote range narrower
than what 1.9.0 satisfies.

**Node 18 deprecation** — addresses the F1 SHOULD-FIX from the initial
review. The `>=18.0` floor had become inconsistent with the lockfile
once the overrides pulled in `@hono/[email protected]` (engines `>=20`)
and `[email protected]` (engines `20 || >=22`). Both packages are
dev-only transitive deps, so the only users impacted are source-install
users who run the CLI via `node` instead of the standalone binary.
`devEngines.runtime` already required `>=22.15`, so development
environments are unaffected.

## Note

`pnpm audit` (non-prod-only) flags one additional low-severity advisory
— `@ai-sdk/[email protected]` (GHSA-866g-f22w-33x8, CVE-2026-8769,
via @mastra/client-js) — that is not yet in Dependabot. Addressing it
requires bumping @mastra/client-js to a newer major; left out of this PR
to keep scope focused on the explicit GitHub security report.

<sub>Comment `@sentry <feedback>` on this PR to have Autofix iterate on
the changes.</sub>
mr-danya pushed a commit to mr-danya/sentry-mcp that referenced this pull request Oct 6, 2026
…s lockfile (getsentry#1332)

## Summary

Fixes all 13 open Dependabot alerts. No GitHub security advisories are
open.

Bumps the published package minimum to **Node.js 20+** (from 18+) so the
declared `engines.node` matches what the new transitive overrides
(`@hono/[email protected]`, `[email protected]`) actually install.

## Background

Post-merge of PR getsentry#1254 ("chore: pre-shape repo into pnpm-workspace
monorepo layout"), the docs workspace moved from `docs/` to
`apps/cli-docs/`. The old `docs/package.json` was deleted, but
`docs/pnpm-lock.yaml` was left tracked — referencing the obsolete Astro
6.x / Starlight 0.39 layout. This stale lockfile is the source of 9 of
the 13 open alerts.

The remaining 4 alerts are transitive vulnerabilities in the active root
`pnpm-lock.yaml`:
- `[email protected]` via `react-devtools-core`
- `@hono/[email protected]` via `@modelcontextprotocol/[email protected]` →
`@hono/mcp` → `@mastra/client-js`
- `[email protected]` via `ajv` → MCP SDK chain
- `[email protected]` via `minimatch` → `glob` (via ultracite and
@sentry/bundler-plugins)

## Changes

1. **Delete `docs/pnpm-lock.yaml`** — orphaned lockfile from
pre-monorepo layout; closes alerts getsentry#25, getsentry#27, getsentry#29, getsentry#31, getsentry#33, getsentry#34, getsentry#35,
getsentry#41, getsentry#54.

2. **`pnpm.overrides` in root `package.json`** for the 4 transitive
alerts:

```diff
-"shell-quote@<1.8.4": "1.8.4",
+"shell-quote@<1.9.0": "1.9.0",
 `qs@>=6.11.1 <=6.15.1`: "6.15.2",
 `form-data@<4.0.6`: "4.0.6",
 `vite@>=8.0.0 <8.0.16`: "8.0.16`,
+"@hono/node-server@<2.0.5": "2.0.12",
+"fast-uri@<=3.1.3": "3.1.5",
+"brace-expansion@<5.0.8": "5.0.9"
```

The previous `shell-quote@<1.8.4 → 1.8.4` override was itself vulnerable
(alert getsentry#36: `shell-quote <= 1.8.4` is the vulnerable range, patched in
1.9.0), so it is bumped to `<1.9.0 → 1.9.0`.

3. **`engines.node` bump 18 → 20** in root `package.json` and
`packages/cli/package.json`, plus doc updates in:
   - `apps/cli-docs/src/content/docs/library-usage.md`
   - `apps/cli-docs/src/content/docs/migrating-from-v3.md`
- `packages/cli/README.md` (the auto-generated `library-prereq` block
reads from `engines.node` via `generateLibraryPrereq()` in
`generate-docs-sections.ts`, so it picked up the new floor
automatically).

The dev floor (`devEngines.runtime >=22.15`) is unchanged — Node 22.15+
remains the development minimum. The standalone binary continues to
bundle its own Node 22.15+ runtime.

## Verification

- `pnpm audit --prod` → no known vulnerabilities
- `pnpm run check:deps` ✓
- `pnpm run lint` ✓ (951 files)
- `pnpm run typecheck` ✓
- `pnpm test:unit` → 416 files, 8760 tests passing, 13 skipped
- Resolved versions match or exceed each patched minimum:
  - shell-quote 1.9.0 (patched 1.9.0)
  - @hono/node-server 2.0.12 (patched 2.0.5)
  - fast-uri 3.1.5 (patched 3.1.4)
  - brace-expansion 5.0.9 (patched 5.0.8)

## Reviewer notes

**Pin rationale for `@hono/[email protected]`** — the patched minimum
is 2.0.5, but `packages/cli/package.json` already declares
`"@hono/node-server": "^2.0.6"` as a direct devDependency. Pinning to
2.0.12 (the latest 2.x available at PR time) keeps the override and the
direct declaration in the same major line and avoids a near-term minor
bump. `2.0.5–2.0.11` had no further advisories at the time of writing.

**Lockfile dedupe side effect** — `[email protected]` (already
non-vulnerable, used by `launch-editor`) is consolidated to `1.9.0`
because the override forces single-version resolution. No security
regression; `launch-editor` does not pin a shell-quote range narrower
than what 1.9.0 satisfies.

**Node 18 deprecation** — addresses the F1 SHOULD-FIX from the initial
review. The `>=18.0` floor had become inconsistent with the lockfile
once the overrides pulled in `@hono/[email protected]` (engines `>=20`)
and `[email protected]` (engines `20 || >=22`). Both packages are
dev-only transitive deps, so the only users impacted are source-install
users who run the CLI via `node` instead of the standalone binary.
`devEngines.runtime` already required `>=22.15`, so development
environments are unaffected.

## Note

`pnpm audit` (non-prod-only) flags one additional low-severity advisory
— `@ai-sdk/[email protected]` (GHSA-866g-f22w-33x8, CVE-2026-8769,
via @mastra/client-js) — that is not yet in Dependabot. Addressing it
requires bumping @mastra/client-js to a newer major; left out of this PR
to keep scope focused on the explicit GitHub security report.

<sub>Comment `@sentry <feedback>` on this PR to have Autofix iterate on
the changes.</sub>

This branch was previously deployed

1 inactive deployment
Actions — 99856f92 Deployed Apr 6, 2025 by dcramer
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.

1 participant