Skip to content

feat: add GitHub Copilot provider - #264

Open
mizrael wants to merge 4 commits into
wandb:mainfrom
mizrael:mizrael-openui-copilot-provider
Open

feat: add GitHub Copilot provider#264
mizrael wants to merge 4 commits into
wandb:mainfrom
mizrael:mizrael-openui-copilot-provider

Conversation

@mizrael

@mizrael mizrael commented Jul 16, 2026

Copy link
Copy Markdown

Summary

  • add GitHub Copilot as a model provider with streaming generation and model discovery
  • support encrypted OAuth credentials and a trusted-local GitHub device login flow
  • add Copilot settings, authentication status, runtime packaging, documentation, and regression coverage
  • harden fork CI, non-root container startup, and Playwright image selection

Security

  • OAuth tokens are encrypted at rest; device credentials remain in the operating-system credential store
  • device authentication is loopback-only, bare-process-only, and rejected in containers
  • Copilot subprocesses receive a minimal allowlisted environment
  • no credentials, tokens, prompts, screenshots, or private planning artifacts are included

Validation

  • Backend tests pass across Python 3.11, 3.12, and 3.13
  • Build, multi-architecture image packaging, non-root runtime check, and Playwright tests pass in GitHub Actions

mizrael and others added 3 commits July 15, 2026 07:26
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 37977ce4-d276-42be-a2a5-8255fbce3e13
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 37977ce4-d276-42be-a2a5-8255fbce3e13
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 37977ce4-d276-42be-a2a5-8255fbce3e13
@socket-security

socket-security Bot commented Jul 16, 2026

Copy link
Copy Markdown

@socket-security

socket-security Bot commented Jul 16, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: pypi orjson is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: backend/uv.lockpypi/orjson@3.11.9

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/orjson@3.11.9. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
Install-time scripts: pypi granian

Install script: Package overview

Source: undefined

From: backend/uv.lockpypi/granian@2.7.9

ℹ Read more on: This package | This alert | What is an install script?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/granian@2.7.9. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
Install-time scripts: pypi polars-runtime-32

Install script: Package overview

Source: undefined

From: backend/uv.lockpypi/polars-runtime-32@1.42.1

ℹ Read more on: This package | This alert | What is an install script?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/polars-runtime-32@1.42.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 37977ce4-d276-42be-a2a5-8255fbce3e13
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.

1 participant