Skip to content

fix(web): Add op1-replay.js to Dockerfile - #525

Open
houstona wants to merge 1 commit into
Openpanel-dev:mainfrom
houstona:patch-1
Open

houstona wants to merge 1 commit into
Openpanel-dev:mainfrom
houstona:patch-1

Conversation

@houstona

@houstona houstona commented Sep 28, 2026 •

Copy link
Copy Markdown

Added a copy command for the replay script to the Dockerfile to resolve #512

Summary by CodeRabbit

  • New Features
    • The start app now includes the OP1 replay script in its public assets.

Added a copy command for the replay script to the Dockerfile.
@coderabbitai

coderabbitai Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 62a6619e-2c4e-44fb-a81b-01a0a4effc79

📥 Commits

Reviewing files that changed from the base of the PR and between 7c4d22a and 0bfdf7f.

📒 Files selected for processing (1)
  • apps/start/Dockerfile

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

The start app’s Docker build now copies op1-replay.js from the public app into the start app’s public directory.

Changes

Replay script availability

Layer / File(s) Summary
Copy replay script into start app
apps/start/Dockerfile
The Docker build copies op1-replay.js from the public app into the start app’s public directory.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Bug fix · Severity of issue fixed: Medium

Suggested reviewers: lindesvard

Merge Risk: ⚪ Minimal · up to 0bfdf

The replay bundle is included where the dashboard loader expects it, and the supported Docker builds can access the source file. No merge-blocking risk is evident.

Architecture Summary

Architecture risk: 🔵 Low · up to 0bfdf

The change affects 1 system.

Changed systems: apps/start

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — apps/start (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in apps/start/Dockerfile: Adds a Docker build instruction and comment to copy op1-replay.js from the public app into the start app’s public directory.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Issue [#512] requires op1-replay.js to be copied into the dashboard for self-hosted session replay. The PR adds a Dockerfile build-stage copy from apps/public/public/op1-replay.js to the start app…
Out of Scope Changes check ✅ Passed The change is limited to the Dockerfile copy command for op1-replay.js. The change supports the linked issue [#512] and does not show unrelated implementation or behavior.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: adding op1-replay.js to the Dockerfile.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@houstona houstona changed the title Add op1-replay.js to Dockerfile fix(web): Add op1-replay.js to Dockerfile Sep 29, 2026

This branch has not been deployed

No deployments
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.

Self-hosted missing op1-replay.js

1 participant