testMuxWithConfig is like testMuxWithLogger but enables commit-resolution enhancements via NewWithConfig, so probe/prewarm behavior can be exercised.
(p provider, log *slog.Logger, cfg CommitResolution)
| 133 | // testMuxWithConfig is like testMuxWithLogger but enables commit-resolution |
| 134 | // enhancements via NewWithConfig, so probe/prewarm behavior can be exercised. |
| 135 | func testMuxWithConfig(p provider, log *slog.Logger, cfg CommitResolution) *http.ServeMux { |
| 136 | return NewWithConfig(log, p, "buf.example.com", cfg) |
| 137 | } |
| 138 | |
| 139 | // buildGetCommitsRequest builds a protobuf-encoded GetCommits request |
| 140 | // with one resource ref for the given owner/module. |
no test coverage detected