Borg/pkg
google-labs-jules[bot] 47286e2714 feat: Implement Go examples and refactor matrix execution
- Implements all placeholder Go examples in the `examples` directory.
- Corrects the `run_matrix_programmatically` example to use the `borg` package.
- Refactors the code to centralize the matrix execution logic in the `matrix` package.
- Updates the documentation to include a new "Programmatic Usage" section that describes all of the Go examples.
- Updates the "Terminal Isolation Matrix" section to remove manual 'runc' instructions, emphasizing that 'borg run' handles this process to maintain security and isolation.
- Adds missing examples for 'collect github repos', 'collect github release', and 'compile' commands to the documentation.
- Makes `pkg/matrix.Run` testable by exposing `exec.Command` as a public variable.
- Adds tests for the `matrix` package that mock the `runc` command.
- Updates the `cmd` package tests to mock `matrix.ExecCommand` instead of the old `cmd.execCommand`.
2025-11-14 11:19:48 +00:00
..
compress feat: Add _Good, _Bad, and _Ugly tests 2025-11-14 10:36:35 +00:00
datanode feat: Add _Good, _Bad, and _Ugly tests 2025-11-14 10:36:35 +00:00
github feat: Add _Good, _Bad, and _Ugly tests 2025-11-14 10:36:35 +00:00
logger feat: Improve test coverage and refactor for testability 2025-11-03 18:25:04 +00:00
matrix feat: Implement Go examples and refactor matrix execution 2025-11-14 11:19:48 +00:00
mocks feat: Improve test coverage and refactor for testability 2025-11-03 16:31:26 +00:00
pwa feat: Add _Good, _Bad, and _Ugly tests 2025-11-14 10:36:35 +00:00
tarfs feat: Improve test coverage and refactor for testability 2025-11-03 18:25:04 +00:00
ui feat: Improve test coverage and refactor for testability 2025-11-03 18:25:04 +00:00
vcs feat: Add _Good, _Bad, and _Ugly tests 2025-11-14 10:36:35 +00:00
website feat: Add _Good, _Bad, and _Ugly tests 2025-11-14 10:36:35 +00:00