Skip to content

test(intent): guard personal (my) pages call App.services.api (regression #6263)#6269

Merged
delchev merged 1 commit into
masterfrom
test/personal-page-api-emission-guard
Jul 12, 2026
Merged

test(intent): guard personal (my) pages call App.services.api (regression #6263)#6269
delchev merged 1 commit into
masterfrom
test/personal-page-api-emission-guard

Conversation

@delchev

@delchev delchev commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

IntentEmissionCoverageIT covers the personal (my) surface on the backend (scoped controller, forced owner FK, sensitive scrub) and checks that the my list page references its scoped controller. But that string (ClaimMyController) is present regardless of which API object the page calls, so #6263 - personal pages calling the nonexistent App.api instead of App.services.api - shipped with every pipeline step green and only surfaced by driving the My shell at runtime (Cannot read properties of undefined (reading 'get') on every personal list/form load, save, delete).

This adds the missing assertion at the emitted-page layer: the personal list, form, and child-form pages must call App.services.api and must not contain App.api.. Closes the silent-degradation gap for this class (the same spirit as the rest of this IT - assert the outermost observable layer, not just the parsed model or an incidental substring).

No behavior change - assertions only; green on current master (the fix merged in #6263).

🤖 Generated with Claude Code

…sion #6263)

IntentEmissionCoverageIT already covers the personal (my) surface on the backend
(scoped controller, forced owner FK, sensitive scrub) and asserts the my list page
references its scoped controller - but that string is present regardless of the API
object, so #6263 (pages calling the nonexistent App.api instead of App.services.api)
shipped with every pipeline step green and only surfaced by driving the My shell.

Assert the API object itself on the personal list, form and child-form pages:
they must call App.services.api and must not contain App.api. - closing the
silent-degradation gap for this class.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@delchev delchev merged commit c817ec0 into master Jul 12, 2026
10 checks passed
@delchev delchev deleted the test/personal-page-api-emission-guard branch July 12, 2026 07:30
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