Skip to content

updates GH workflow to not run preview on main branch - #1621

Merged
suhasdeshpande merged 3 commits into
mainfrom
suhas/fix-preview-workflow
Apr 18, 2025
Merged

suhasdeshpande merged 3 commits into
mainfrom
suhas/fix-preview-workflow

Conversation

@suhasdeshpande

Copy link
Copy Markdown
Contributor

What does this PR do?

(Describe the changes introduced in this PR)

Related PRs and Issues

  • (Direct link to related PR or issue, if relevant)

Checklist

  • I have read the Contribution Guide
  • If the PR changes or adds functionality, I have updated the relevant documentation

@vercel

vercel Bot commented Apr 2, 2025 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
copilot-kit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2025 6:04pm
copilot-kit-qd8p ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2025 6:04pm
demo-viewer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2025 6:04pm
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2025 6:04pm
examples-coagents-ai-travel-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2025 6:04pm
examples-coagents-research-canvas-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2025 6:04pm
feature-viewer-langgraph ❌ Failed (Inspect) Apr 18, 2025 6:04pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
examples-coagents-ai-researcher-ui ⬜️ Ignored (Inspect) Visit Preview Apr 18, 2025 6:04pm

@changesets-bot-copilotkit

Copy link
Copy Markdown

⏭️ Changeset Not Required

Latest commit: ed2bdb8

