Firebase App component with launcher lifecycle and health check integration.
What's included:
- Config with ProjectID (FIREBASE_PROJECT_ID env var); credentials via ADC
- Provider interface exposing native *firebase.App directly
- Component interface: launcher.Component + health.Checkable + Provider
- New(logger, cfg) constructor for lifecycle registration via lc.Append
- Health check via GetUser("health-probe-non-existent") + auth.IsUserNotFound at LevelCritical
- No-op OnStop (Firebase Admin SDK has no Close method)
Tested-via: todo-api POC integration
Reviewed-against: docs/adr/
26 lines
622 B
JSON
26 lines
622 B
JSON
{
|
|
"name": "Go",
|
|
"image": "mcr.microsoft.com/devcontainers/go:2-1.25-trixie",
|
|
"features": {
|
|
"ghcr.io/devcontainers-extra/features/claude-code:1": {}
|
|
},
|
|
"forwardPorts": [],
|
|
"postCreateCommand": "go version",
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"files.autoSave": "afterDelay",
|
|
"files.autoSaveDelay": 1000,
|
|
"explorer.compactFolders": false,
|
|
"explorer.showEmptyFolders": true
|
|
},
|
|
"extensions": [
|
|
"golang.go",
|
|
"eamodio.golang-postfix-completion",
|
|
"quicktype.quicktype",
|
|
"usernamehw.errorlens"
|
|
]
|
|
}
|
|
},
|
|
"remoteUser": "vscode"
|
|
} |