You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [FIX] Unblock OSS first-time setup — sample envs, host-gateway, ollama hint
- backend/sample.env: set INTERNAL_SERVICE_API_KEY=dev-internal-key-123 so
workers' internal API calls don't 500 against backend middleware. Add
TEMPORARY_REMOTE_STORAGE alongside PERMANENT_REMOTE_STORAGE.
- workers/sample.env: mirror PERMANENT_REMOTE_STORAGE, TEMPORARY_REMOTE_STORAGE,
REMOTE_PROMPT_STUDIO_FILE_PATH. Without these the executor / ide-callback
workers crash at json.loads("") on first Prompt Studio index.
- unstract/sdk1 file_storage/env_helper.py: raise FileStorageError with a
clear message when the storage env var is unset or invalid JSON, instead
of letting json.loads("") raise an inscrutable JSONDecodeError.
- adapters/llm1 + embedding1 ollama.json: fix typo
docker.host.internal -> host.docker.internal in the Base URL hint.
- docker/docker-compose.yaml: extract a YAML anchor x-host-gateway and
apply it (<<: *host_gateway) to backend, prompt-service, runner,
celery-*, and every worker-* service. Before this only backend and
prompt-service had extra_hosts, so adapter Test passed in
prompt-service but real prompt execution from the worker pool failed
with EAI_NONAME against host.docker.internal.
- run-platform.sh: fail fast with actionable hint when `docker info`
can't reach the daemon (missing docker group membership, etc.).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Br691aZbhfcB4xdswrUjuw
* [FIX] Address greptile / coderabbit review comments
- env_helper.py: validate parsed JSON is a dict; normalize KeyError /
TypeError / ValueError from provider construction into FileStorageError
with the remediation message, so callers never see raw json/dict
exceptions on a misconfigured env var.
- docker-compose.yaml: extend the x-host-gateway anchor's docstring to
warn that YAML merge does NOT concatenate lists — adding a sibling
extra_hosts to a service shadows the anchor entry rather than
appending. Future contributors must inline all entries instead.
- run-platform.sh: branch the docker-daemon remediation hints by OS
(Linux / macOS / Windows / other), so macOS users see the
Docker-Desktop hint instead of irrelevant getent/usermod commands.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Br691aZbhfcB4xdswrUjuw
* [FIX] Address Jaseem's PR review nits
- env_helper.py: narrow except (KeyError, ValueError) to the FileStorageProvider
resolution only; constructor / fsspec exceptions now propagate untouched
instead of being mislabeled as env config errors.
- env_helper.py: drop dead `except FileStorageError: raise e` (inner try
doesn't catch FileStorageError, and `raise e` would reset traceback).
- workers/sample.env: refresh comment to match new FileStorageError behavior.
- backend/sample.env: unquote REMOTE_PROMPT_STUDIO_FILE_PATH for consistency
with workers/sample.env.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Br691aZbhfcB4xdswrUjuw
* Update unstract/sdk1/src/unstract/sdk1/file_storage/env_helper.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>
* [FIX] Split long f-string in EnvHelper.get_storage to satisfy ruff E501
The coderabbit suggestion added an isinstance(credentials, dict) guard whose
error message exceeded the 90-char line limit. Split the f-string across two
adjacent string literals to keep behavior identical.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Br691aZbhfcB4xdswrUjuw
---------
Signed-off-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
0 commit comments