Summary
After kane-cli testmd run --agent, the final test_md_summary / test_md_done events include session_id, testcase_id, project_id, and upload.succeeded: true — but no public shareable URL. PR templates and CI gates that require pasting a kane-cli shareable report URL force users to manually open test-manager.lambdatest.com, navigate to the test case, and click the "Share" button to generate one.
Observed
{"type":"test_md_summary","overall_status":"failed","duration_s":974,"steps":{...},"upload":{"performed":true,"succeeded":true},"commit":{"committed":false,"reason":"run_failed","testcase_id":"01KSM..."}}
{"type":"test_md_done","overall_status":"failed","duration_s":974,"session_id":"d9c..."}
No report_url / share_url / public_link field anywhere in stdout.
Suggested fixes
- Emit a
report_url (or share_url) field in test_md_summary and test_md_done events, especially in --agent mode where the output is meant to be machine-parseable.
- For runs that successfully uploaded (
upload.succeeded: true), kane-cli already has enough info to construct the public URL — surface it.
- Even on
status: failed runs, the report URL is useful for PR review (lets reviewers see the screenshots/timeline). Don't gate it on success.
Environment
Summary
After
kane-cli testmd run --agent, the finaltest_md_summary/test_md_doneevents includesession_id,testcase_id,project_id, andupload.succeeded: true— but no public shareable URL. PR templates and CI gates that require pasting a kane-cli shareable report URL force users to manually opentest-manager.lambdatest.com, navigate to the test case, and click the "Share" button to generate one.Observed
{"type":"test_md_summary","overall_status":"failed","duration_s":974,"steps":{...},"upload":{"performed":true,"succeeded":true},"commit":{"committed":false,"reason":"run_failed","testcase_id":"01KSM..."}} {"type":"test_md_done","overall_status":"failed","duration_s":974,"session_id":"d9c..."}No
report_url/share_url/public_linkfield anywhere in stdout.Suggested fixes
report_url(orshare_url) field intest_md_summaryandtest_md_doneevents, especially in--agentmode where the output is meant to be machine-parseable.upload.succeeded: true), kane-cli already has enough info to construct the public URL — surface it.status: failedruns, the report URL is useful for PR review (lets reviewers see the screenshots/timeline). Don't gate it on success.Environment