Add 'Debugging from the UI' section with parallel-worker URLs and known limitations#174
Add 'Debugging from the UI' section with parallel-worker URLs and known limitations#174samgutentag wants to merge 1 commit into
Conversation
…d ID, RSpec/Go caveats
aaccd27 to
e35ab33
Compare
|
Code verification (2026-06-01): 1 confirmed / 1 contradicted / 1 ambiguous / 4 unverifiable
Blocker before publishing: the RSpec section is wrong about the gem's current state. The The remaining unverifiable items are operational/third-party claims (upload latency, Go test JSON behavior, CI provider env vars), not Trunk code constants. They are not blockers on their own, but the 10-minute latency figure and the Go 0ms behavior should be sanity-checked with eng since they aren't backed by a source constant. Source #1 — trunk-analytics-cli prints a Bundle Upload ID (confirmed)File: pub fn get_bundle_upload_id_message(bundle_upload_id: &str) -> String {
format!("🏷️ Bundle Upload ID: {}", bundle_upload_id)Reasoning: The CLI emits a literal Source #2 — RSpec gem already extracts the full exception set (contradicted)File: def legacy_format_exception_message(exception)
case exception
when RSpec::Core::MultipleExceptionError
messages = exception.all_exceptions.map { |e| "#{e.class}: #{e.message}" }
strip_ansi_codes("#{exception.class}: #{messages.join(' | ')}")
...
def legacy_format_exception_backtrace(exception)
case exception
when RSpec::Core::MultipleExceptionError
strip_ansi_codes(exception.all_exceptions.map do |e|
...
end.join("\n\n"))Reasoning: Both the message formatter and the backtrace formatter special-case Source #3 — "failure detail view surfaces only one exception" (ambiguous)File: when RSpec::Core::MultipleExceptionError
messages = exception.all_exceptions.map { |e| "#{e.class}: #{e.message}" }
strip_ansi_codes("#{exception.class}: #{messages.join(' | ')}")Reasoning: The claim "the failure detail view currently surfaces only one of the captured exceptions" is a behavioral claim about the dashboard render, not the gem. The gem clearly uploads all exceptions (Source #2), so if the UI shows one, the truncation is in a layer not visible in this repo (frontend in Source #4 — Bundle Upload ID has no dashboard URL / search field (unverifiable)File: n/a (absence claim) Reasoning: This asserts the absence of a feature (no URL mapping, no search field for the Bundle Upload ID). Absence is not provable from a code search. The ID does flow through the backend (it appears in S3 key patterns and proto definitions, e.g. Source #5 — Go 0ms subtest duration confuses AI failure analysis (unverifiable)File: n/a Reasoning: Two stacked claims: (a) Source #6 — uploads take up to 10 minutes to populate (unverifiable)File: n/a Reasoning: No ingestion-latency constant or SLA of "10 minutes" exists in source for run-data population. The Source #7 — CI per-worker URL environment variables (unverifiable against Trunk source)File: n/a (third-party) Reasoning: |
Reopens the work from #58, which was merged then reverted on 2026-06-01 (it was not ready to merge). Content is unchanged from the original branch; needs content verification against source before re-merging. Reverted merge commit removed from main.