Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions cmd/wfctl/plugin_conformance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,11 @@ func writeTarGzFromDir(t *testing.T, srcDir, dest string) {
t.Fatalf("create archive: %v", err)
}
defer f.Close()
gw := gzip.NewWriter(f)
// Fixture compression need not spend the full race-test budget on release binaries.
gw, err := gzip.NewWriterLevel(f, gzip.BestSpeed)
if err != nil {
t.Fatalf("create fixture gzip writer: %v", err)
}
defer gw.Close()
tw := tar.NewWriter(gw)
defer tw.Close()
Expand Down Expand Up @@ -474,7 +478,11 @@ func writeTarGzFiles(t *testing.T, dest string, files map[string]string) {
t.Fatalf("create archive: %v", err)
}
defer f.Close()
gw := gzip.NewWriter(f)
// Preserve real gzip archives while avoiding expensive default-level fixture compression.
gw, err := gzip.NewWriterLevel(f, gzip.BestSpeed)
if err != nil {
t.Fatalf("create fixture gzip writer: %v", err)
}
defer gw.Close()
tw := tar.NewWriter(gw)
defer tw.Close()
Expand Down
2 changes: 1 addition & 1 deletion example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
github.com/GoCodeAlone/go-plugin v1.7.0 // indirect
github.com/GoCodeAlone/modular/modules/auth v1.19.0 // indirect
github.com/GoCodeAlone/modular/modules/cache v1.19.0 // indirect
github.com/GoCodeAlone/modular/modules/eventbus/v2 v2.10.0 // indirect
github.com/GoCodeAlone/modular/modules/eventbus/v2 v2.12.0 // indirect
github.com/GoCodeAlone/modular/modules/jsonschema v1.17.0 // indirect
github.com/GoCodeAlone/modular/modules/reverseproxy/v2 v2.10.0 // indirect
github.com/GoCodeAlone/yaegi v0.17.2 // indirect
Expand Down
4 changes: 2 additions & 2 deletions example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ github.com/GoCodeAlone/modular/modules/auth v1.19.0 h1:ughD47BqEAhg7+3trucwcs5Kz
github.com/GoCodeAlone/modular/modules/auth v1.19.0/go.mod h1:pGPazN7Irlza8kUxE7WsXri44PhURKYBGym1tlBUl+k=
github.com/GoCodeAlone/modular/modules/cache v1.19.0 h1:s+3aFI7wncV0NhbPrJheFyVYr1WXwLJXOvSAP9RRaYU=
github.com/GoCodeAlone/modular/modules/cache v1.19.0/go.mod h1:bj/yS2FPdEDb8Vdmd5hjs5W4hchzMAC57eoIB3YY9S4=
github.com/GoCodeAlone/modular/modules/eventbus/v2 v2.10.0 h1:2ljVafd/1LYchF47WrnA1+ji8mcmVXMJ4F5qDrhZZi4=
github.com/GoCodeAlone/modular/modules/eventbus/v2 v2.10.0/go.mod h1:AKLcRGsw5gp2Q1zhuK0TBnMJOsaRe3aJ2OKnLFE2O5w=
github.com/GoCodeAlone/modular/modules/eventbus/v2 v2.12.0 h1:58xUt5rMMdSHZ7XWOBc7rf8kajrdcKPO4nVm67U8+iE=
github.com/GoCodeAlone/modular/modules/eventbus/v2 v2.12.0/go.mod h1:tH+3zxfUCKRofm6BcGDSCX5izdb+ox7nP8FYAm4zwvc=
github.com/GoCodeAlone/modular/modules/jsonschema v1.17.0 h1:zoWioqUvuNNDfnjHA1sHixdlHfBreJdGhnnEBtxkzI8=
github.com/GoCodeAlone/modular/modules/jsonschema v1.17.0/go.mod h1:GDU/jsD6AddmXKedj0wZwieUIaQsTBSGMzuj+XHXMrw=
github.com/GoCodeAlone/modular/modules/reverseproxy/v2 v2.10.0 h1:+2M/ecyCxDiXfJM4ibcERuu/BBeIbLTQNcVgRsllR64=
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/GoCodeAlone/modular v1.13.6
github.com/GoCodeAlone/modular/modules/auth v1.19.0
github.com/GoCodeAlone/modular/modules/cache v1.19.0
github.com/GoCodeAlone/modular/modules/eventbus/v2 v2.10.0
github.com/GoCodeAlone/modular/modules/eventbus/v2 v2.12.0
github.com/GoCodeAlone/modular/modules/jsonschema v1.17.0
github.com/GoCodeAlone/modular/modules/reverseproxy/v2 v2.10.0
github.com/GoCodeAlone/workflow-plugin-control-plane v0.1.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ github.com/GoCodeAlone/modular/modules/auth v1.19.0 h1:ughD47BqEAhg7+3trucwcs5Kz
github.com/GoCodeAlone/modular/modules/auth v1.19.0/go.mod h1:pGPazN7Irlza8kUxE7WsXri44PhURKYBGym1tlBUl+k=
github.com/GoCodeAlone/modular/modules/cache v1.19.0 h1:s+3aFI7wncV0NhbPrJheFyVYr1WXwLJXOvSAP9RRaYU=
github.com/GoCodeAlone/modular/modules/cache v1.19.0/go.mod h1:bj/yS2FPdEDb8Vdmd5hjs5W4hchzMAC57eoIB3YY9S4=
github.com/GoCodeAlone/modular/modules/eventbus/v2 v2.10.0 h1:2ljVafd/1LYchF47WrnA1+ji8mcmVXMJ4F5qDrhZZi4=
github.com/GoCodeAlone/modular/modules/eventbus/v2 v2.10.0/go.mod h1:AKLcRGsw5gp2Q1zhuK0TBnMJOsaRe3aJ2OKnLFE2O5w=
github.com/GoCodeAlone/modular/modules/eventbus/v2 v2.12.0 h1:58xUt5rMMdSHZ7XWOBc7rf8kajrdcKPO4nVm67U8+iE=
github.com/GoCodeAlone/modular/modules/eventbus/v2 v2.12.0/go.mod h1:tH+3zxfUCKRofm6BcGDSCX5izdb+ox7nP8FYAm4zwvc=
github.com/GoCodeAlone/modular/modules/jsonschema v1.17.0 h1:zoWioqUvuNNDfnjHA1sHixdlHfBreJdGhnnEBtxkzI8=
github.com/GoCodeAlone/modular/modules/jsonschema v1.17.0/go.mod h1:GDU/jsD6AddmXKedj0wZwieUIaQsTBSGMzuj+XHXMrw=
github.com/GoCodeAlone/modular/modules/reverseproxy/v2 v2.10.0 h1:+2M/ecyCxDiXfJM4ibcERuu/BBeIbLTQNcVgRsllR64=
Expand Down
Loading