pub fn generate_bug_report(
conn: &Connection,
workspace_root: Option<&Path>,
issue_title: Option<&str>,
description: Option<&str>,
log_lines: usize,
) -> Result<BugReportBundle, QueryError>Expand description
Builds the diagnostic bundle for a GitHub issue. markdown_body is complete. The
pre-filled issue URL omits the log tail, and falls back to the environment and index
sections alone when the rest would push it past MAX_ISSUE_URL_LEN.