Log job source folders when DEEPWORK_ADDITIONAL_JOBS_FOLDERS is set#272
Draft
Log job source folders when DEEPWORK_ADDITIONAL_JOBS_FOLDERS is set#272
Conversation
Co-authored-by: ncrmro <8276365+ncrmro@users.noreply.github.com> Agent-Logs-Url: https://github.com/Unsupervisedcom/deepwork/sessions/a27ec3ce-8be9-495f-b665-6273dcb0f8ac
Copilot
AI
changed the title
[WIP] Show jobs install source when shared jobs environment variable is set
Log job source folders when DEEPWORK_ADDITIONAL_JOBS_FOLDERS is set
Mar 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When
DEEPWORK_ADDITIONAL_JOBS_FOLDERSis set, there was no visibility into which folders the MCP server was actually loading jobs from.Changes
server.py—_log_job_source_folders()logs all job source folders atINFOon server startup (only fires when the env var is set)discovery.py—load_all_jobs()emits anINFOlog per extra folder listing which jobs were loaded from it; extracted_get_extra_folders()to identify env-var-sourced folders without duplicating parse logictests/unit/jobs/test_discovery.py— coverage for both logging paths and the no-log-when-unset caseExample log output
⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.