Skip to content

feat: Add support for remaining Codespaces APIs#3886

Merged
gmlewis merged 7 commits into
google:masterfrom
Not-Dhananjay-Mishra:issue-2362-part1
Dec 19, 2025
Merged

feat: Add support for remaining Codespaces APIs#3886
gmlewis merged 7 commits into
google:masterfrom
Not-Dhananjay-Mishra:issue-2362-part1

Conversation

@Not-Dhananjay-Mishra

Copy link
Copy Markdown
Contributor

Relates: #2362
This PR adds support for remaining endpoint of Codespaces

  • GET /repos/{owner}/{repo}/codespaces/devcontainers
  • GET /repos/{owner}/{repo}/codespaces/new
  • GET /repos/{owner}/{repo}/codespaces/permissions_check
  • POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces
  • POST /user/codespaces
  • GET /user/codespaces/{codespace_name}
  • PATCH /user/codespaces/{codespace_name}
  • POST /user/codespaces/{codespace_name}/exports
  • GET /user/codespaces/{codespace_name}/exports/{export_id}
  • POST /user/codespaces/{codespace_name}/publish

@codecov

codecov Bot commented Dec 17, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.54%. Comparing base (8ca48dd) to head (1b244af).
⚠️ Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3886      +/-   ##
==========================================
+ Coverage   92.48%   92.54%   +0.05%     
==========================================
  Files         200      200              
  Lines       14564    14679     +115     
==========================================
+ Hits        13469    13584     +115     
  Misses        895      895              
  Partials      200      200              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gmlewis gmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @Not-Dhananjay-Mishra!

Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Dec 17, 2025
@Not-Dhananjay-Mishra

Copy link
Copy Markdown
Contributor Author

@gmlewis, Thanks for the suggestions! Fixed 👍

@gmlewis gmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @Not-Dhananjay-Mishra!
One minor tweak, please, then I think we should be ready for a second LGTM+Approval from any other contributor to this repo before merging.

cc: @stevehipwell - @alexandear - @zyfy29

Comment thread github/codespaces.go Outdated

@alexandear alexandear left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some suggestions. Feel free to ask questions.

Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
Comment thread github/codespaces.go Outdated
@Not-Dhananjay-Mishra

Copy link
Copy Markdown
Contributor Author

@alexandear Thanks for suggestions! Done the changes

@gmlewis gmlewis removed the NeedsReview PR is awaiting a review before merging. label Dec 19, 2025
@gmlewis

gmlewis commented Dec 19, 2025

Copy link
Copy Markdown
Collaborator

Thank you, @alexandear!
Merging.

@gmlewis gmlewis merged commit 2c83bd6 into google:master Dec 19, 2025
8 checks passed
@Not-Dhananjay-Mishra Not-Dhananjay-Mishra deleted the issue-2362-part1 branch February 5, 2026 15:30
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