No changes in this PR affected the @copilitkit/* packages. Merging this PR will not cause a version bump for any packages.

Changeset is not required for this PR.

@github-actions

github-actions Bot commented Apr 18, 2025 •

Copy link
Copy Markdown
Contributor

Preview environments destroyed for this pull request.

@github-actions

github-actions Bot commented Apr 18, 2025 •

Copy link
Copy Markdown
Contributor

Test Results

Status: ❌ Failed (View Run)

Commit: b9a0000

Duration: 934.9s

Total Tests: 32

Pass Rate: 50.0%

Failed Tests: 16

❌ Failed Tests

🔍 Detailed Results

coagents-research-canvas

CoAgents Research Canvas (UI) - Local Depenencies

Model Browser Status Video
OpenAI chromium ❌ FAILED Video
Anthropic chromium ✅ PASSED -
CrewAI chromium ✅ PASSED -
OpenAI (LGC Python in-memory) chromium ❌ FAILED Video
Anthropic (LGC Python in-memory) chromium ✅ PASSED -
OpenAI (LGC JS in-memory) chromium ❌ FAILED Video
Anthropic (LGC JS in-memory) chromium ✅ PASSED -

coagents-qa-native

CoAgents QA Native (UI) - Local

Model Browser Status Video
OpenAI chromium ✅ PASSED -
Anthropic chromium ✅ PASSED -
OpenAI (LGC Python) chromium ✅ PASSED -
Anthropic (LGC Python) chromium ✅ PASSED -
OpenAI (LGC JS) chromium ✅ PASSED -
Anthropic (LGC JS) chromium ✅ PASSED -

coagents-qa-text

CoAgents QA Text (UI) - Local

Model Browser Status Video
OpenAI chromium ✅ PASSED -
Anthropic chromium ✅ PASSED -
OpenAI (LGC Python) chromium ✅ PASSED -
Anthropic (LGC Python) chromium ✅ PASSED -
OpenAI (LGC JS) chromium ✅ PASSED -
Anthropic (LGC JS) chromium ✅ PASSED -

coagents-routing

CoAgents Routing (UI) - Local

Model Browser Status Video
OpenAI chromium ❌ FAILED Video
Anthropic chromium ❌ FAILED Video
OpenAI (LGC Python) chromium ❌ FAILED Video
Anthropic (LGC Python) chromium ❌ FAILED Video
OpenAI (LGC JS) chromium ❌ FAILED Video
Anthropic (LGC JS) chromium ❌ FAILED Video

next-openai

Next OpenAI - Self Hosted

Model Browser Status Video
OpenAI chromium ❌ FAILED Video
Anthropic chromium ❌ FAILED Video
Google Generative AI chromium ❌ FAILED Video
LangChain (OpenAI) chromium ❌ FAILED Video
LangChain (Anthropic) chromium ❌ FAILED Video
LangChain (Gemini) chromium ❌ FAILED Video
Groq chromium ❌ FAILED Video

@suhasdeshpande
suhasdeshpande merged commit e39fec2 into main Apr 18, 2025
@suhasdeshpande
suhasdeshpande deleted the suhas/fix-preview-workflow branch April 18, 2025 18:27
Naz-Ovh pushed a commit to 0x-fork/CopilotKit that referenced this pull request Oct 12, 2026
…opilotKit#7601)

Application servers can assign browser Trajectories to existing Learning
Spaces without a Thread. `getTrajectoryLearningContainerIds` selects
Spaces from the verified application user and Trajectory ID;
browser-supplied assignments remain ignored.

The Runtime validates and deduplicates IDs, logs selector errors, and
returns a sanitized `LEARNING_CONTAINER_SELECTION_FAILED` HTTP 500. Core
treats that code as terminal. Selectors have a five-second deadline and
an optional second `AbortSignal` argument. Tests cover invalid results,
cancellation, timeout, and both Runtime route modes.

Each connect adds memberships. `[]` adds none; `null` or `undefined`
omits the assignment field. None removes existing memberships. A missing
Space stops capture with `LEARNING_CONTAINER_NOT_FOUND`. Usage docs
state these rules and describe only the user context the callback
receives.

**Companion:** [Intelligence
CopilotKit#1621](https://github.com/CopilotKit/Intelligence/pull/1621) adds native
Trajectory analysis and evidence viewing. Both PRs target `main`; CopilotKit#7556
and CopilotKit#7566 are already merged. Thread linking and chat events remain
deferred on this connection path.

Validation on this revision:
- `pnpm nx test @copilotkit/runtime --excludeTaskDependencies -- <four
Trajectory/selector test files>`: 96 passed. Focused Core connection
suite: 52 passed.
- `pnpm nx run-many -t check-types -p @copilotkit/runtime
@copilotkit/core --excludeTaskDependencies` passed; matching `build`
passed.
- Uncached `publint`, `attw`, and `check-dts` passed for both packages.
Public API manifest is current.
- Normal pre-commit ran `test,publint,attw` for 25 affected projects and
passed, including all 2,827 Runtime tests.
- Previously verified local flow: real browser activity → server
assignment → stored events → automatic model run → one saved insight
with 19 event references. Expense records were demo data.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Authenticated browser Trajectories can now be assigned to existing
Learning Spaces using a server-side selector, without requiring a Thread
or agent conversation.
* Assignments are validated and deduplicated, with a five-second limit.
Reconnecting adds memberships without removing existing ones.
* **Bug Fixes**
* Assignment failures no longer prevent Trajectory capture from
connecting; missing Spaces trigger a warning, while selector errors are
logged.
* **Documentation**
* Clarified server-side assignment setup and the limits of
browser-provided Learning Space IDs.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

This branch was successfully deployed

6 active deployments
Preview – docs — ed2bdb8e Deployed Apr 18, 2025 by vercel[bot]
Preview – examples-coagents-ai-travel-app — ed2bdb8e Deployed Apr 18, 2025 by vercel[bot]
Preview – copilot-kit — ed2bdb8e Deployed Apr 18, 2025 by vercel[bot]
Preview – copilot-kit-qd8p — ed2bdb8e Deployed Apr 18, 2025 by vercel[bot]
Preview – examples-coagents-research-canvas-ui — ed2bdb8e Deployed Apr 18, 2025 by vercel[bot]
Preview – demo-viewer — ed2bdb8e Deployed Apr 18, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant