Skip to content

fix: use onInvalidSyntax properly when invalid flows#247

Open
fdelbrayelle wants to merge 2 commits intomainfrom
issues/246
Open

fix: use onInvalidSyntax properly when invalid flows#247
fdelbrayelle wants to merge 2 commits intomainfrom
issues/246

Conversation

@fdelbrayelle
Copy link
Member

@fdelbrayelle fdelbrayelle commented Feb 10, 2026

Part-of: #246

What changes are being made and why?


How the changes have been QAed?


Setup Instructions


Contributor Checklist ✅

@fdelbrayelle fdelbrayelle self-assigned this Feb 10, 2026
@github-project-automation github-project-automation bot moved this to To review in Pull Requests Feb 10, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 10, 2026

📦 Artifacts

Name Size Updated Expiration
jar 11.77 MB Feb 13, 26, 4:07:13 PM UTC Feb 20, 26, 4:07:13 PM UTC

🧪 Java Unit Tests

TestsPassed ✅SkippedFailedTime ⏱
Java Tests Report65 ran65 ✅0 ⚠️0 ❌2m 14s 509ms

🔁 Unreleased Commits

2 commits since v1.2.1

SHA Title Author Date
1605bce chore(deps): update to gradle 9.3.1 Ludovic DEHON Feb 3, 26, 12:49:06 PM UTC
54ca47c docs(git): update descriptions (#244) AJ Emerich Feb 3, 26, 2:41:28 PM UTC

io.kestra.core.models.flows.Flow parsed = io.kestra.core.serializers.YamlParser.parse(yaml, io.kestra.core.models.flows.Flow.class);
io.kestra.core.models.flows.Flow parsed;
try {
parsed = YamlParser.parse(yaml, io.kestra.core.models.flows.Flow.class);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will only catch flow schema validations and not invalid task definitions e.g some property no longer avaiable or incorrect property name.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix proposal: ef6dbf9

What do you think @Malaydewangan09 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To review

Development

Successfully merging this pull request may close these issues.

2 participants