Skip to content

fix(app): stop a failed banner or upload list chunk from raising NG0750 - #330

Merged
MrYuion merged 1 commit into
developfrom
t3/fix-sentry-backoffice-4r
Oct 29, 2026
Merged

MrYuion merged 1 commit into
developfrom
t3/fix-sentry-backoffice-4r

Conversation

@MrYuion

@MrYuion MrYuion commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

On a flaky mobile network, the global banner and upload list chunks did not load. Angular then raised an uncaught NG0750 error, which Sentry reported as BACKOFFICE-4R. The chunks exist on the server, and the deploy was 16 hours old, so a stale deploy did not cause it.

The three @defer blocks in AppComponent had no @error block. Angular raises NG0750 only when no @error block exists. This PR adds empty @error {} blocks, so the optional UI stays hidden and no uncaught error occurs.

Proof: I served a development build (like the nonprod deploy) and used Playwright to abort the two chunk requests. Before the fix, Chromium and WebKit each logged two NG0750 errors. After the fix, they logged none. Without blocked requests, both chunks still load and the components render. Lint, unit tests and the production build pass.

Fixes BACKOFFICE-4R

Reviewed with sol-loop: 1 round with gpt-6.1-sol on high. Sol verdict: approved

Created with Claude Opus 5.5 in Claude Code (T3 Code). Reviewed by GPT-6.1 Sol in Codex.

🤖 Generated with Claude Code

The global banner, upload list and update card load in @defer blocks
with no @error block. When a chunk request fails (e.g. a flaky mobile
network), Angular raises an uncaught NG0750 error. Empty @error blocks
hide the optional UI instead.

Fixes BACKOFFICE-4R

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 29, 2026

Copy link
Copy Markdown

Deployment failed for project backoffice with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/placeos?upgradeToPro=build-rate-limit

@MrYuion
MrYuion merged commit 60b955c into develop Oct 29, 2026
5 of 6 checks passed
@MrYuion
MrYuion deleted the t3/fix-sentry-backoffice-4r branch October 29, 2026 02:09
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