fix: show report click feedback and log path - #10
Conversation
GabrielBBaldez
left a comment
There was a problem hiding this comment.
Verified on the branch: tsc clean under strict, 4/4 parser tests including the new no-frame case, and CI green once I released the fork run.
The click path is the part I checked hardest, since that was the actual bug. openCulprit already had the "no source frame to open" message — attaching the command unconditionally is what makes it reachable, which is exactly right. Worth noting it now also covers the cases beyond a missing frame: a -1 line number and a non-ASCII filename both leave culprit undefined today (#5), and those rows stop being silent too.
asRelativePath(file, false) for the view description is the right call — a workspace-relative path is what tells you which service's log you're looking at in a monorepo, which is the half of #6 that is easy to underrate.
No changes requested. Not being able to run the Extension Development Host is fine — the parser coverage plus compilation is the right substitute, and I can exercise the host side.
Summary
stacktale.openReportso reports without source frames show the existing feedback instead of clicking silently.errors-ai.logpath in the Stacktale tree view description.Copy report for AIfrom the Command Palette because it requires a tree item context.Why
Closes #6.
Verification
npm installnpm run compilenpm testgit diff --checkNotes
I could not run the VS Code Extension Development Host in this environment. The extension glue is covered by TypeScript compilation, and the no-frame report input is covered by parser regression coverage.