Skip to content

fix(intent): rollup glue resolves setting-entity child/parent to the Settings perspective - #6351

Merged
delchev merged 1 commit into
masterfrom
fix/intent-rollup-setting-perspective
Jul 21, 2026
Merged

fix(intent): rollup glue resolves setting-entity child/parent to the Settings perspective#6351
delchev merged 1 commit into
masterfrom
fix/intent-rollup-setting-perspective

Conversation

@delchev

@delchev delchev commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

buildRollups resolved childPerspective/parentPerspective with plain resolvePerspective, missing the isSetting() -> "Settings" special-case that buildRelationLinks and putPersonalAssignee already apply. A roll-up whose child or parent is kind: setting therefore generated a handler importing gen.<mod>.data.<entityname> (nonexistent) instead of gen.<mod>.data.settings — failing javac, and since the client-Java batch is all-or-nothing, taking down every controller in the app.

Latent until the first setting-entity roll-up: a Currency (setting) ← CurrencyRate (setting) op: latest roll-up (the currencies Currency.rate adoption) exposed it.

GlueRollupLatestTest extended — both fixture entities are kind: setting; the child/parent perspectives now assert "Settings".

Follow-up to #6350; unblocks the KeyFolders currencies Currency.rate latest-rollup adoption.

🤖 Generated with Claude Code

…Settings perspective

buildRollups resolved childPerspective/parentPerspective with plain
resolvePerspective, missing the setting -> "Settings" special-case that
buildRelationLinks / putPersonalAssignee already apply. So a roll-up whose child
or parent is kind: setting generated a handler importing
gen.<mod>.data.<entityname> (which does not exist) instead of
gen.<mod>.data.settings - failing javac and, because the client-Java batch is
all-or-nothing, taking down every controller in the app.

Latent until the first setting-entity roll-up: a Currency (setting) <-
CurrencyRate (setting) op: latest roll-up exposed it. Now resolves to the
Settings perspective like every other setting-aware builder.

GlueRollupLatestTest extended: both fixture entities are kind: setting and the
child/parent perspectives assert "Settings".

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@delchev
delchev merged commit 98593a6 into master Jul 21, 2026
10 checks passed
@delchev
delchev deleted the fix/intent-rollup-setting-perspective branch July 21, 2026 19:28
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.

1 participant