Skip to content

Conversation

@jnarowski
Copy link
Owner

Summary

Implements persistent workflow run history for production environments by switching from ephemeral inngest dev to persistent inngest start based on NODE_ENV.

Key Changes

  • Mode detection: Automatically uses inngest start in production, inngest dev in development
  • Configuration: Added INNGEST_EVENT_KEY and INNGEST_SIGNING_KEY support with validation
  • Scripts: Updated start-inngest.js and start.js with conditional spawning logic
  • CLI: Added production flag and mode detection to agentcmd start command
  • Environment: Properly manages INNGEST_DEV flag based on mode
  • Documentation: Added comprehensive persistence guide to workflow-system.md

Testing

  • Development mode (pnpm dev): Uses ephemeral inngest dev (2-3s startup)
  • Production mode (pnpm start): Uses persistent inngest start (5-10s startup)
  • CLI mode (agentcmd start): Production mode by default with optional --production flag

Migration Notes

No breaking changes. Existing development workflow unchanged. Production deployments should set:

  • INNGEST_EVENT_KEY (any string)
  • INNGEST_SIGNING_KEY (64-char hex - use openssl rand -hex 32)

🤖 Generated with Claude Code

jnarowski-ai and others added 4 commits November 27, 2025 11:25
…eature-inngest-persistent-mode-for-production"
- Moved spec from todo to done folder
- Updated spec index with completed status
- All implementation and review phases complete

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

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

vercel bot commented Nov 27, 2025

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

Project Deployment Preview Comments Updated (UTC)
agentcmd-website Error Error Nov 27, 2025 8:17pm

@jnarowski jnarowski merged commit f5718fd into main Nov 27, 2025
1 of 3 checks passed
@jnarowski jnarowski deleted the feature/inngest-persistent-mode-for-production branch December 1, 2025 15:57
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.

3 participants