Skip to content

chore: sync from agents-private#3142

Merged
vnv-varun merged 24 commits intomainfrom
copybara/sync
Apr 15, 2026
Merged

chore: sync from agents-private#3142
vnv-varun merged 24 commits intomainfrom
copybara/sync

Conversation

@inkeep-oss-sync
Copy link
Copy Markdown
Contributor

Automated sync from agents-private via Copybara mirror.

vnv-varun and others added 24 commits April 15, 2026 19:10
Restructure repo into private master monorepo

GitOrigin-RevId: bfe52d6c6dd7d8b1b725a54892408bb0dd1049fe
Integrate imported repos into monorepo

GitOrigin-RevId: 16fb531ab8ac0eef260642b960d83c351d549830
Add public PR bridge

GitOrigin-RevId: 19732ccfe98f66e4c5a94cdfb2f467c90d1c63f4
Add public agents model sync workflow

GitOrigin-RevId: d127bc57250e37f875787609645fc1190a43f2a2
* Add public agents Cypress workflow

* Use standard runner for Cypress

* Fix Cypress monorepo turbo paths

* Fix Cypress monorepo prep

* Fix Cypress standalone server path

* Fix Cypress standalone startup path

* Stabilize function tool Cypress selection

* Use stable function tool Cypress selector

* style: auto-format with biome

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: bcc5de20d4d3a7999410d6944a7eb29f35a2a08f
* Fix Cypress function tool drop target

* Stabilize Cypress function tool drop

GitOrigin-RevId: be4b39b64b2434b8ae4f9fc4b880773a04b5d388
* Sync live repo workflow parity

* Sync latest live workflow files

* Align production rehearsal promote flow

* style: auto-format with biome

* Preserve imported workflow parity

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: c0edfa4ec4c2054d6c8a6959d027b8b2a7a3af22
Syncs preview environment workflow and scripts from live inkeep/agents repo.
Key upstream changes:
- Preview environment recovery/recreation mechanism
- SpiceDB Postgres as a separately configurable service
- SpiceDB datastore migration via Docker
- Railway service redeploy helper
- Bootstrap script outputs (manage_db_url, run_db_url, spicedb_endpoint)
- configure-vercel-preview now depends on bootstrap-preview-auth

Also updates the monorepo preview rehearsal workflow to match upstream:
- Adds recreate_backup outputs to provision-tier1
- Adds SpiceDB postgres vars to provision and bootstrap
- Switches to bootstrap-preview-auth-with-recovery.sh
- Sources URLs from bootstrap outputs in configure-vercel-preview

GitOrigin-RevId: 080f73ab6e4e2eb00b92652174d746ae1aefaf01
# Conflicts:
#	public/agents/.github/scripts/preview/bootstrap-preview-auth-with-recovery.sh
#	public/agents/.github/scripts/preview/cleanup-stale-railway-envs.sh
#	public/agents/.github/scripts/preview/comment-preview-urls.sh
#	public/agents/agents-manage-ui/cypress/e2e/agent-tools.cy.ts
#	public/agents/agents-manage-ui/package.json
#	public/agents/package.json
#	public/agents/scripts/check-migration-lineage.mjs

GitOrigin-RevId: 78929f6222d6754b9135490f3e74a220981d82bb
- Mirror Sync: update actions/setup-java pinned SHA (old one was unreachable)
- Copybara config: regenerate after agents-ui 0.16.0 (rewrite rule no longer needed)
- Core Validation: exclude scripts/ and auth/ from DAL boundary lint (upstream migration scripts and auth module use drizzle-orm directly)

GitOrigin-RevId: ec4d111ab960a67a57bf0843848a3a5e39ca2a7b
Next.js standalone output uses the workspace root to determine the
directory structure. In the monorepo, server.js ends up at
.next/standalone/public/agents/agents-manage-ui/server.js instead of
.next/standalone/agents-manage-ui/server.js.

Setting outputFileTracingRoot to public/agents (one level up from
agents-manage-ui) restores the expected path.

GitOrigin-RevId: d6e373b8f267c50c1958c824ecf41052f4b98166
GitOrigin-RevId: 11d9d4a93f22f97c0183424b438c561b9fc6ba49
…k step

