Skip to content

Maintenance: Run pydantic v2 workflow only for features using pydantic #3349

@heitorlessa

Description

@heitorlessa

Why is this needed?

Our CI times doubled as GH has a limit of concurrent workflows run, increasing our lead time.

Which area does this relate to?

No response

Solution

Short-term: change paths in Pydantic V2 workflow to only use Event Handler, Parser, and Batch.

Medium-term: if CI time continues to be high, we use nox like solution to dynamically swap Pydantic version at runtime (no additional workflow).

Long-term: Launch v3 with Pydantic v2 and drop v1.

Acknowledgment

Metadata

Metadata

Labels

internalMaintenance changes

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions