Skip to content

feat: adds context to transaction. #2644

feat: adds context to transaction.

feat: adds context to transaction. #2644

Triggered via pull request January 24, 2024 20:38
Status Failure
Total duration 57s
Artifacts

regression.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

32 errors
test (1.19.x, ubuntu-latest): config_test.go#L72
cannot use c (variable of type func(_ types.MatchedRule)) as type func(ctx context.Context, rule types.MatchedRule) in argument to NewWAFConfig().WithRequestBodyAccess().WithResponseBodyAccess().WithErrorCallback
test (1.19.x, ubuntu-latest): experimental/plugins/auditlog_formatter_test.go#L47
w.NewTransactionWithID undefined (type coraza.WAF has no field or method NewTransactionWithID)
test (1.19.x, ubuntu-latest): experimental/plugins/auditlog_writer_test.go#L68
w.NewTransactionWithID undefined (type coraza.WAF has no field or method NewTransactionWithID)
test (1.19.x, ubuntu-latest): http/middleware_test.go#L165
not enough arguments in call to waf.NewTransaction
test (1.19.x, ubuntu-latest): http/middleware_test.go#L345
cannot use errLogger(t) (value of type func(rule types.MatchedRule)) as type func(ctx context.Context, rule types.MatchedRule) in argument to coraza.NewWAFConfig().WithDirectives(`
test (1.19.x, ubuntu-latest): http/middleware_test.go#L396
cannot use errLogger(t) (value of type func(rule types.MatchedRule)) as type func(ctx context.Context, rule types.MatchedRule) in argument to coraza.NewWAFConfig().WithDirectives(`
test (1.19.x, ubuntu-latest): internal/actions/ctl_test.go#L348
not enough arguments in call to waf.NewTransaction
test (1.19.x, ubuntu-latest): internal/actions/setvar_test.go#L115
not enough arguments in call to waf.NewTransaction
test (1.19.x, ubuntu-latest): internal/corazawaf/rule_test.go#L30
not enough arguments in call to NewWAF().NewTransaction
test (1.19.x, ubuntu-latest): internal/corazawaf/rule_test.go#L53
not enough arguments in call to NewWAF().NewTransaction
test (1.21.x, ubuntu-latest)
The job was canceled because "_1_19_x_ubuntu-latest" failed.
test (1.21.x, ubuntu-latest): config_test.go#L72
cannot use c (variable of type func(_ types.MatchedRule)) as func(ctx context.Context, rule types.MatchedRule) value in argument to NewWAFConfig().WithRequestBodyAccess().WithResponseBodyAccess().WithErrorCallback
test (1.21.x, ubuntu-latest): experimental/plugins/auditlog_formatter_test.go#L47
w.NewTransactionWithID undefined (type coraza.WAF has no field or method NewTransactionWithID)
test (1.21.x, ubuntu-latest): experimental/plugins/auditlog_writer_test.go#L68
w.NewTransactionWithID undefined (type coraza.WAF has no field or method NewTransactionWithID)
test (1.21.x, ubuntu-latest): http/middleware_test.go#L165
not enough arguments in call to waf.NewTransaction
test (1.21.x, ubuntu-latest): http/middleware_test.go#L345
cannot use errLogger(t) (value of type func(rule types.MatchedRule)) as func(ctx context.Context, rule types.MatchedRule) value in argument to coraza.NewWAFConfig().WithDirectives(`
test (1.21.x, ubuntu-latest): http/middleware_test.go#L396
cannot use errLogger(t) (value of type func(rule types.MatchedRule)) as func(ctx context.Context, rule types.MatchedRule) value in argument to coraza.NewWAFConfig().WithDirectives(`
test (1.21.x, ubuntu-latest): internal/actions/ctl_test.go#L348
not enough arguments in call to waf.NewTransaction
test (1.21.x, ubuntu-latest): internal/actions/setvar_test.go#L115
not enough arguments in call to waf.NewTransaction
test (1.21.x, ubuntu-latest): internal/corazawaf/rule_test.go#L30
not enough arguments in call to NewWAF().NewTransaction
test (1.21.x, ubuntu-latest): internal/corazawaf/rule_test.go#L53
not enough arguments in call to NewWAF().NewTransaction
test (1.20.x, ubuntu-latest)
The job was canceled because "_1_19_x_ubuntu-latest" failed.
test (1.20.x, ubuntu-latest): config_test.go#L72
cannot use c (variable of type func(_ types.MatchedRule)) as func(ctx context.Context, rule types.MatchedRule) value in argument to NewWAFConfig().WithRequestBodyAccess().WithResponseBodyAccess().WithErrorCallback
test (1.20.x, ubuntu-latest): experimental/plugins/auditlog_formatter_test.go#L47
w.NewTransactionWithID undefined (type coraza.WAF has no field or method NewTransactionWithID)
test (1.20.x, ubuntu-latest): experimental/plugins/auditlog_writer_test.go#L68
w.NewTransactionWithID undefined (type coraza.WAF has no field or method NewTransactionWithID)
test (1.20.x, ubuntu-latest): http/middleware_test.go#L165
not enough arguments in call to waf.NewTransaction
test (1.20.x, ubuntu-latest): http/middleware_test.go#L345
cannot use errLogger(t) (value of type func(rule types.MatchedRule)) as func(ctx context.Context, rule types.MatchedRule) value in argument to coraza.NewWAFConfig().WithDirectives(`
test (1.20.x, ubuntu-latest): http/middleware_test.go#L396
cannot use errLogger(t) (value of type func(rule types.MatchedRule)) as func(ctx context.Context, rule types.MatchedRule) value in argument to coraza.NewWAFConfig().WithDirectives(`
test (1.20.x, ubuntu-latest): internal/actions/ctl_test.go#L348
not enough arguments in call to waf.NewTransaction
test (1.20.x, ubuntu-latest): internal/actions/setvar_test.go#L115
not enough arguments in call to waf.NewTransaction
test (1.20.x, ubuntu-latest): internal/corazawaf/rule_test.go#L30
not enough arguments in call to NewWAF().NewTransaction
test (1.20.x, ubuntu-latest): internal/corazawaf/rule_test.go#L53
not enough arguments in call to NewWAF().NewTransaction