Commit graph

71 commits

Author SHA1 Message Date
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
000a84d49b Address comments 2023-01-04 15:33:33 -08:00
David Gardiner
1e75a74d18 Create centralized Codespaces RPC invoker 2023-01-04 14:41:25 -08:00
JP Ungaretti
66c4e7eca8 Use Log and Error instead of Fatal 2022-11-01 21:45:56 +00:00
JP Ungaretti
647ba727f1 Fix name of mock function 2022-11-01 21:10:58 +00:00
JP Ungaretti
a29820ebe3 Use incremental rebuild by default 2022-11-01 21:00:14 +00:00
JP Ungaretti
982aa5ba82 Rename RPC command to RebuildContainer 2022-10-10 21:01:29 +00:00
JP Ungaretti
6704f38ffc Verify that RPC was called 2022-10-09 01:05:52 +00:00
JP Ungaretti
b373fbbe44 Remove else block 2022-10-09 01:00:14 +00:00
JP Ungaretti
30fcddeccb Use nil instead of []string{} 2022-10-09 00:59:54 +00:00
JP Ungaretti
d05cdf5ff3 Tidy up comments and errors 2022-10-08 06:30:42 +00:00
JP Ungaretti
da91216c31 Add new Rebuild function 2022-10-08 00:04:45 +00:00
Mislav Marohnić
a6636994bf
Disable flakey ports update visibility tests (#6203) 2022-09-06 15:31:36 +00:00
casswedson
00bc550dc6 chore: typo hunting ft. codespell 2022-07-09 21:41:09 -05:00
Caleb Brose
83153fe9e5 Cleanups from PR comments 2022-06-14 14:33:41 +00:00
Caleb Brose
b5580f9503 Refactor inferfaces from PR comments 2022-06-13 19:04:29 +00:00
cmbrose
eebef06c67 Merge main and use func options again 2022-06-07 12:27:29 -05:00
cmbrose
9095556372 Merge remote-tracking branch 'upstream/trunk' into jungaretti/no-ssh-keys 2022-06-07 12:07:03 -05:00
Greggory Rothmeier
f15a8ca335
Extract LiveshareSession interface (#5725)
This will make it possible to inject a mock liveshare session for testing
2022-06-06 15:52:52 +02:00
cmbrose
f67ca53c07 Refactor ssh_keys to a more common location 2022-06-03 13:39:52 -05:00
JP Ungaretti
a1629c70c0 Generate codespaces key 2022-05-31 17:19:16 -07:00
cmbrose
ac630880c6 Refactor to WithOptions 2022-05-31 15:52:16 -05:00
JP Ungaretti
76090a2ea7 Add key to RPC call 2022-05-26 21:45:20 +00:00
JP Ungaretti
f21faca03e Resolve feedback 2022-04-21 14:56:55 -07:00
JP Ungaretti
e8e9b58670 Clean up errors 2022-04-14 16:12:44 -05:00
JP Ungaretti
eaf8f84baf Merge branch 'trunk' into add-cs-jupyter 2022-04-14 15:27:40 -05:00
JP Ungaretti
33a1b95dbf Fix name of RPC service 2022-04-14 14:55:29 -05:00
Jose Garcia
b5a7a36ece Document why we have a loop retrying 2022-03-21 12:11:00 -04:00
Jose Garcia
cd6176d911 Rename to tries and clean up loop condition 2022-03-21 11:42:32 -04:00
Jose Garcia
74c8b2217e Increment retries 2022-03-21 11:36:12 -04:00
Jose Garcia
107ea6c440 Only sleep if conn is nil 2022-03-21 11:09:52 -04:00
Bernardo
c70e2a345e allow 2 go routines to send 2022-03-16 20:34:51 +00:00
Bernardo
7d07249150 review suggestions 2022-03-15 18:22:32 +00:00
Bernardo
06f1f6eb52 add comments 2022-03-15 05:59:18 +00:00
Bernardo
2163c2312a review suggestions 2022-03-15 05:50:18 +00:00
Jose Garcia
bc80675b6f Remove unused types 2022-03-14 10:34:52 -04:00
Jose Garcia
ed376f3691 Pass conn to handlers instead of obj stream 2022-03-14 10:29:31 -04:00
Bernardo
ca7e2d386d review suggestion: non-blocking send 2022-03-11 23:34:58 +00:00
Bernardo
a03e9d3c95 review suggestions 2022-03-11 22:53:01 +00:00
Bernardo
9b1a6607ce review suggestion: deregister handle after receiving notification 2022-03-07 22:00:16 +00:00
Bernardo
9616706984 review suggestion 2022-03-04 22:30:50 +00:00
JP Ungaretti
3582090fb8 Fix RPC call 2022-03-03 01:21:35 +00:00
Bernardo
383a711902 fix linter error 2022-03-02 17:59:46 +00:00
Bernardo
347e7dc67b delete unneeded comment 2022-03-02 01:22:05 +00:00
JP Ungaretti
9e3b955163 Add cs jupyter 2022-03-01 22:38:35 +00:00
Jose Garcia
35638cb82f Update tests for serverSharing 2022-02-28 08:22:09 -05:00
Jose Garcia
2328ccb881 Abstract port notification logic into liveshare 2022-02-28 07:56:37 -05:00
Jose Garcia
3847d965da Refactor port update data into liveshare 2022-02-25 08:09:12 -05:00