Skip to content

test(core): cover lineage settings in workflow_settings.yaml, including an empty lineage block - #2382

Merged
rafal-hawrylak merged 1 commit into
mainfrom
test-core-lineage-empty-block
Oct 15, 2026
Merged

rafal-hawrylak merged 1 commit into
mainfrom
test-core-lineage-empty-block

Conversation

@rafal-hawrylak

Copy link
Copy Markdown
Collaborator

Summary

Adds end-to-end tests that compile a project with different lineage: blocks in workflow_settings.yaml and check the resulting projectConfig.lineageEnabled:

  • lineage: { enabled: false } → false
  • lineage: { enabled: true } → true
  • lineage: {} → unset, so the runner's default applies (not an opt-out)

Follow-up to a review question on #2367: LineageSettings.enabled is a plain proto3 bool, so an empty lineage: block could in principle decode as enabled=false. Testing shows it doesn't on the workflow_settings.yaml path (the empty block stays a plain object, so enabled is undefined and lineageEnabled is left unset). These tests pin that behaviour.

No production code changes.

@rafal-hawrylak
rafal-hawrylak requested a review from a team as a code owner October 15, 2026 11:42
@rafal-hawrylak
rafal-hawrylak requested review from apilaskowski and removed request for a team October 15, 2026 11:42
@rafal-hawrylak
rafal-hawrylak merged commit 5cc970f into main Oct 15, 2026
14 checks passed
@rafal-hawrylak
rafal-hawrylak deleted the test-core-lineage-empty-block branch October 15, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants