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
383a711902
fix linter error
2022-03-02 17:59:46 +00:00
Jose Garcia
35638cb82f
Update tests for serverSharing
2022-02-28 08:22:09 -05:00
Marwan Sulaiman
22c5269606
Fix flaky liveshare session test ( #5111 )
...
* Fix flaky liveshare session test
* typo
* PR comments
2022-01-27 11:20:50 -05:00
Marwan Sulaiman
b9bdef2b00
Add org scoped port forwarding + fix test formatting ( #4497 )
...
* Add org scoped port forwarding + fix test formatting
* Redesign port visibility
* Update pkg/cmd/codespace/ports.go
Co-authored-by: Jose Garcia <josebalius@github.com>
* Change sub command to privacy
* Example pr comment
* Fix test mock
* Fix test mock
Co-authored-by: Jose Garcia <josebalius@github.com>
2021-10-13 13:56:03 -04:00
Jose Garcia
5170a2931f
Switch to standard lib log.Logger & support dfile
...
- --debug-file flag can now be used in conjuction with --debug to
specify the debug file path
- Push out logger concerns to callers of liveshare
2021-10-12 15:45:05 -04:00
Jose Garcia
1aefc74378
Add more time between events
2021-10-07 16:48:09 -04:00
Jose Garcia
1ff58a3de7
Update docs, remove needless condition check
2021-10-07 16:39:43 -04:00
Jose Garcia
97cbdca84a
Fix additional race in tests
2021-10-07 15:45:55 -04:00
Jose Garcia
2406f3f09a
Fix races and remove unreachable code
2021-10-07 15:32:07 -04:00
Jose Garcia
8f5d6bb672
Tests for most of the new behavior
...
- Made the heartbeat interval configurable for easier testing
- Moved span to the top of connect to capture the full execution
2021-10-07 15:14:42 -04:00
Jose Garcia
53e4149c91
Update tests
2021-09-30 10:42:03 -04:00
Jose Garcia
f4a5f82312
Move internal/liveshare to pkg/liveshare
2021-09-30 10:34:27 -04:00