-
Notifications
You must be signed in to change notification settings - Fork 1
Feat/twilio devtools #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces comprehensive Twilio DevTools integration for the kernel browser project, adding secure credential management and enhanced development capabilities. The main purpose is to integrate Twilio's Network Traversal Service for TURN credentials and add Chrome DevTools frontend support for better debugging.
- Adds Twilio TURN credential management with dynamic generation and fallback handling
- Integrates enhanced Chrome DevTools frontend with dedicated service configuration
- Implements secure credential storage using Google Secret Manager with automated deployment workflows
Reviewed Changes
Copilot reviewed 29 out of 30 changed files in this pull request and generated 15 comments.
Show a summary per file
| File | Description |
|---|---|
| twilio/*.js | Scripts for Twilio credential generation, validation, and service integration |
| twilio/*.sh | Shell scripts for credential updates, API testing, and Cloud Run integration |
| supervisor/services-cloudrun/*.conf | Service configurations for supervisord in Cloud Run environment |
| service*.yaml | Cloud Run service definitions with and without Secret Manager integration |
| nginx*.conf | Nginx configurations for reverse proxy and DevTools frontend serving |
| Dockerfile.cloudrun | Multi-stage build with DevTools frontend compilation and integration |
| deploy.sh | Enhanced deployment script with Secret Manager setup and credential validation |
| cloudrun-wrapper.sh | Startup wrapper with dynamic credential fetching and service orchestration |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
@codex review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codex Review: Here are some suggestions.
Reply with @codex fix comments to fix any unresolved comments.
About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".
deploy.sh
Outdated
| # Update service file with project ID and image | ||
| cp "$service_file" "${service_file}.tmp" | ||
| sed -i.bak "s/PROJECT_ID/$PROJECT_ID/g" "${service_file}.tmp" | ||
| sed -i.bak "s|us-docker.pkg.dev/func-241017/gcr.io/kernel-browser:latest|$image_name|g" "${service_file}.tmp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we remove func-241017?
| @@ -0,0 +1,10 @@ | |||
| [program:chromium] | |||
| command=/bin/bash -lc 'sleep 3 && DISPLAY=":1" DBUS_SESSION_BUS_ADDRESS="unix:path=/tmp/dbus/session_bus_socket" chromium --remote-debugging-port=9223 --remote-allow-origins=* --user-data-dir=/home/kernel/user-data --password-store=basic --no-first-run --disable-dev-shm-usage --disable-gpu --start-maximized --disable-software-rasterizer --no-sandbox --disable-setuid-sandbox --disable-features=VizDisplayCompositor --custom-devtools-frontend=http://localhost:8001/ https://www.google.com' | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to open https://www.google.com on start up of chromium?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tysonthomas9 ok, fixed both. Running test deploy (will take a while).
No description provided.