Expand description
Checks for the faults that cost real debugging time, and repairs for the ones whose correct value is discoverable.
The motivating case: Metro runs inside the container, but file events do not
cross the bind mount from the host, so its watcher never sees an edit. The
entrypoint’s poker exists to bridge that, and a stale METRO_POKE=false
baked into a container turns it off silently - every change then needs a
cache clear, with nothing to say why.
Structs§
- Action
- Check
- Unquoted
Line - A .env line whose value holds unquoted spaces.
Enums§
Constants§
Functions§
- check_
docker - check_
env_ quoting - check_
metro_ poke - check_
overlays - check_
root_ apps - container_
metro_ poke METRO_POKEas the named container actually has it, which is not always what the env file says: a container keeps the environment it was created with until it is recreated.- docker_
available - fix
- format_
actions - format_
checks - remove_
env_ key - Drop a key from a .env file, leaving every other line as it was.
- run
- running_
metro_ containers - runs_
mobile - Does this workspace run a mobile app whose Metro lives in a container?
- set_
env_ key - Set
keyin a .env file, preserving comments and the order of what is already there. Appends with a note when the key is absent. - undeclared_
root_ apps - Only the overlay
generatealways writes. docker-compose.extra.yml is written per extra app, so a workspace with none legitimately has no such file - demanding it would be a failure no repair could ever clear. Directories beside the frontend repo that look like runnable apps. - unquoted_
values