Skip to content

Revert "Use Code OSS GitHub client id" #252559

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

Merged
merged 1 commit into from
Jun 27, 2025

Conversation

TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented Jun 26, 2025

Reverts #252426

There's some weird issue with Copilot's https://api.github.com/copilot_internal/user API returns:

{
	"access_type_sku": "copilot_enterprise_seat_multi_quota",
	"analytics_tracking_id": "bc403bb7a21415ccbf0abc7e1b9be4b2",
	"assigned_date": null,
	"can_signup_for_limited": false,
	"chat_enabled": false,
	"copilot_plan": "individual",
	"organization_login_list": [],
	"organization_list": [],
	"quota_reset_date": "2025-07-01",
	"quota_snapshots": {
		"chat": {
			"entitlement": 1000,
			"overage_count": 0,
			"overage_permitted": true,
			"percent_remaining": 100.0,
			"quota_id": "chat",
			"quota_remaining": 0.0,
			"remaining": 1000,
			"unlimited": true
		},
		"completions": {
			"entitlement": 1000,
			"overage_count": 0,
			"overage_permitted": true,
			"percent_remaining": 100.0,
			"quota_id": "completions",
			"quota_remaining": 0.0,
			"remaining": 1000,
			"unlimited": true
		},
		"premium_interactions": {
			"entitlement": 1000,
			"overage_count": 0,
			"overage_permitted": true,
			"percent_remaining": 100.0,
			"quota_id": "premium_interactions",
			"quota_remaining": 0.0,
			"remaining": 1000,
			"unlimited": true
		}
	}
}

Instead of:

{
	"access_type_sku": "copilot_enterprise_seat_multi_quota",
	"analytics_tracking_id": "bc403bb7a21415ccbf0abc7e1b9be4b2",
	"assigned_date": "2024-01-06T14:10:35-08:00",
	"can_signup_for_limited": false,
	"chat_enabled": true,
	"copilot_plan": "enterprise",
	"organization_login_list": [
		"github",
		"microsoft"
	],
	"organization_list": [
		{
			"login": "github",
			"name": "GitHub"
		},
		{
			"login": "microsoft",
			"name": "Microsoft"
		}
	],
	"quota_reset_date": "2025-07-01",
	"quota_snapshots": {
		"chat": {
			"entitlement": 1000,
			"overage_count": 0,
			"overage_permitted": true,
			"percent_remaining": 100.0,
			"quota_id": "chat",
			"quota_remaining": 0.0,
			"remaining": 1000,
			"unlimited": true
		},
		"completions": {
			"entitlement": 1000,
			"overage_count": 0,
			"overage_permitted": true,
			"percent_remaining": 100.0,
			"quota_id": "completions",
			"quota_remaining": 0.0,
			"remaining": 1000,
			"unlimited": true
		},
		"premium_interactions": {
			"entitlement": 1000,
			"overage_count": 0,
			"overage_permitted": true,
			"percent_remaining": 100.0,
			"quota_id": "premium_interactions",
			"quota_remaining": 0.0,
			"remaining": 1000,
			"unlimited": true
		}
	}
}

The difference:

  • chat_enabled
  • organization_list & organization_login_list
  • copilot_plan
  • assigned_date

Why? Not sure. GitHub will have to investigate. We can't move back to this until this is resolved.

@TylerLeonhardt
Copy link
Member Author

@aeschli and @rzhao271 hit this. Maybe more on the team.

@TylerLeonhardt TylerLeonhardt merged commit b1e40f2 into main Jun 27, 2025
8 checks passed
@TylerLeonhardt TylerLeonhardt deleted the revert-252426-tyler/technical-lobster branch June 27, 2025 01:04
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