-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Summary
The build-stage indexer aborts the entire deployment if environment variables cannot be fetched. This creates a full deployment outage from a secondary metadata/indexing dependency.
Proven behavior
- Indexer failure prevents image build completion
- No fallback path
- No warning-only mode
Why this matters
- This turns a metadata/bootstrap problem into a full deployment outage
- In self-hosted environments this is especially brittle because auth/storage/config drift is more likely than in cloud
Repro
- Cause envvar fetch to fail during local build indexing
- Run deployment
- Observe full build failure
Expected
- Indexer should continue with:
env = {}
- or mark metadata incomplete but still allow deployment image build
Actual
- Full Docker build fails
- Deployment status ends as
FAILED
Evidence
managed-index-controllerthrows immediately on failed envvar fetch:throw new Error(\Failed to fetch environment variables: ${$env.error}`)`
Suggested fix
- Downgrade envvar fetch failure to warning
- Continue indexing with empty env variables
- Only fail hard if task graph itself cannot be resolved
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels