mattermost/server/public/plugin
Nick Misasi 5d9e5b309d test(05-03): add Python plugin startup failure-mode tests
Add tests for:
- Handshake timeout: fake interpreter blocks forever without printing
  handshake, verifies supervisor times out within StartTimeout
- Invalid handshake: fake interpreter prints netrpc protocol instead of
  grpc, verifies protocol mismatch error
- Malformed handshake: fake interpreter prints incomplete handshake line,
  verifies parsing error

These tests use compiled Go binaries as fake "Python interpreters" to
validate supervisor error handling without requiring real Python.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 09:53:37 -05:00
..
checker [MM-64654] Migrate to modern Go features (#31820) 2025-07-18 12:54:51 +02:00
interface_generator [MM-64654] Migrate to modern Go features (#31820) 2025-07-18 12:54:51 +02:00
plugintest Change properties search signature to support multiple TargetIDs (#33873) 2025-09-11 22:56:01 +00:00
utils [MM-63345] Address Go v1.23 incompatibility issues with plugins (#30386) 2025-03-11 17:44:42 +00:00
.mockery.yaml Migrate mockery to packages feature (#29013) 2024-11-07 12:48:11 +01:00
api.go Change properties search signature to support multiple TargetIDs (#33873) 2025-09-11 22:56:01 +00:00
api_timer_layer_generated.go Change properties search signature to support multiple TargetIDs (#33873) 2025-09-11 22:56:01 +00:00
audit.go [MM-64686] Expose audit logging functionality via plugin API (#31204) 2025-06-25 20:37:32 -04:00
client.go MM-57018: support reattaching plugins (#26421) 2024-04-11 11:10:25 -04:00
client_rpc.go Fix PluginHTTPStream request body closing before read (#34434) 2025-12-01 08:26:33 -08:00
client_rpc_generated.go Change properties search signature to support multiple TargetIDs (#33873) 2025-09-11 22:56:01 +00:00
context.go
db_rpc.go
doc.go
driver.go MM-56402: Introduce a pluginID to track RPC DB connections (#26424) 2024-04-16 18:53:26 +05:30
environment.go test(05-02): add Python plugin integration tests with gRPC health 2026-01-16 14:51:42 -05:00
environment_test.go [MM-55990] Logger improvements for tests (#25467) 2023-11-30 10:47:04 +01:00
example_hello_world_test.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
example_help_test.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
hclog_adapter.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
health_check.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
health_check_test.go MM-57018: support reattaching plugins (#26421) 2024-04-11 11:10:25 -04:00
hijack.go
hooks.go [MM-64840] Add EmailNotificationWillBeSent Plugin Hook (#33421) 2025-08-05 09:09:07 -04:00
hooks_timer_layer_generated.go [MM-64840] Add EmailNotificationWillBeSent Plugin Hook (#33421) 2025-08-05 09:09:07 -04:00
http.go Add http.Flusher support to plugin RPC layer (#34411) 2025-11-10 16:30:09 -05:00
http_test.go Add http.Flusher support to plugin RPC layer (#34411) 2025-11-10 16:30:09 -05:00
io_rpc.go
metrics.go
python_supervisor.go feat(05-01): add Python plugin detection and interpreter discovery 2026-01-16 14:41:02 -05:00
python_supervisor_test.go test(05-03): add Python plugin startup failure-mode tests 2026-01-19 09:53:37 -05:00
stringifier.go
stringifier_test.go
supervisor.go feat(05-02): add Python plugin startup path with gRPC protocol 2026-01-16 14:47:54 -05:00
supervisor_test.go [MM-54132] Use annotated logger for log messages from jobs (#24275) 2023-09-07 08:50:22 +02:00