fix(cli): timeline tag width, test env isolation, and logging verbosity

Miscellaneous fixes across CLI and core modules:

- Timeline: widen TAG_WIDTH from 10 to 11 to accommodate longer event
  type labels without truncation
- render.rs: save and restore LORE_ICONS env var in glyph_mode test to
  prevent interference from the test environment leaking into or from
  other tests that set LORE_ICONS
- logging.rs: adjust verbose=1 to info level (was debug), verbose=2 to
  debug — this reduces noise at -v while keeping -vv as the full debug
  experience
- issues.rs, merge_requests.rs: use infodebug! macro consistently for
  ingestion summary logging

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
teernisse
2026-02-14 11:25:33 -05:00
parent bb6660178c
commit eef73decb5
5 changed files with 18 additions and 10 deletions

View File

@@ -2,7 +2,7 @@ use std::ops::Deref;
use futures::StreamExt;
use rusqlite::{Connection, Transaction};
use tracing::{debug, info, warn};
use tracing::{debug, warn};
use crate::Config;
use crate::core::error::{LoreError, Result};
@@ -61,7 +61,7 @@ pub async fn ingest_issues(
while let Some(issue_result) = issues_stream.next().await {
if signal.is_cancelled() {
info!("Issue ingestion interrupted by shutdown signal");
debug!("Issue ingestion interrupted by shutdown signal");
break;
}
let issue = issue_result?;
@@ -108,7 +108,7 @@ pub async fn ingest_issues(
result.issues_needing_discussion_sync = get_issues_needing_discussion_sync(conn, project_id)?;
info!(
debug!(
summary = crate::ingestion::nonzero_summary(&[
("fetched", result.fetched),
("upserted", result.upserted),

View File

@@ -1,7 +1,7 @@
use std::ops::Deref;
use rusqlite::{Connection, Transaction, params};
use tracing::{debug, info, warn};
use tracing::{debug, warn};
use crate::Config;
use crate::core::error::{LoreError, Result};
@@ -61,7 +61,7 @@ pub async fn ingest_merge_requests(
loop {
if signal.is_cancelled() {
info!("MR ingestion interrupted by shutdown signal");
debug!("MR ingestion interrupted by shutdown signal");
break;
}
let page_result = client
@@ -121,7 +121,7 @@ pub async fn ingest_merge_requests(
}
}
info!(
debug!(
summary = crate::ingestion::nonzero_summary(&[
("fetched", result.fetched),
("upserted", result.upserted),