Clean up PHP CI (#18610)
This PR does the following:
* Special-case descriptor.proto to allow for codegen despite being proto2
* Fix a pre-existing bug that gets exercised now during descriptor builds
* Expand test coverage of conformance tests, and fix pre-existing issues
* Properly hook up gencode to staleness infrastructure for automated regen
Closes #18610
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/18610 from protocolbuffers:php-regen 773a1bf01a
PiperOrigin-RevId: 682477438
pull/18627/head
parent
bc6990cfb4
commit
c83b2f93a6
12 changed files with 405 additions and 189 deletions
@ -1,42 +1,36 @@ |
||||
Recommended.FieldMaskNumbersDontRoundTrip.JsonOutput |
||||
Recommended.FieldMaskPathsDontRoundTrip.JsonOutput |
||||
Recommended.FieldMaskTooManyUnderscore.JsonOutput |
||||
Recommended.Proto2.JsonInput.FieldNameExtension.Validator |
||||
Recommended.Proto3.JsonInput.BytesFieldBase64Url.JsonOutput |
||||
Recommended.Proto3.JsonInput.BytesFieldBase64Url.ProtobufOutput |
||||
Recommended.Proto3.JsonInput.FieldMaskInvalidCharacter |
||||
Recommended.Proto3.JsonInput.IgnoreUnknownEnumStringValueInMapValue.ProtobufOutput |
||||
Recommended.Proto3.JsonInput.IgnoreUnknownEnumStringValueInRepeatedField.ProtobufOutput |
||||
Recommended.Editions_Proto2.JsonInput.IgnoreUnknownEnumStringValueInRepeatedPart.ProtobufOutput |
||||
Recommended.Editions_Proto3.JsonInput.IgnoreUnknownEnumStringValueInRepeatedPart.ProtobufOutput |
||||
Recommended.Proto2.JsonInput.IgnoreUnknownEnumStringValueInRepeatedPart.ProtobufOutput |
||||
Recommended.Proto3.JsonInput.IgnoreUnknownEnumStringValueInRepeatedPart.ProtobufOutput |
||||
Recommended.Editions_Proto2.JsonInput.IgnoreUnknownEnumStringValueInMapPart.ProtobufOutput |
||||
Recommended.Editions_Proto3.JsonInput.IgnoreUnknownEnumStringValueInMapPart.ProtobufOutput |
||||
Recommended.Proto2.JsonInput.IgnoreUnknownEnumStringValueInMapPart.ProtobufOutput |
||||
Recommended.Proto3.JsonInput.IgnoreUnknownEnumStringValueInMapPart.ProtobufOutput |
||||
Recommended.Proto3.ProtobufInput.ValidDataOneofBinary.MESSAGE.Merge.ProtobufOutput |
||||
Required.Proto2.JsonInput.StoresDefaultPrimitive.Validator |
||||
Required.Proto3.JsonInput.DoubleFieldTooSmall |
||||
Required.Proto3.JsonInput.DurationNegativeNanos.JsonOutput |
||||
Required.Proto3.JsonInput.DurationNegativeNanos.ProtobufOutput |
||||
Required.Proto3.JsonInput.FloatFieldTooLarge |
||||
Required.Proto3.JsonInput.FloatFieldTooSmall |
||||
Required.Proto3.JsonInput.Int32FieldNotInteger |
||||
Required.Proto3.JsonInput.Int64FieldNotInteger |
||||
Required.Proto3.JsonInput.OneofFieldDuplicate |
||||
Required.Proto3.JsonInput.OneofFieldNullSecond.JsonOutput |
||||
Required.Proto3.JsonInput.OneofFieldNullSecond.ProtobufOutput |
||||
Required.Proto3.JsonInput.RepeatedFieldWrongElementTypeExpectingStringsGotInt |
||||
Required.Proto3.JsonInput.RepeatedListValue.JsonOutput |
||||
Required.Proto3.JsonInput.RepeatedListValue.ProtobufOutput |
||||
Required.Proto3.JsonInput.StringFieldNotAString |
||||
Required.Proto3.JsonInput.Uint32FieldNotInteger |
||||
Required.Proto3.JsonInput.Uint64FieldNotInteger |
||||
Required.Proto3.ProtobufInput.RepeatedScalarMessageMerge.JsonOutput |
||||
Required.Proto3.ProtobufInput.RepeatedScalarMessageMerge.ProtobufOutput |
||||
Required.Proto3.ProtobufInput.ValidDataOneof.MESSAGE.Merge.JsonOutput |
||||
Required.Proto3.ProtobufInput.ValidDataOneof.MESSAGE.Merge.ProtobufOutput |
||||
Required.Proto3.ProtobufInput.ValidDataRepeated.FLOAT.PackedInput.JsonOutput |
||||
Required.Proto3.ProtobufInput.ValidDataRepeated.FLOAT.UnpackedInput.JsonOutput |
||||
Required.Proto3.ProtobufInput.ValidDataScalar.FLOAT[2].JsonOutput |
||||
Recommended.*.FieldMaskNumbersDontRoundTrip.JsonOutput |
||||
Recommended.*.FieldMaskPathsDontRoundTrip.JsonOutput |
||||
Recommended.*.FieldMaskTooManyUnderscore.JsonOutput |
||||
Recommended.*.JsonInput.BytesFieldBase64Url.JsonOutput |
||||
Recommended.*.JsonInput.BytesFieldBase64Url.ProtobufOutput |
||||
Recommended.*.JsonInput.FieldMaskInvalidCharacter |
||||
Recommended.*.JsonInput.IgnoreUnknownEnumStringValueInMapValue.ProtobufOutput |
||||
Recommended.*.JsonInput.IgnoreUnknownEnumStringValueInRepeatedField.ProtobufOutput |
||||
Recommended.*.JsonInput.IgnoreUnknownEnumStringValueInRepeatedPart.ProtobufOutput |
||||
Recommended.*.JsonInput.IgnoreUnknownEnumStringValueInMapPart.ProtobufOutput |
||||
Recommended.*.ProtobufInput.ValidDataOneofBinary.MESSAGE.Merge.ProtobufOutput |
||||
Recommended.*.ValueRejectInfNumberValue.JsonOutput # Should have failed to serialize, but didn't. |
||||
Recommended.*.ValueRejectNanNumberValue.JsonOutput # Should have failed to serialize, but didn't. |
||||
Required.*.JsonInput.DoubleFieldTooSmall |
||||
Required.*.JsonInput.DurationNegativeNanos.JsonOutput |
||||
Required.*.JsonInput.DurationNegativeNanos.ProtobufOutput |
||||
Required.*.JsonInput.FloatFieldTooLarge |
||||
Required.*.JsonInput.FloatFieldTooSmall |
||||
Required.*.JsonInput.Int32FieldNotInteger |
||||
Required.*.JsonInput.Int64FieldNotInteger |
||||
Required.*.JsonInput.OneofFieldDuplicate |
||||
Required.*.JsonInput.OneofFieldNullSecond.JsonOutput |
||||
Required.*.JsonInput.OneofFieldNullSecond.ProtobufOutput |
||||
Required.*.JsonInput.RepeatedFieldWrongElementTypeExpectingStringsGotInt |
||||
Required.*.JsonInput.RepeatedListValue.JsonOutput |
||||
Required.*.JsonInput.RepeatedListValue.ProtobufOutput |
||||
Required.*.JsonInput.StringFieldNotAString |
||||
Required.*.JsonInput.Uint32FieldNotInteger |
||||
Required.*.JsonInput.Uint64FieldNotInteger |
||||
Required.*.ProtobufInput.RepeatedScalarMessageMerge.JsonOutput |
||||
Required.*.ProtobufInput.RepeatedScalarMessageMerge.ProtobufOutput |
||||
Required.*.ProtobufInput.ValidDataOneof.MESSAGE.Merge.JsonOutput |
||||
Required.*.ProtobufInput.ValidDataOneof.MESSAGE.Merge.ProtobufOutput |
||||
Required.*.ProtobufInput.ValidDataRepeated.FLOAT.PackedInput.JsonOutput |
||||
Required.*.ProtobufInput.ValidDataRepeated.FLOAT.UnpackedInput.JsonOutput |
||||
Required.*.ProtobufInput.ValidDataScalar.FLOAT[2].JsonOutput |
||||
|
@ -0,0 +1,4 @@ |
||||
Recommended.*.ProtobufInput.GroupUnknownFields_Drop.TextFormatOutput # Failed to parse input or produce output. |
||||
Recommended.*.ProtobufInput.GroupUnknownFields_Print.TextFormatOutput # Failed to parse input or produce output. |
||||
Recommended.*.ProtobufInput.RepeatedUnknownFields_Drop.TextFormatOutput # Failed to parse input or produce output. |
||||
Recommended.*.ProtobufInput.RepeatedUnknownFields_Print.TextFormatOutput # Failed to parse input or produce output. |
Loading…
Reference in new issue