Alexander Seiler
218f29f296
Correct some typos
2023-04-21 03:51:31 +02:00
Caleb Brose
09e86d0ebf
Fix gh cs ports requiring sudo for privileged port numbers ( #7326 )
2023-04-19 07:00:44 -05:00
Sam Coe
35a24caed2
Standardize retry mechanism ( #7027 )
2023-03-02 23:06:30 +00:00
Caleb Brose
f669a10cf9
Fix race conditions in invoker_test ( #6905 )
2023-01-25 14:57:21 -06:00
Caleb Brose
e489050715
Merge remote-tracking branch 'origin/trunk' into cmbrose/pf-half-close
2023-01-19 20:39:58 -06:00
Caleb Brose
2b95cbc5a6
Close port forward writer on reader
2023-01-19 20:22:24 -06:00
David Gardiner
73dfb87680
Use gRPC client to notify codespace of activity ( #6870 )
...
* Use gRPC client to notify codespace of activity
* Add test
* Update comment
2023-01-18 16:31:16 -06:00
David Gardiner
ce6b7d8762
Start SSH server with gRPC
2023-01-10 11:59:56 -08:00
David Gardiner
98eaac3e40
Rebuild container using gRPC client
2023-01-09 10:58:47 -08:00
David Gardiner
839378d5cb
Merge pull request #6657 from dmgardiner25/codespaces-rpc-invoker
...
Create centralized Codespaces RPC invoker
2023-01-06 12:58:44 -08:00
David Gardiner
814fcf8c74
Remove unused token field
2023-01-06 09:56:16 -08:00
John Keech
791c7db632
Fix typo in has_uncommitted_changes for codespaces ( #6812 )
...
The REST API for codespaces returns the following schema:
```
"git_status": {
"ahead": 0,
"behind": 0,
"has_unpushed_changes": false,
"has_uncommitted_changes": false,
"ref": "main"
},
```
The CLI was looking for `has_uncommited_changes` in the response instead of `has_uncommitted_changes`, leading to it always reporting a `false` value which could be different than the API response.
2023-01-05 22:02:32 +00:00
David Gardiner
000a84d49b
Address comments
2023-01-04 15:33:33 -08:00
David Gardiner
731ba682f2
Create Invoker object
2023-01-04 14:41:25 -08:00
David Gardiner
faabdc247b
Fix linting error and cleanup error messages
2023-01-04 14:41:25 -08:00
David Gardiner
1e75a74d18
Create centralized Codespaces RPC invoker
2023-01-04 14:41:25 -08:00
Des Preston
4ade907ae8
Allow setting codespace display name during create ( #6739 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-12-19 17:10:34 +01:00
JP Ungaretti
67236841ee
Specify directory for generate.sh
2022-11-04 20:30:41 +00:00
JP Ungaretti
95542a8211
Remove colon from header
2022-11-04 20:28:47 +00:00
JP Ungaretti
c020d602ff
Remove extra generation
2022-11-04 20:14:48 +00:00
JP Ungaretti
7ade90089d
Add docs for gRPC
2022-11-04 20:12:19 +00:00
Cody Taylor
9a80d9c65c
Adds max interval and conditional check on elapsed time
2022-10-31 15:23:54 -05:00
Cody Taylor
893bc25bcc
Adds exponential backoff to ConnectToLiveshare; Fixes #5738
2022-10-31 13:55:33 -05:00
Ashwin Jeyaseelan
a756ffb1e8
Fix Codespace Creation Devcontainer bug ( #6389 )
2022-10-18 11:11:28 +03:00
David Gardiner
21ded3e064
Skip flakey test in Actions
2022-10-12 12:40:38 -07:00
David Gardiner
f80f566ab2
Merge pull request #6358 from dmgardiner25/dmgardiner25/grpc-client
...
Implement gRPC client and `GetRunningServer` method
2022-10-11 10:45:50 -07:00
Jose Garcia
9e13f6ba6b
cleanup connect
2022-10-11 09:14:23 -04:00
Jose Garcia
e11b43f8f6
Fixes for handling the grpc client lifecyle
2022-10-11 08:55:14 -04:00
David Gardiner
f89b1b6a45
Create timeout context in caller
2022-10-10 14:39:12 -07:00
David Gardiner
0f41ccc472
Have cilents call port connection function
2022-10-10 11:56:44 -07:00
David Gardiner
a090b17e38
Ensure port is forwarded and server is shared
2022-10-07 15:37:04 -07:00
JP Ungaretti
4a81e46c1a
Add rebuilding state
2022-10-07 22:05:16 +00:00
David Gardiner
341fc6c3f7
Mock session/channel for grpc tests
2022-10-03 20:29:31 -07:00
David Gardiner
f947020fa5
Add grpc mock server + tests
2022-09-30 11:55:57 -07:00
David Gardiner
d02ff315e4
Fix linting errors
2022-09-29 10:27:17 -07:00
David Gardiner
766e6a2314
Use existing context
2022-09-29 09:58:44 -07:00
David Gardiner
3f34d6d95e
Make suggested gRPC client changes
2022-09-28 10:39:26 -07:00
David Gardiner
93f033fe87
Address comments
2022-09-27 16:01:10 -07:00
Caleb Brose
0c00ca911e
Clean up API interface
2022-09-16 22:25:11 +00:00
Sam Coe
e7102f9d84
Migrate to go-gh text package ( #6236 )
2022-09-14 09:23:55 +04:00
Caleb Brose
cb914c1873
Cleanup extra param, array declaration
2022-08-09 10:16:24 -05:00
Caleb Brose
5212fc8d5b
Error handling
2022-08-03 15:26:00 +00:00
Caleb Brose
c9290cbc2c
Merge remote-tracking branch 'origin/trunk' into cmbrose/no-auto-key-if-uploaded
2022-07-22 11:08:21 -05:00
JP Ungaretti
ec9e50ff93
Always set PasswordAuthentication option
2022-07-19 16:55:14 -07:00
Caleb Brose
f313953642
Initial pass
2022-07-16 20:38:23 +00:00
Mark Phelps
6014b31d03
Fix case where codespace created while in provisioning state causes panic
2022-07-01 13:08:44 -04:00
Mark Phelps
38ea62afba
Codespaces list by repo ( #5854 )
...
* WIP
* Allow to list codespaces by repo
* Tests
* Cleanup
* respond to PR feedback
* Address review comments
2022-06-28 13:34:04 +00:00
Mislav Marohnić
6e3689d58b
Apply UI polish around codespaces org-admin commands ( #5843 )
2022-06-22 20:35:56 +02:00
Ashwin Jeyaseelan
47f5abdb6f
8gitbrix/add delete org codespace ( #5827 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-06-22 18:28:09 +02:00
Greggory Rothmeier
2294f49d07
Add support for org admins to stop a members codespace ( #5812 )
2022-06-22 13:56:22 +02:00