-
Notifications
You must be signed in to change notification settings - Fork 431
devenv: deprecate feature detection output flags #2066
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔍 Suggested ReviewersBased on git blame analysis of the changed lines, the following contributors have significant experience with the modified code:
Please consider reviewing this PR as you have authored significant portions of the code being modified. Your expertise would be valuable! 🙏 This comment was automatically generated by git-blame-auto-reviewer Last updated: 2025-08-02T13:21:57.457Z |
Claude finished @sandydoo's task —— View job PR Review: Deprecate Feature Detection Output FlagsReview Tasks
Issues and Improvements1. Shortened Deprecation Period Recommendation: Consider keeping the deprecation warnings for at least one release cycle to give downstream users time to migrate. 2. Missing Documentation of Migration Path Example of what users need to change: # Old approach (no longer works)
inputs.devenv.isTmpDir or false
# New approach (works correctly)
builtins.hasAttr "tmpdir" config.devenv 3. Code Quality - Good Consolidation
4. Potential Runtime vs Build-time Issue 5. Minor: Missing Runtime Option SummaryThe technical implementation is solid and represents a cleaner architecture. The main concerns are around the migration experience:
For future similar changes, consider:
The code quality itself is good - the consolidation improves maintainability and the direct option checking is more reliable than the previous feature flag approach. |
Deploying devenv with
|
Latest commit: |
42242d8
|
Status: | ✅ Deploy successful! |
Preview URL: | https://72982b85.devenv.pages.dev |
Branch Preview URL: | https://drop-output-feature-flags.devenv.pages.dev |
We can query the options attrset directly instead of using custom outputs. In case anyone is depending on these (for whatever reason), there will be a brief deprecation period.
026708e
to
059b2e6
Compare
devenv: deprecate feature detection output flags
devenv: deprecate feature detection output flags
We can query the options attrset directly instead of using custom outputs.
In case anyone is depending on these (for whatever reason), there will be a brief deprecation period.