outputFileTracingRoot conflicts with turbopack.root. Instead, let Next.js
use the monorepo root for tracing (matching turbopack.root) and create
symlinks in the standalone output to bridge the path difference:
- .next/standalone/public/agents/agents-manage-ui/ -> agents-manage-ui/
- .next/standalone/public/agents/packages/ -> packages/

GitOrigin-RevId: 173cc6ce2005c7565ad204924dc4f95c8caf32cd
GitOrigin-RevId: a4c6df40aeb0b28fd2a5bb2a816258fe88889804
GitOrigin-RevId: 195e5e22e7c83e4bb2a461162f696059d2c89310
…env. Update readiness doc with production rehearsal details.

GitOrigin-RevId: 9f9b398d42a31d60d2ce821ce40d9922a8fea5e1
GitOrigin-RevId: 713563d8711fdd968560fde0960eda73ecdfd5c3
# Conflicts:
#	public/agents/.github/scripts/bridge-public-pr-to-monorepo.mjs
#	public/agents/.github/workflows/monorepo-pr-bridge.yml

GitOrigin-RevId: 83c948f5e8d20de9407da17a2fc133ac69ed55cc
* Cutover prep: fix build, add operational infra, bridge for agents-optional-local-dev

Fix the Next.js build failure on all bridged PRs - outputFileTracingRoot
and turbopack.root must have the same value in monorepo context. Changed
outputFileTracingRoot from path.resolve(configDir, '..') to monorepoRoot.

Add reconcileMonorepoPatches() to bridge script as a safety net - auto-patches
outputFileTracingRoot into next.config.ts when bridging public PRs that don't
include it.

Promote operational infrastructure from public/agents to monorepo root:
- .changeset/ config for changeset publishing
- .husky/ pre-commit (lint-staged) and pre-push (format)
- .github/dependabot.yml with monorepo-adapted paths
- .github/composite-actions/install/ (Node 22 + pnpm)
- .github/scripts/ (detect-model-changes + 13 preview scripts)
- .github/workflows/ (preview environments + production deploy)

Add PR bridge for agents-optional-local-dev (workflow + script).

Update README with consolidated repos table and private subdirectory descriptions.
Update CUTOVER_CHANGELOG with April 10 work summary.

* Streamline cutover readiness into execution runbook for today

* Address PR review: frozen-lockfile in CI install, weekly dependabot for GH actions

GitOrigin-RevId: e517677c9a8e80f8d2498e23ce6e33981941ce05
Rewrote root README with consolidated repos table, layout tree, mirroring
explanation, and dev commands. Archived 17 historical planning docs to
_archive/, keeping only the 5 actionable ones (runbook, Vercel cutover,
credentials, changelog, CTO brief).

GitOrigin-RevId: df0de611021217d968e872ed61cfc3c6a052b578
These files exist on inkeep/agents but were missing from the monorepo,
causing Copybara to delete them on sync. Force-added despite gitignore
for progress.txt and .vercel/ to maintain parity.

GitOrigin-RevId: 3e8b696bdb8302534ca61f4ffb72295460cf3e12
These files were restored to prevent Copybara deletion but are
correctly flagged as artifacts that should not be in source control:
- agents-manage-ui/.vercel/ (local Vercel project metadata, in .gitignore)
- agents-cli/progress.txt (working notes from a previous task)

GitOrigin-RevId: 7a9835f98963dd332f4a6a7eef4915d3451720f7
GitOrigin-RevId: c2eddb95abe380e55ca6f26a7690dd2e7e8b2d70
GitOrigin-RevId: a797780f6a46ab52ddb9f3f4418436a308f49460
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 15, 2026

⚠️ No Changeset found

Latest commit: a9700d3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

I could not sync this public PR into agents-private automatically.

Patch application failed. The diff could not be applied cleanly. Please rebase your PR on the latest main.

@vnv-varun vnv-varun enabled auto-merge (squash) April 15, 2026 19:34
@vnv-varun vnv-varun disabled auto-merge April 15, 2026 19:35
@vnv-varun vnv-varun merged commit 1aaf74c into main Apr 15, 2026
19 of 21 checks passed
@vnv-varun vnv-varun deleted the copybara/sync branch April 15, 2026 19:36
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