Closed sandreae closed 1 year ago
I've observed this one here as well, not sure if it is related? https://github.com/p2panda/aquadoggo/actions/runs/6076273746/job/16483981446
thread 'proptests::tests::pagination_queries' panicked at 'Test failed: Publish CREATE operation: ValidateOperationError(SchemaValidation(InvalidField("l", "invalid field type 'bool', expected 'float'"))).
proptest: Aborting shrinking after the PROPTEST_MAX_SHRINK_ITERS environment variable or ProptestConfig.max_shrink_iters iterations (set 400 to a large(r) value to shrink more; current configuration: 400 iterations)
proptest: Saving this and future failures in /home/runner/work/aquadoggo/aquadoggo/aquadoggo/proptest-regressions/proptests/tests.txt
proptest: If this test was run on a CI system, you may wish to add the following line to your copy of the file. (You may need to create it.)
cc fbee9a945cacb789fd5dc1fdbdbf1a79771eafecde5db920eba3aa7a31e951d0
thread 'proptests::tests::pagination_queries' panicked at 'Test failed: Generated schema is valid: SchemaFieldsError(DuplicateFields).
minimal failing input: (schema_ast, document_ast_collection) = (
SchemaAST {
name: SchemaName(
"test_schema",
),
description: SchemaDescription(
"My test schema",
),
id: Application(
SchemaName(
"test_schema",
),
DocumentViewId(
[
OperationId(
Hash(
"00209b9a2e1d1544a30cc0f58ba7ae186524aa5c1ffa288f7a1c8a545eeb0777f0fa",
),
),
],
),
),
fields: [
SchemaField {
name: FieldName(
"a",
),
field_type: PinnedRelation,
relation_schema: Some(
SchemaAST {
name: SchemaName(
"test_schema",
),
description: SchemaDescription(
"My test schema",
),
id: Application(
SchemaName(
"test_schema",
),
DocumentViewId(
[
OperationId(
Hash(
"00207a7295b13e85d57e33443efac56295b1a217a7ff9d3eb9155a6bd72c383815af",
),
),
],
),
),
fields: [
SchemaField {
name: FieldName(
"X",
),
field_type: Boolean,
relation_schema: None,
},
SchemaField {
name: FieldName(
"X",
),
field_type: Integer,
relation_schema: None,
},
SchemaField {
name: FieldName(
"PafIP_w4epm_9_vyP_82_EbPyRB29_DRLE_V19tgUQMwq",
),
field_type: Boolean,
relation_schema: None,
},
SchemaField {
name: FieldName(
"OggtKiZqyQE_S_Ckqw45KK9RC78SiCdzeW",
),
field_type: Float,
relation_schema: None,
},
SchemaField {
name: FieldName(
"n__1SJG6_P9A79lifH7SpUsd27SpC6KXgwM37m_g",
),
field_type: Float,
relation_schema: None,
},
SchemaField {
name: FieldName(
"c_UBi_L_0m8i81Am0O725n4__M_10EK0",
),
field_type: Float,
relation_schema: None,
},
SchemaField {
name: FieldName(
"G__vnqjAeh68F65rRqa1_rr5507TSJT_NSz0v__LnA",
),
field_type: Integer,
relation_schema: None,
},
],
},
),
},
],
},
[],
)
successes: 32
local rejects: 0
global rejects: 0
', aquadoggo/src/proptests/tests.rs:188:1
Needs a little more investigating as not clear on first look if this is a bug in the test logic or our code