Skip to content

chore: Carbide on macOS maintenance to operate with local carbide-rest#449

Open
pbreton wants to merge 9 commits intoNVIDIA:mainfrom
pbreton:chore/carbide-on-mac
Open

chore: Carbide on macOS maintenance to operate with local carbide-rest#449
pbreton wants to merge 9 commits intoNVIDIA:mainfrom
pbreton:chore/carbide-on-mac

Conversation

@pbreton
Copy link
Contributor

@pbreton pbreton commented Mar 5, 2026

Description

Add a script to start Carbide API on macOS with dependencies.
Update certs to allow access to from Carbide REST running locally in kind.
Update macOS config to allow gRPC+HTTPS (TLS) to allow local access to Web UI.

Type of Change

  • Add - New feature or capability
  • Change - Changes in existing functionality
  • Fix - Bug fixes
  • Remove - Removed features or deprecated functionality
  • Internal - Internal changes (refactoring, tests, docs, etc.)

Breaking Changes: NO.

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No testing required (docs, internal refactor, etc.)

@pbreton pbreton requested a review from a team as a code owner March 5, 2026 02:15
Copilot AI review requested due to automatic review settings March 5, 2026 02:15
@copy-pr-bot
Copy link

copy-pr-bot bot commented Mar 5, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

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 improves macOS local development for carbide-api, aiming to run the API locally while allowing access from a locally running carbide-rest (e.g., in kind) via TLS/gRPC.

Changes:

  • Adds a macOS helper script to start Vault + Postgres and run carbide-api.
  • Switches the macOS carbide-api config to listen_mode = "tls" and updates TLS cert paths.
  • Updates localhost certificates and cert generation to include host.docker.internal (and Docker Desktop host IP) in SANs.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
dev/mac-local-dev/run-carbide-api.sh New macOS bootstrap script for Vault/Postgres + migrations + running carbide-api.
dev/mac-local-dev/carbide-api-config.toml Enables TLS listen mode and switches TLS file paths (now relative).
dev/certs/localhost/gen-certs.sh Adds SAN entries for host.docker.internal and 192.168.65.254 for macOS Docker Desktop connectivity.
dev/certs/localhost/localhost.crt Updates server cert to match the new SAN set.
dev/certs/localhost/client.crt Updates client cert to match the new SAN set.
dev/certs/localhost/ca.crt Updates CA certificate used for local cert chain.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

pbreton and others added 9 commits March 10, 2026 10:25
Signed-off-by: Patrice Breton <pbreton@nvidia.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: pbreton <pbreton@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: pbreton <pbreton@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: pbreton <pbreton@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: pbreton <pbreton@users.noreply.github.com>
Signed-off-by: Patrice Breton <pbreton@nvidia.com>
Signed-off-by: Patrice Breton <pbreton@nvidia.com>
Signed-off-by: Patrice Breton <pbreton@nvidia.com>
Signed-off-by: Patrice Breton <pbreton@nvidia.com>
@pbreton pbreton force-pushed the chore/carbide-on-mac branch from 1828ad3 to 663b68a Compare March 10, 2026 17:25
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.

2 participants