Defect
tracedecay sessions import --project-path . from inside an initialized, registered project answers Error: config error: registered project not found for selector. The same command with the absolute path (--project-path "$PWD") is accepted and schedules the import.
Reproduction (master 0351078, perf+hotpath build, isolated HOME)
tracedecay daemon run under an isolated HOME/TRACEDECAY_DATA_DIR/TRACEDECAY_DAEMON_SOCKET.
cd <repo clone> && tracedecay init (the project registers; tracedecay status reports it).
tracedecay sessions import --project-path . → Error: config error: registered project not found for selector.
tracedecay sessions import --project-path "$PWD" → accepted (reports the background operation id).
The selector is apparently matched against registered roots without being resolved against the working directory first.
Found while seeding sessions for the dashboard journeys in #2239.
Defect
tracedecay sessions import --project-path .from inside an initialized, registered project answersError: config error: registered project not found for selector. The same command with the absolute path (--project-path "$PWD") is accepted and schedules the import.Reproduction (master 0351078, perf+hotpath build, isolated HOME)
tracedecay daemon rununder an isolatedHOME/TRACEDECAY_DATA_DIR/TRACEDECAY_DAEMON_SOCKET.cd <repo clone> && tracedecay init(the project registers;tracedecay statusreports it).tracedecay sessions import --project-path .→Error: config error: registered project not found for selector.tracedecay sessions import --project-path "$PWD"→ accepted (reports the background operation id).The selector is apparently matched against registered roots without being resolved against the working directory first.
Found while seeding sessions for the dashboard journeys in #2239.