Quick Upgrade
For Most Projects
Starting the dev server:
- Dev Container:
npx wrangler dev --local-protocol http --ip 0.0.0.0 - Local:
npx wrangler dev --local-protocol http
--ip 0.0.0.0 flag is needed in containers to bind to all network interfaces.Testing Your Upgrade
Automated Tests
Manual Testing Checklist
-
npm installcompletes without errors -
npm testshows all tests passing -
npm run buildsucceeds - Dev server starts (see note above for dev container vs local)
- Homepage loads:
curl http://localhost:8787/ - Static pages work (test 2-3 pages)
- Dynamic pages work (if using)
- API endpoints respond (if using)
- Authentication works (if configured)
Performance Check
Compare build times before and after:Troubleshooting Common Issues
npm install fails
npm install fails
Symptoms:Solution:
Tests failing after upgrade
Tests failing after upgrade
Symptoms:Solution:
Update your test files to include proper ExecutionContext mock:
Routes not working after upgrade
Routes not working after upgrade
Solution: Rebuild and restart dev server
Dynamic routes return 404
Dynamic routes return 404
Symptoms:Solution: Check your route configuration and ensure you’re using the latest version:
Build fails with module errors
Build fails with module errors
Symptoms:Solution: These warnings are normal for Cloudflare Workers. They can be ignored.
Wrangler hangs or requests timeout
Wrangler hangs or requests timeout
Symptoms: Dev server starts but all requests hangSolution: Use the This properly binds network access for the Workers runtime.
--local-protocol http flag:Wrangler warnings
Wrangler warnings
Symptoms:Solution: This is harmless and can be ignored. It’s a cosmetic warning.
TypeScript errors
TypeScript errors
Solution: Update type definitions
Migration Strategies
Strategy 1: Direct Upgrade (Recommended)
Best for: Most projects, minor version upgradesStrategy 2: Fresh Template Comparison
Best for: Major version jumps, learning new featuresStrategy 3: Side-by-Side Testing
Best for: Critical production systemsRollback Procedure
If you need to rollback after an upgrade:New Feature Discovery
After upgrading, check the latest template to discover new features:Latest Template Structure
Compare Your Project
Adopt New Patterns
Look for:- New page handler patterns
- Improved agent configurations
- Better ensemble orchestration
- Updated test patterns
Post-Upgrade Optimization
1. Update Test Coverage
2. Performance Tuning
3. Update Documentation
Update your project’s README with:- Current Conductor version
- New features you’re using
- Any project-specific upgrade notes
Best Practices
Keep Dependencies Updated
Pin Versions in Production
- Development:
"^1.8.1"(allows 1.8.x updates) - Production:
"1.8.1"(exact version only)
Test Before Deploying
Keep Release Notes
Track your upgrades in a changelog:Getting Help
Issues After Upgrade
- Check the release notes: GitHub Releases
- Search GitHub Issues: Known Issues
- Review troubleshooting guide: See troubleshooting section above
Reporting Bugs
If you find issues after upgrading:Summary
Quick Upgrade Path
If Issues Occur
After Upgrade
- ✅ Run tests:
npm test - ✅ Build:
npm run build - ✅ Test locally:
npx wrangler dev --local-protocol http - ✅ Test in preview:
npx wrangler deploy --env preview - ✅ Deploy to production:
npx wrangler deploy
Next Steps
Your First Project
Start fresh with the latest template
Dynamic Pages
Learn about dynamic routing features
Testing Guide
Update your test patterns
Changelog
See full version history

