Skip to content

fix: escape webUrl in Rich output, reconcile now reports what it actually compared - #26

Merged
codeapplied merged 1 commit into
mainfrom
fix/recheck-findings
Sep 1, 2026
Merged

codeapplied merged 1 commit into
mainfrom
fix/recheck-findings

Conversation

@codeapplied

Copy link
Copy Markdown
Owner

Prompted by a full recheck of the repo for bugs/misleading claims/scope of improvement, requested directly.

Real bug fixed: cli.py's cloud-sync webUrl display (two call sites — 'export' and 'sync-cloud') interpolated a live Microsoft Graph API response field directly into Rich markup, unescaped. Same bug class fixed everywhere else in #23 (Rich parses literal brackets as markup and silently drops unrecognized tags) — missed these two call sites at the time.

Misleading-output fix: 'tendertracker reconcile' printed 'No discrepancies found' identically whether something was actually verified in sync, or nothing was available to compare against at all (Excel never exported, Pipedrive not configured) — a repo in that state would report a falsely clean result. reconcile() now tracks and reports excel_available/pipedrive_configured; the CLI explicitly says when nothing was actually compared.

Documentation fix: README's Testing section claimed reconciliation orchestration tests covered 'dry-run-vs-apply, idempotency, and the create-then-update transition' — those concepts don't apply to reconcile (it's always read-only, no apply flag). Corrected to describe what's actually tested there.

Documented (not silently changed) edge case: reconcile's Pipedrive value-drift check treats deal value=0 the same as unset/None — added an explicit comment on why (unverified against a live Pipedrive account which behavior is more correct) rather than guessing at a 'fix' I can't verify.

Verified: 56/56 tests pass (55 existing + 1 new regression test for the excel-unavailable case); manually confirmed the new reconcile messaging in both the 'nothing configured' and 'excel available' states.

@codeapplied
codeapplied merged commit 0e6a73f into main Sep 1, 2026
1 check passed
@codeapplied
codeapplied deleted the fix/recheck-findings branch September 1, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant