Skip to content

[OPIK-4972] [BE] feat: update demo data to only create Opik Demo Agent Observability project#5861

Open
thiagohora wants to merge 3 commits intomainfrom
thiaghora/OPIK-4972-update-demo-data-single-project
Open

[OPIK-4972] [BE] feat: update demo data to only create Opik Demo Agent Observability project#5861
thiagohora wants to merge 3 commits intomainfrom
thiaghora/OPIK-4972-update-demo-data-single-project

Conversation

@thiagohora
Copy link
Copy Markdown
Contributor

Details

Simplifies demo data creation to a single project. Previously, four demo projects were created on signup: Opik Demo Agent Observability, Opik Demo Assistant, Opik Demo Optimizer, and playground. This change removes the three extra projects and keeps only "Opik Demo Agent Observability" as the single demo project.

  • Remove create_demo_evaluation_project, create_demo_optimizer_project, and create_demo_playground_project from the Python backend demo data generator
  • Clean up all now-unused imports and DemoDataContext dataclass fields
  • Update the DEMO_PROJECT_NAME frontend constant to match the single demo project name

DemoData.java (Java backend BI exclusion list) is intentionally kept unchanged for backward compatibility with existing workspaces that already have the old demo projects.

Change checklist

  • User facing
  • Documentation update

Issues

  • OPIK-4972

AI-WATERMARK

AI-WATERMARK: yes

  • If yes:
    • Tools: Claude Code
    • Model(s): claude-sonnet-4-6
    • Scope: full implementation
    • Human verification: code review + manual testing

Testing

  • pytest tests/ — 69/69 Python backend tests passed
  • npm run test — 1254/1254 frontend tests passed (2 pre-existing failures in langchain/mapper.test.ts and openai/mapper.test.ts are unrelated: missing react-h5-audio-player dependency)
  • npm run lint — passed cleanly
  • Verified DEMO_PROJECT_NAME constant update is reflected in useDemoProject hook

Documentation

N/A

…t Observability project

- Remove demo evaluation, optimizer, and playground project creation
- Clean up unused imports and DemoDataContext fields in demo_data_generator.py
- Update DEMO_PROJECT_NAME constant to match the single demo project name

Implements OPIK-4972: [M3] Frontend: Update demo data with project-scoped, environment-tagged traces
@github-actions github-actions bot added python Pull requests that update Python code Frontend Backend typescript *.ts *.tsx labels Mar 25, 2026
@github-actions github-actions bot added the tests Including test files, or tests related like configuration. label Mar 25, 2026
@thiagohora thiagohora marked this pull request as ready for review March 25, 2026 17:39
@thiagohora thiagohora requested a review from a team as a code owner March 25, 2026 17:39
@thiagohora thiagohora added the test-environment Deploy Opik adhoc environment label Mar 26, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🔄 Test environment deployment process has started

Phase 1: Deploying base version 1.10.51-4655 (from main branch) if environment doesn't exist
Phase 2: Building new images from PR branch thiaghora/OPIK-4972-update-demo-data-single-project
Phase 3: Will deploy newly built version after build completes

You can monitor the progress here.

@CometActions
Copy link
Copy Markdown
Collaborator

Test environment is now available!

To configure additional Environment variables for your environment, run [Deploy Opik AdHoc Environment workflow] (https://github.com/comet-ml/comet-deployment/actions/workflows/deploy_opik_adhoc_env.yaml)

Access Information

The deployment has completed successfully and the version has been verified.

@thiagohora thiagohora added test-environment Deploy Opik adhoc environment and removed test-environment Deploy Opik adhoc environment labels Mar 26, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🔄 Test environment deployment process has started

Phase 1: Deploying base version 1.10.51-4655 (from main branch) if environment doesn't exist
Phase 2: Building new images from PR branch thiaghora/OPIK-4972-update-demo-data-single-project
Phase 3: Will deploy newly built version after build completes

You can monitor the progress here.

@CometActions
Copy link
Copy Markdown
Collaborator

Test environment is now available!

To configure additional Environment variables for your environment, run [Deploy Opik AdHoc Environment workflow] (https://github.com/comet-ml/comet-deployment/actions/workflows/deploy_opik_adhoc_env.yaml)

Access Information

The deployment has completed successfully and the version has been verified.

Copy link
Copy Markdown
Collaborator

@aadereiko aadereiko left a comment

Choose a reason for hiding this comment

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

The FE part looks good to go. Just make sure that Demo Project isn't queried from anywhere

@CometActions
Copy link
Copy Markdown
Collaborator

🌙 Nightly cleanup: The test environment for this PR (pr-5861) has been cleaned up to free cluster resources. PVCs are preserved — re-deploy to restore the environment.

@CometActions CometActions removed the test-environment Deploy Opik adhoc environment label Mar 27, 2026
Copy link
Copy Markdown
Member

@andrescrz andrescrz left a comment

Choose a reason for hiding this comment

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

Please double check the open comment.

@CometActions
Copy link
Copy Markdown
Collaborator

🌙 Nightly cleanup: The test environment for this PR (pr-5861) has been cleaned up to free cluster resources. PVCs are preserved — re-deploy to restore the environment.

1 similar comment
@CometActions
Copy link
Copy Markdown
Collaborator

🌙 Nightly cleanup: The test environment for this PR (pr-5861) has been cleaned up to free cluster resources. PVCs are preserved — re-deploy to restore the environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backend python Pull requests that update Python code tests Including test files, or tests related like configuration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants