mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-12-01 00:27:17 +00:00
## Summary Remove devcontainer support from the product surface and codebase: the parser crate, workflow bridge, lifecycle execution path, typed events, CLI progress rendering, generated client field, and public/internal documentation references are all gone. ## What Changed - Deleted the dedicated parser crate and removed its Cargo dependencies and lockfile entries. - Removed workflow initialization paths that resolved repository devcontainer metadata, applied Daytona snapshots from it, merged environment variables from it, or ran its lifecycle commands. - Removed the typed event variants and CLI progress handlers for the retired lifecycle events while leaving shared unknown-event handling intact. - Cleaned the generated TypeScript client and tracked docs so repository search has no remaining devcontainer references outside git history. ## Verification - `cargo +nightly-2026-04-14 fmt --all` - `cargo +nightly-2026-04-14 fmt --check --all` - `cargo build --workspace` - `cargo nextest run -p fabro-types` - `cargo nextest run -p fabro-workflow` - `cargo nextest run -p fabro-cli run_progress` - `cd lib/packages/fabro-api-client && bun run generate && bun run typecheck` - `cargo metadata --no-deps --format-version 1 | rg -i "fabro-devcontainer|devcontainer"` - `rg -n -i "devcontainer|dev container|dev-container|dev_container|fabro-devcontainer|\\.devcontainer" . --glob '!target/**' --glob '!.worktrees/**'` --- [](https://github.com/EveryInc/compound-engineering-plugin) 🤖 Generated with GPT-5 via [Codex](https://openai.com/codex)
3.4 KiB
3.4 KiB
Remove features.session_sandboxes
Summary
Remove the session_sandboxes feature flag and the now-empty [features] settings namespace entirely. Behavior should be as if session_sandboxes = true was always set: Ask Fabro is never disabled by a feature flag, and UI controls previously hidden behind the flag are always shown.
Key Changes
- Remove the settings namespace from config:
- Delete
FeaturesNamespace,FeaturesLayer,resolve_features, and[features]defaults. - Remove
featuresfrom resolvedServerSettingsandUserSettings. - Remove
featuresfrom the top-level settings parser allow-list, so old[features]config is rejected as unknown.
- Delete
- Remove the runtime gate:
- Simplify Ask Fabro readiness to check only sandbox presence/runtime and LLM configuration.
- Remove
AskFabroUnavailableReason::FeatureDisabledand the "Ask Fabro is disabled" tooltip.
- Update frontend behavior:
- Run detail page no longer handles
FEATURE_DISABLED. - Start page always renders the project/branch controls and no longer fetches system info just for this flag.
- Run detail page no longer handles
- Remove public API surfaces:
/api/v1/settingsServerSettingsno longer includesfeatures./api/v1/system/infono longer includesfeatures.- OpenAPI removes
FeaturesNamespace,SystemFeatures,ServerSettings.features,SystemInfoResponse.features, andfeature_disabled. - Regenerate Rust API types and TypeScript Axios client.
- Update current docs:
- Remove
[features]from active configuration docs, generated options docs, API docs, and unknown-key guidance. - Do not touch unrelated meanings of "features" such as Cargo features or LLM model features.
- Remove
Test Plan
- Update or remove tests that assert
features.session_sandboxesin config, settings, system info, and Ask Fabro readiness. - Add or adjust coverage for:
- Ask Fabro unavailable reasons are only
no_sandbox,sandbox_not_ready, orllm_unconfigured. - Settings parsing rejects top-level
[features]. /api/v1/settingsresponse contains onlyserverat the top level./api/v1/system/infohas nofeaturesfield.- Start page renders project/branch controls without consulting
SystemInfo.features.
- Ask Fabro unavailable reasons are only
- Run:
cargo build -p fabro-apicd lib/packages/fabro-api-client && bun run generatecargo dev docs refresh && cargo dev docs checkcargo nextest run -p fabro-config -p fabro-api -p fabro-server -p fabro-clicd apps/fabro-web && bun test && bun run typecheckcargo +nightly-2026-04-14 fmt --check --allcargo +nightly-2026-04-14 clippy --workspace --all-targets -- -D warnings
Acceptance Checks
rg -n "session_sandboxes|FeaturesNamespace|SystemFeatures|feature_disabled|Ask Fabro is disabled" lib apps docs/publicreturns no relevant matches.rg -n "\\[features\\]" docs/public lib/crates/fabro-config/src lib/crates/fabro-types/src lib/crates/fabro-server/src apps/fabro-web/appreturns no settings-namespace matches.- Existing sandbox runtime behavior remains unchanged; only the feature flag and schema surface are removed.
Assumptions
- This is intentionally a breaking config/API cleanup: existing user config containing
[features]should fail validation until removed. - Historical internal plans may still contain old text unless they are part of active public docs; implementation should prioritize product code, generated clients, and current docs.