You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implemented Phase 3 of the file operations migration plan:
**Phase 3: Deprecation (Month 3)**
- Add deprecation warnings to embedded component
- Create comprehensive migration guide
- Document timeline for removal in v2.0.0
Changes:
1. **Deprecation Warning in Embedded Binary** (tools/file_ops/main.go)
- Clear, boxed warning message on every execution
- Highlights benefits of external component:
• 100x faster startup
• Cryptographic signing
• SLSA provenance
- Can be silenced with FILE_OPS_NO_DEPRECATION_WARNING=1
- Points to migration guide
2. **Migration Guide** (docs/MIGRATION.md)
- Comprehensive guide for users
- Explains why to migrate (performance, security, maintenance)
- Quick start: most users already using external (no action needed)
- Timeline showing all 4 phases
- Troubleshooting section
3. **Build Flag Documentation** (toolchains/BUILD.bazel)
- Updated comments with deprecation notice
- Clear marking of "embedded" as deprecated
- References to MIGRATION.md
- Timeline for removal in v2.0.0
4. **Test Documentation** (test/file_ops_integration/README.md)
- Updated with Phase 3 completion status
- All 4 phases documented
- Clear progression: Phase 1 ✅, Phase 2 ✅, Phase 3 ✅, Phase 4 🔜
**Testing:**
✅ Deprecation warning displays correctly
✅ Warning can be silenced with env var
✅ File operations still work with embedded
✅ External remains default (no change)
**Timeline:**
- Phase 1: Week 1-2 ✅ (Optional integration)
- Phase 2: Week 5-6 ✅ (External default with AOT)
- **Phase 3: Month 3 ✅ (Deprecation - THIS COMMIT)**
- Phase 4: v2.0.0 🔜 (Complete removal)
**For Users:**
Most users don't need to do anything! External component with AOT
is already the default. Only users explicitly using
`--//toolchains:file_ops_source=embedded` need to remove that flag.
See docs/MIGRATION.md for full details.
0 commit comments