Skip to content

Conversation

@olesho
Copy link
Contributor

@olesho olesho commented Sep 8, 2025

No description provided.

@olesho olesho requested a review from tysonthomas9 September 8, 2025 22:22
@olesho olesho changed the title Feat/twilio devtools DRAFT: Feat/twilio devtools Sep 8, 2025
@olesho olesho changed the title DRAFT: Feat/twilio devtools Feat/twilio devtools Sep 8, 2025
@tysonthomas9 tysonthomas9 requested review from Copilot and removed request for tysonthomas9 September 9, 2025 00:01
Copy link

Copilot AI left a 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.

@tysonthomas9
Copy link
Contributor

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a 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"
Copy link
Contributor

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'
Copy link
Contributor

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?

Copy link
Contributor Author

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).

@tysonthomas9 tysonthomas9 merged commit 66272a4 into main Sep 9, 2025
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.

3 participants