Skip to content

feat: read ESTELA_SPIDER_ARGS from environment#10

Merged
joaquingx merged 1 commit into
mainfrom
feat/spider-args
Mar 3, 2026
Merged

feat: read ESTELA_SPIDER_ARGS from environment#10
joaquingx merged 1 commit into
mainfrom
feat/spider-args

Conversation

@joaquingx
Copy link
Copy Markdown
Collaborator

Summary

  • Read ESTELA_SPIDER_ARGS from environment variable instead of hardcoding empty string
  • Backwards-compatible: defaults to "" when env var is not set

Details

Previously ESTELA_SPIDER_ARGS was hardcoded to "" in settings_remote.py. Now it reads from os.environ, allowing the entrypoint to pass spider arguments through to the wrapper.

Test plan

  • Verify existing spiders without args still get ESTELA_SPIDER_ARGS = ""
  • Verify spiders with args receive the JSON-serialized dict

🤖 Generated with Claude Code

- Read ESTELA_SPIDER_ARGS from env instead of hardcoding empty string
- Fix pre-existing ruff errors (format strings, duplicate test name, noqa)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@joaquingx joaquingx merged commit b7bdc60 into main Mar 3, 2026
2 checks passed
@eLRuLL eLRuLL deleted the feat/spider-args branch March 4, 2026 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant