Couple enterprise environment papercuts

Đang mở
#201 3 bình luận 4 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
macos, swift

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện ba hành vi đã được báo cáo bằng Copilot for Xcode 0.31.0 trên Xcode 16.2 và macOS 15.2, được cài đặt với HOMEBREW_CASK_OPTS=--appdir=~/Applications. Kiểm tra xem việc cài đặt trong phạm vi người dùng có ảnh hưởng đến độ tin cậy của CA nội bộ, các quyền Accessibility và bảng quyền Xcode Source Editor trống hay không; được coi là hoàn tất khi mỗi hành vi đều có nguyên nhân đã được xác nhận và có bản sửa lỗi cụ thể hoặc giới hạn được ghi nhận.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Describe the bug
Had a couple issues that I am trying to work around in documentation, but would be better handled in app

  1. Lack of keychain support for internal CA breaking TLS
    • We have a transparent egress, but TLS will require custom CA support. So while I can work around this via Advanced and hard-coding a proxy and disabling strict SSL ideally if the connection used Keychain and/or the SDK HTTP requests than the CA trust should be covered by our existing keychain management.
  2. Accessibility Permission missing
    • Installed using brew to ~/Applications and the Accessibility item was not created
    • Was able to add it manually, but couple extra steps needed as it defaults to /Applications.
    • Guess is this is context specific and if I installed using admin consent to /App the Accessibility item would have been added
  3. Blank entry in Extension Permission
    • Xcode Source Editor was added to Extensions, but when using the info icon the panel was empty. Basically to blank sections where the XSE graphic and the enable/disable for "GitHub Copilot for Xcode" should have been. Sorry didn't grab a screenshot of that one.
    • Restarted Xcode, but didn't reboot the mac or logout/login
    • Next day the element was fully populated (machine lock, but no reboot or new session), but not sure what fixed it.

Versions

  • Copilot for Xcode: 0.31.0
  • Xcode: 16.2
  • macOS: 15.2

Steps to reproduce

  1. Install via brew using HOMEBREW_CASK_OPTS=--appdir=~/Applications
  2. Launch and try to configure as normal

Additional context
My bet is it's my use of ~/App vs /App to avoid elevated permissions impacting the two Permissions, but be great to get a confirmation on if that is the case. If User scoped is an expected install context (guessing not) and if it can be an option. If it shouldn't be than checking for Admin etc should probably be baked in. Can't see any reason ~/App shouldn't work just yet, but may be missing it.

Ngôn ngữ chính
Swift
Star
6.3k
Fork
2k
Merge trung bình
3 ngày 21 giờ
Pull request đã merge (30 ngày)
2

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/CopilotForXcode

Tất cả issue của github/CopilotForXcode

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.