Skip to content

fix: Enable Eve examples pull requests - #13708

Merged
anthonyshew merged 1 commit into
mainfrom
shew/enable-eve-examples-prs
Aug 11, 2026
Merged

anthonyshew merged 1 commit into
mainfrom
shew/enable-eve-examples-prs

Conversation

@anthonyshew

Copy link
Copy Markdown
Contributor

Summary

  • Run examples maintenance against a fresh sandbox checkout instead of the Vercel function filesystem.
  • Let the weekly schedule update, validate, and publish example changes as a draft pull request.
  • Exchange Vercel OIDC for a short-lived, repository-scoped GitHub token through an environment-configured token broker.
  • Make pull request publication idempotent and constrain automated branches, files, and metadata.

Deployment

Configure GITHUB_TOKEN_EXCHANGE_URL in the production agent project before triggering the schedule. The broker-specific endpoint remains outside this public repository.

Verification

  • pnpm --dir apps/agents exec tsgo --noEmit
  • pnpm --dir apps/agents build
  • Pre-push formatting and TOML checks
  • eve info reports zero diagnostics

@anthonyshew
anthonyshew requested review from a team and tknickman August 11, 2026 02:46
@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
examples-basic-web Ready Ready Preview Aug 11, 2026 2:48am
examples-designsystem-docs Ready Ready Preview Aug 11, 2026 2:48am
examples-gatsby-web Ready Ready Preview Aug 11, 2026 2:48am
examples-kitchensink-blog Ready Ready Preview Aug 11, 2026 2:48am
examples-nonmonorepo Ready Ready Preview Aug 11, 2026 2:48am
examples-svelte-web Ready Ready Preview Aug 11, 2026 2:48am
examples-tailwind-web Ready Ready Preview Aug 11, 2026 2:48am
examples-vite-web Ready Ready Preview Aug 11, 2026 2:48am
turbo-site Ready Ready Preview Aug 11, 2026 2:48am
turborepo-eve-agent Ready Ready Preview Aug 11, 2026 2:48am

);
if (deleted.trim() === "") {
const validation = await sandbox.run({
command: `resolved=$(realpath -- ${shellQuote(file)}) && case "$resolved" in /workspace/turborepo/examples/*) test -f "$resolved" && test ! -L ${shellQuote(file)} ;; *) exit 1 ;; esac`,

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.

Suggested change
command: `resolved=$(realpath -- ${shellQuote(file)}) && case "$resolved" in /workspace/turborepo/examples/*) test -f "$resolved" && test ! -L ${shellQuote(file)} ;; *) exit 1 ;; esac`,
command: `root=$(realpath -- examples) && resolved=$(realpath -- ${shellQuote(file)}) && case "$resolved" in "$root"/*) test -f "$resolved" && test ! -L ${shellQuote(file)} ;; *) exit 1 ;; esac`,

Hardcoded /workspace/turborepo/examples/* prefix in fileMode's realpath validation breaks PR creation whenever the sandbox home is not /workspace, throwing "is not a regular examples file" for every changed file.

Fix on Vercel

@anthonyshew
anthonyshew merged commit 4e57b15 into main Aug 11, 2026
63 of 64 checks passed
@anthonyshew
anthonyshew deleted the shew/enable-eve-examples-prs branch August 11, 2026 12:18
anthonyshew pushed a commit that referenced this pull request Aug 12, 2026
## Release v2.10.10-canary.3

> [!CAUTION]
> Versioned docs aliasing FAILED. [View
logs](https://github.com/vercel/turborepo/actions/runs/31554043870)

### Changes

- fix(deps): Upgrade js-yaml to 4.3.1 (GHSA-5p4m-2wfm-xmqj) (#13704)
(`f12c6e9`)
- chore: Move pnpm overrides to pnpm-workspace.yaml (#13706) (`1475441`)
- chore: Release Turborepo 2.10.10-canary.2 (#13707) (`c72285f`)
- fix: Enable Eve examples pull requests (#13708) (`4e57b15`)
- feat: Add Eve operator dashboard (#13710) (`96b9647`)
- fix: Remove unsupported sandbox network policy (#13712) (`688614d`)
- feat: Rotate Eve example maintenance daily (#13715) (`ec56a7f`)
- fix: Resolve agent lint errors (#13716) (`bb535e9`)
- chore: Upgrade TypeScript to 7.0.2 (#13713) (`2afa75d`)
- fix(cli): Move EXPERIMENTAL label from ls command to --output flag
(#13709) (`422ba28`)
- fix: Apply nested parent gitignore patterns in manual hashing (#13690)
(`2b8863c`)
- feat: Add pytest task discovery (#13720) (`24e07a7`)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
anthonyshew pushed a commit that referenced this pull request Aug 14, 2026
## Release v2.10.10

> [!CAUTION]
> Versioned docs aliasing FAILED. [View
logs](https://github.com/vercel/turborepo/actions/runs/31803665773)

### Changes

- chore: Release Turborepo 2.10.9 (#13696) (`c21e2e2`)
- docs: Update Geistdocs to 1.19.6 (#13701) (`9bbc2c8`)
- feat: Support nub.lock files (#13699) (`4740bac`)
- chore: Release Turborepo 2.10.10-canary.1 (#13703) (`44c6fd6`)
- perf: Walk the repository once when pruning (#13705) (`c59a533`)
- fix(deps): Upgrade js-yaml to 4.3.1 (GHSA-5p4m-2wfm-xmqj) (#13704)
(`f12c6e9`)
- chore: Move pnpm overrides to pnpm-workspace.yaml (#13706) (`1475441`)
- chore: Release Turborepo 2.10.10-canary.2 (#13707) (`c72285f`)
- fix: Enable Eve examples pull requests (#13708) (`4e57b15`)
- feat: Add Eve operator dashboard (#13710) (`96b9647`)
- fix: Remove unsupported sandbox network policy (#13712) (`688614d`)
- feat: Rotate Eve example maintenance daily (#13715) (`ec56a7f`)
- fix: Resolve agent lint errors (#13716) (`bb535e9`)
- chore: Upgrade TypeScript to 7.0.2 (#13713) (`2afa75d`)
- fix(cli): Move EXPERIMENTAL label from ls command to --output flag
(#13709) (`422ba28`)
- fix: Apply nested parent gitignore patterns in manual hashing (#13690)
(`2b8863c`)
- feat: Add pytest task discovery (#13720) (`24e07a7`)
- chore: Release Turborepo 2.10.10-canary.3 (#13721) (`bb46749`)
- chore: Validate updated examples with turbo (#13723) (`ad53149`)
- chore: Update with-rollup example (#13718) (`42ec389`)
- feat: Notify Slack when agents open PRs (#13722) (`aa070b1`)
- chore: Enforce draft pull requests (#13726) (`6a46551`)
- fix: Expose Slack delivery diagnostics (#13733) (`caddaa9`)
- chore: Update non-monorepo example (#13727) (`0bfd752`)
- chore: Update with-rsbuild example (#13730) (`e0aee94`)
- feat: Add daily performance agent (#13729) (`c4ac03b`)
- feat: Support cross-toolchain repository affectedness (#13737)
(`31b0c4f`)
- fix: Scope musl library dependency installation (#13738) (`1da105f`)
- chore: Release Turbo repository packages 0.0.1-canary.24 (#13739)
(`65aa565`)
- fix(bun): Preserve overrides objects, trustedDependencies, workspace
bins and git integrity through prune; accept lockfileVersion 3 (#13740)
(`ea08fac`)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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