Skip to content

fix: restore backend runtime required by production wrapper - #26

Merged
hrx01-dev merged 1 commit into
mainfrom
fix/restore-main-backend-runtime
Aug 27, 2026
Merged

hrx01-dev merged 1 commit into
mainfrom
fix/restore-main-backend-runtime

Conversation

@hrx01-dev

Copy link
Copy Markdown
Owner

Root cause

The latest Render deployment crashed during startup because secure_main.py expects the legacy backend/main.py implementation to provide _push_history and _load_history, but commit 732f309e accidentally reduced main.py to only its import section.

Render logs show:
AttributeError: module 'main' has no attribute '_push_history'

Fix

Restore backend/main.py to the complete implementation that was present in the last known-good deployment (PR #25), while preserving the newer secure_main.py, production_main.py, and Docker entrypoint changes.

This restores the runtime primitives required by the secure production wrapper and allows the text/URL/video/image routes to initialize normally.

@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
veritas-ai Building Building Preview Aug 27, 2026 12:20pm

@hrx01-dev
hrx01-dev merged commit c09c4ff into main Aug 27, 2026
2 of 3 checks passed

This branch had an error being deployed

1 failed deployment
Preview — 95bd880d Deployed Aug 27, 2026 by vercel[bot]
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