Skip to content

Conversation

@naps62-self-hosted-claude
Copy link

Summary

  • Critical fix: The resume/1 function was calling :destroy instead of :resume, causing suspended stacks to be permanently destroyed instead of resumed
  • Frontend fix: Added optional chaining to axios error handler to prevent crash on network errors when error.response is undefined
  • Type safety: Added missing VITE_APTABASE_APP_KEY type definition to vite-env.d.ts

Code quality improvements

  • Removed duplicate/redundant alias imports in server.ex
  • Translated Portuguese comment to English for consistency

Test plan

  • Verify that resuming a suspended stack now properly restarts it instead of destroying it
  • Verify that network errors in the frontend don't crash the app with "Cannot read property 'status' of undefined"

🤖 Generated with Claude Code

Bug fixes:
- Fix resume/1 function that was calling :destroy instead of :resume
  This was a critical bug causing data loss when resuming suspended stacks
- Add optional chaining to axios error handler to prevent crash on network errors
- Add missing VITE_APTABASE_APP_KEY type definition

Code quality:
- Remove duplicate alias imports in server.ex
- Translate Portuguese comment to English

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 6, 2026

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

Project Deployment Actions Updated (UTC)
stacks Ready Ready Preview, Comment Feb 6, 2026 0:54am

Request Review

The CI was failing with "Old PLT file" error because the setup-beam
step was missing an id, causing steps.beam.outputs to be undefined
and resulting in a partial cache key match that restored stale PLTs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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