xx#241
Conversation
Comment out the executor configuration for debugging.
Agent-Logs-Url: https://github.com/jack-sherman01/zotero-arxiv-daily/sessions/beb7371d-26ab-46ab-a311-4e39b7cc14e4 Co-authored-by: jack-sherman01 <49480649+jack-sherman01@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates runtime configuration to force a specific retrieval source when running the scheduled GitHub Actions workflow.
Changes:
- Adjust
config/custom.yamlexecutor settings (including commenting out prior example config). - Add a Hydra CLI override in the workflow to set
executor.sourceat runtime.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| config/custom.yaml | Modifies the configured executor source in the user override config. |
| .github/workflows/main.yml | Adds a Hydra override to set executor.source when running the pipeline. |
| echo "Use custom config: " | ||
| cat config/custom.yaml | ||
| uv run src/zotero_arxiv_daily/main.py | ||
| uv run src/zotero_arxiv_daily/main.py executor.source=arxiv |
There was a problem hiding this comment.
Hydra override executor.source=arxiv sets executor.source to a string, but the app expects it to be a list (it’s iterated over when building self.retrievers). Use a list override instead (e.g., executor.source=[arxiv] or executor.source=['arxiv']) to avoid iterating over individual characters.
| uv run src/zotero_arxiv_daily/main.py executor.source=arxiv | |
| uv run src/zotero_arxiv_daily/main.py executor.source=[arxiv] |
| executor: | ||
| debug: ${oc.env:DEBUG,null} | ||
| source: ['arxiv'] | ||
| source:arxiv |
There was a problem hiding this comment.
executor.source is expected to be a list (it’s iterated over in Executor.__init__), but this sets it to a scalar and also omits the required space after :. As written, it will either parse incorrectly or be treated as a string, causing iteration over characters ('a','r','x','i','v') and breaking retriever selection. Set executor.source to a proper YAML list (e.g., ['arxiv']).
| source:arxiv | |
| source: ['arxiv'] |
fix: restore valid executor.source in custom.yaml
No description provided.