Skip to content

chore(release): staging to production - 2025.12.04 - #745

Merged
maxtechera merged 1 commit into
productionfrom
staging
Dec 4, 2025
Merged

chore(release): staging to production - 2025.12.04#745
maxtechera merged 1 commit into
productionfrom
staging

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 4, 2025

Copy link
Copy Markdown

🚀 Release: Staging to Production

Release Date: 2025-12-04

Changes in this release


This PR is automatically created/updated when commits are pushed to staging.
Merging this PR will trigger the release workflow to create a new GitHub release.

…#739)

## Summary

Fixes critical bug where LastRev customer cannot access agentflow canvas
due to `removeChild` DOM exception.

**Root Cause:** Direct DOM manipulation with `innerHTML` in `onError`
handlers caused React to lose track of its virtual DOM. When React tried
to update or unmount components, it couldn't find nodes it expected,
triggering `Failed to execute 'removeChild' on 'Node'` errors.

### Changes

- **CredentialLogo.jsx**: Replace direct DOM manipulation with React
state (`useState`) for image error handling
- **ConnectedToolsIndicator.jsx**: Replace raw `<img>` with MUI `Avatar`
component which handles fallbacks natively
- **AgentFlowNode.jsx**: Remove invalid `item` prop from Box component
(fixes console warning)
- **UnifiedCredentialsModal.jsx**: Add `component='span'` to Typography
inside DialogTitle (fixes HTML nesting warning)

## Test plan

- [ ] Load agentflow canvas at
`https://lastrev.theanswer.ai/sidekick-studio/v2/agentcanvas/e45320ea-f916-4134-860d-eb56a83e9ae8`
- [ ] Verify no `removeChild` DOM exceptions in browser console
- [ ] Verify credential logos display correctly (with fallback to
initials when image fails)
- [ ] Verify no React warnings about `item` prop or HTML nesting
- [ ] Test adding/removing nodes on canvas

## Linear Ticket


[AGENT-467](https://linear.app/answeragent/issue/AGENT-467/fix-agentflow-loading-error-removechild-dom-exception)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
@vercel

vercel Bot commented Dec 4, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
answerai-docs Building Building Preview Dec 4, 2025 3:46pm
the-answerai Building Building Preview Dec 4, 2025 3:46pm

@maxtechera maxtechera left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

@maxtechera
maxtechera merged commit e56b985 into production Dec 4, 2025
12 checks passed
@maxtechera
maxtechera temporarily deployed to staging - aai-unified2-flowise-moonstruck December 4, 2025 16:04 — with Render Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants