Pydantic warning: PydanticSerializationUnexpectedValue
Metadata
Current evaluation
PydanticSerializationUnexpectedValue warning emitted during Project.marshal() when rockcraft.yaml checks contain an ExecCheck entry. Maintainer reproduced it locally and narrowed it to a tagged-union serialization issue in the Check/ExecCheck model; no fix committed yet.
Suggested action: keep open
Reason: Maintainer gcomneno actively reproduced the warning and diagnosed it as a tagged-union serialization problem in the Check/ExecCheck model (last activity 153 days ago), so it is triaged and valid. The code still uses a custom pydantic.Discriminator(_get_check_tag) that only accepts Mapping input, which is why serialization of an ExecCheck instance triggers the warning; no fix commit exists yet.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
35
Quick Win:
21.0
Staleness:
45
Complexity:
40
Confidence:
70
Support Request:
10
|
keep open | PydanticSerializationUnexpectedValue warning emitted during Project.marshal() when rockcraft.yaml checks contain an ExecCheck entry. Maintainer reproduced it locally and narrowed it to a tagged-union serialization issue in the Check/ExecCheck model; no fix committed yet. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
55
Complexity:
45
Confidence:
85
Support Request:
5
|
needs triage | Unlabelled bug report about a Pydantic v2 serialization warning during rockcraft pack. Reproduced and isolated to Project.marshal() with ExecCheck models, but remains inactive for over 112 days without labels or maintainer assignment. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
45
Complexity:
30
Confidence:
85
Support Request:
10
|
keep open | Reports a Pydantic serialization warning during rockcraft pack when marshaling ExecCheck objects. A maintainer reproduced it and identified it as a tagged-union serialization warning, but no fix has been implemented yet. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
65
Complexity:
40
Confidence:
75
Support Request:
10
|
needs triage | Pydantic serialization warning during rockcraft pack when marshalling ExecCheck objects. Reproduced and analyzed by a contributor, but remains unlabelled, unassigned, and inactive for over three months. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
65
Complexity:
40
Confidence:
85
Support Request:
10
|
needs triage | Pydantic serialization warning triggers during Project marshal when handling ExecCheck objects. Output remains correct, indicating a tagged-union serialization quirk rather than a validation bug. Reproduced locally and awaiting triage. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.