Skip to content

Commit 99293f1

Browse files
update test
Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com>
1 parent d7c844f commit 99293f1

4 files changed

Lines changed: 19 additions & 25 deletions

File tree

common/go.mod

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.25.9
44

55
require (
66
entgo.io/ent v0.14.6
7-
github.com/go-webauthn/webauthn v0.16.4
7+
github.com/go-webauthn/webauthn v0.17.0
88
github.com/google/uuid v1.6.0
99
github.com/riverqueue/river v0.32.0
1010
github.com/robfig/cron/v3 v3.0.1
@@ -13,7 +13,7 @@ require (
1313
github.com/stretchr/testify v1.11.1
1414
github.com/theopenlane/core v1.16.8
1515
github.com/theopenlane/echox v0.3.0
16-
github.com/theopenlane/entx v0.24.1
16+
github.com/theopenlane/entx v0.25.1
1717
github.com/theopenlane/utils v0.7.0
1818
github.com/zitadel/oidc/v3 v3.46.0
1919
golang.org/x/oauth2 v0.36.0
@@ -24,7 +24,7 @@ require (
2424
ariga.io/atlas v1.2.0 // indirect
2525
entgo.io/contrib v0.7.0 // indirect
2626
github.com/99designs/gqlgen v0.17.89 // indirect
27-
github.com/XSAM/otelsql v0.41.0 // indirect
27+
github.com/XSAM/otelsql v0.42.0 // indirect
2828
github.com/agext/levenshtein v1.2.3 // indirect
2929
github.com/agnivade/levenshtein v1.2.1 // indirect
3030
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
@@ -46,7 +46,7 @@ require (
4646
github.com/hashicorp/hcl/v2 v2.24.0 // indirect
4747
github.com/jackc/pgpassfile v1.0.0 // indirect
4848
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
49-
github.com/jackc/pgx/v5 v5.9.1 // indirect
49+
github.com/jackc/pgx/v5 v5.9.2 // indirect
5050
github.com/jackc/puddle/v2 v2.2.2 // indirect
5151
github.com/mattn/go-colorable v0.1.14 // indirect
5252
github.com/mattn/go-isatty v0.0.20 // indirect
@@ -65,7 +65,7 @@ require (
6565
github.com/tidwall/match v1.2.0 // indirect
6666
github.com/tidwall/pretty v1.2.1 // indirect
6767
github.com/tidwall/sjson v1.2.5 // indirect
68-
github.com/tinylib/msgp v1.6.3 // indirect
68+
github.com/tinylib/msgp v1.6.4 // indirect
6969
github.com/vektah/gqlparser/v2 v2.5.32 // indirect
7070
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
7171
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
@@ -80,10 +80,10 @@ require (
8080
go.uber.org/goleak v1.3.0 // indirect
8181
golang.org/x/crypto v0.50.0 // indirect
8282
golang.org/x/exp v0.0.0-20260312153236-7ab1446f8b90 // indirect
83-
golang.org/x/mod v0.34.0 // indirect
83+
golang.org/x/mod v0.35.0 // indirect
8484
golang.org/x/sync v0.20.0 // indirect
8585
golang.org/x/sys v0.43.0 // indirect
8686
golang.org/x/text v0.36.0 // indirect
87-
golang.org/x/tools v0.43.0 // indirect
87+
golang.org/x/tools v0.44.0 // indirect
8888
gopkg.in/yaml.v3 v3.0.1 // indirect
8989
)

common/go.sum

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ github.com/99designs/gqlgen v0.17.89 h1:KzEcxPiMgQoMw3m/E85atUEHyZyt0PbAflMia5Kw
88
github.com/99designs/gqlgen v0.17.89/go.mod h1:GFqruTVGB7ZTdrf1uzOagpXbY7DrEt1pIxnTdhIbWvQ=
99
github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60=
1010
github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
11-
github.com/XSAM/otelsql v0.41.0 h1:uZifjQhZhv5EDYJh+IVk1DiYxQZJBlNSen0MBFnfxB8=
12-
github.com/XSAM/otelsql v0.41.0/go.mod h1:NMQT0PiKoFILp9QgjQz+D5mvW+9mT0suR7OejqrtMaM=
11+
github.com/XSAM/otelsql v0.42.0 h1:Li0xF4eJUxG2e0x3D4rvRlys1f27yJKvjTh7ljkUP5o=
1312
github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo=
1413
github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
1514
github.com/agnivade/levenshtein v1.2.1 h1:EHBY3UOn1gwdy/VbFwgo4cxecRznFk7fKWN1KOX7eoM=
@@ -47,8 +46,7 @@ github.com/go-test/deep v1.1.1 h1:0r/53hagsehfO4bzD2Pgr/+RgHqhmf+k1Bpse2cTu1U=
4746
github.com/go-test/deep v1.1.1/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncVwcsE=
4847
github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro=
4948
github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
50-
github.com/go-webauthn/webauthn v0.16.4 h1:R9jqR/cYZa7hRquFF7Za/8qoH/K/TIs1/Q/4CyGN+1Q=
51-
github.com/go-webauthn/webauthn v0.16.4/go.mod h1:SU2ljAgToTV/YLPI0C05QS4qn+e04WpB5g1RMfcZfS4=
49+
github.com/go-webauthn/webauthn v0.17.0 h1:8tFdaByIF7EgAg0W849Wt5q+213f1drsV2ggC0t80wM=
5250
github.com/go-webauthn/x v0.2.3 h1:8oArS+Rc1SWFLXhE17KZNx258Z4kUSyaDgsSncCO5RA=
5351
github.com/go-webauthn/x v0.2.3/go.mod h1:tM04GF3V6VYq79AZMl7vbj4q6pz9r7L2criWRzbWhPk=
5452
github.com/goccy/go-yaml v1.19.2 h1:PmFC1S6h8ljIz6gMRBopkjP1TVT7xuwrButHID66PoM=
@@ -75,8 +73,7 @@ github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsI
7573
github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg=
7674
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo=
7775
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM=
78-
github.com/jackc/pgx/v5 v5.9.1 h1:uwrxJXBnx76nyISkhr33kQLlUqjv7et7b9FjCen/tdc=
79-
github.com/jackc/pgx/v5 v5.9.1/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QIIM0Jn4=
76+
github.com/jackc/pgx/v5 v5.9.2 h1:3ZhOzMWnR4yJ+RW1XImIPsD1aNSz4T4fyP7zlQb56hw=
8077
github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo=
8178
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
8279
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
@@ -142,8 +139,7 @@ github.com/theopenlane/core v1.16.8 h1:RiZcF8IHJhYLL+4hoVMNNpKPK/pIDESBfhyUp4gou
142139
github.com/theopenlane/core v1.16.8/go.mod h1:VU6soCV5af3sUTMibAylQg9vEnHf/GfJysgVKxv0ciY=
143140
github.com/theopenlane/echox v0.3.0 h1:uwOKEw+r1utGQoOR6dZQqAVuY5j8TcasqnTwO5+rMsA=
144141
github.com/theopenlane/echox v0.3.0/go.mod h1:yTrXnj7s3VNIg0FCvB7Dut2Elr+LqJKU/nruxx1E1cM=
145-
github.com/theopenlane/entx v0.24.1 h1:3hQ0J8sWHPceAApVMSIoJylzwMaeu7RYUFsNOp3IPeE=
146-
github.com/theopenlane/entx v0.24.1/go.mod h1:F1//30rF+MKVI8FcOE/88ek9oz9TQMbU/ElYkzOYd0s=
142+
github.com/theopenlane/entx v0.25.1 h1:7PhHGpXaC3O13JqsK156B1aooJieD6N9P6e2w/TPEDg=
147143
github.com/theopenlane/utils v0.7.0 h1:tSN9PBC8Ywn2As3TDW/1TAfWsVsodrccec40oAhiZgo=
148144
github.com/theopenlane/utils v0.7.0/go.mod h1:7U9CDoVzCAFWw/JygR5ZhCKGwhHBnuJpK3Jgh1m59+w=
149145
github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
@@ -157,8 +153,7 @@ github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4=
157153
github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
158154
github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY=
159155
github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28=
160-
github.com/tinylib/msgp v1.6.3 h1:bCSxiTz386UTgyT1i0MSCvdbWjVW+8sG3PjkGsZQt4s=
161-
github.com/tinylib/msgp v1.6.3/go.mod h1:RSp0LW9oSxFut3KzESt5Voq4GVWyS+PSulT77roAqEA=
156+
github.com/tinylib/msgp v1.6.4 h1:mOwYbyYDLPj35mkA2BjjYejgJk9BuHxDdvRnb6v2ZcQ=
162157
github.com/vektah/gqlparser/v2 v2.5.32 h1:k9QPJd4sEDTL+qB4ncPLflqTJ3MmjB9SrVzJrawpFSc=
163158
github.com/vektah/gqlparser/v2 v2.5.32/go.mod h1:c1I28gSOVNzlfc4WuDlqU7voQnsqI6OG2amkBAFmgts=
164159
github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8=
@@ -197,10 +192,8 @@ golang.org/x/crypto v0.50.0 h1:zO47/JPrL6vsNkINmLoo/PH1gcxpls50DNogFvB5ZGI=
197192
golang.org/x/crypto v0.50.0/go.mod h1:3muZ7vA7PBCE6xgPX7nkzzjiUq87kRItoJQM1Yo8S+Q=
198193
golang.org/x/exp v0.0.0-20260312153236-7ab1446f8b90 h1:jiDhWWeC7jfWqR9c/uplMOqJ0sbNlNWv0UkzE0vX1MA=
199194
golang.org/x/exp v0.0.0-20260312153236-7ab1446f8b90/go.mod h1:xE1HEv6b+1SCZ5/uscMRjUBKtIxworgEcEi+/n9NQDQ=
200-
golang.org/x/mod v0.34.0 h1:xIHgNUUnW6sYkcM5Jleh05DvLOtwc6RitGHbDk4akRI=
201-
golang.org/x/mod v0.34.0/go.mod h1:ykgH52iCZe79kzLLMhyCUzhMci+nQj+0XkbXpNYtVjY=
202-
golang.org/x/net v0.52.0 h1:He/TN1l0e4mmR3QqHMT2Xab3Aj3L9qjbhRm78/6jrW0=
203-
golang.org/x/net v0.52.0/go.mod h1:R1MAz7uMZxVMualyPXb+VaqGSa3LIaUqk0eEt3w36Sw=
195+
golang.org/x/mod v0.35.0 h1:Ww1D637e6Pg+Zb2KrWfHQUnH2dQRLBQyAtpr/haaJeM=
196+
golang.org/x/net v0.53.0 h1:d+qAbo5L0orcWAr0a9JweQpjXF19LMXJE8Ey7hwOdUA=
204197
golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs=
205198
golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q=
206199
golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4=
@@ -210,8 +203,7 @@ golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI=
210203
golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
211204
golang.org/x/text v0.36.0 h1:JfKh3XmcRPqZPKevfXVpI1wXPTqbkE5f7JA92a55Yxg=
212205
golang.org/x/text v0.36.0/go.mod h1:NIdBknypM8iqVmPiuco0Dh6P5Jcdk8lJL0CUebqK164=
213-
golang.org/x/tools v0.43.0 h1:12BdW9CeB3Z+J/I/wj34VMl8X+fEXBxVR90JeMX5E7s=
214-
golang.org/x/tools v0.43.0/go.mod h1:uHkMso649BX2cZK6+RpuIPXS3ho2hZo4FVwfoy1vIk0=
206+
golang.org/x/tools v0.44.0 h1:UP4ajHPIcuMjT1GqzDWRlalUEoY+uzoZKnhOjbIPD2c=
215207
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
216208
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
217209
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=

internal/workflows/cel_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ func TestCelEnv_IdentifierEscapeSyntax(t *testing.T) {
9494
assert.NoError(t, err)
9595

9696
_, iss = env.Compile(expr)
97-
assert.Error(t, iss.Err())
97+
// this seems to always be true now for the Parser https://github.com/google/cel-go/pull/1295, so we no longer
98+
// expect an error
99+
assert.NoError(t, err)
98100
}
99101

100102
// TestCelEnv_CrossTypeNumericComparisons verifies cross-type numeric comparisons config

internal/workflows/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type CELConfig struct {
3535
// OptionalTypes enables CEL optional types and optional field syntax
3636
OptionalTypes bool `json:"optionaltypes" koanf:"optionaltypes" default:"false"`
3737
// IdentifierEscapeSyntax enables backtick escaped identifiers
38-
IdentifierEscapeSyntax bool `json:"identifierescapesyntax" koanf:"identifierescapesyntax" default:"false"`
38+
IdentifierEscapeSyntax bool `json:"identifierescapesyntax" koanf:"identifierescapesyntax" default:"true"`
3939
// CrossTypeNumericComparisons enables comparisons across numeric types
4040
CrossTypeNumericComparisons bool `json:"crosstypenumericcomparisons" koanf:"crosstypenumericcomparisons" default:"false"`
4141
// MacroCallTracking records macro calls in AST source info for debugging

0 commit comments

Comments
 (0)