Skip to content

Conversation

@MorayMySoc
Copy link
Contributor

@MorayMySoc MorayMySoc commented Dec 11, 2025

Preliminary effort to make log message more practical.

https://github.com/mysociety/societyworks/issues/4984

[skip changelog]

@MorayMySoc MorayMySoc requested a review from neprune December 11, 2025 15:01
@codecov
Copy link

codecov bot commented Dec 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.66%. Comparing base (4ac8fbf) to head (b654f02).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5774      +/-   ##
==========================================
- Coverage   82.66%   82.66%   -0.01%     
==========================================
  Files         458      458              
  Lines       35799    35802       +3     
  Branches     5843     5844       +1     
==========================================
+ Hits        29592    29594       +2     
- Misses       4505     4506       +1     
  Partials     1702     1702              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

my $key = join ', ', @{ $row->body_names };
$bodies{$key} ||= [];
push @{ $bodies{$key} }, $row->id;
push @{ $bodies{$key} }, "$base_url/admin/report_edit/" . $row->id;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For waste, or TfL reports (where the BASE_URL won't work and only give a 404, dunno if there are other cases), could this know that and provide a working link?

@neprune neprune removed their request for review December 12, 2025 15:23
@MorayMySoc MorayMySoc requested a review from dracos December 18, 2025 18:15
@dracos dracos force-pushed the 4984-add-links-to-summary-of-fail-report branch from 7f3f574 to ee388a5 Compare January 8, 2026 11:19
Copy link
Member

@dracos dracos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One suggestion to simplify getting the base using existing code, have pushed a fixup, see what you think

@MorayMySoc
Copy link
Contributor Author

@dracos Tests were failing as I'd hardcoded the ids in the tests, so latest commit has fixed that. I think what you've done is great, so not sure if you're wanting anything else added - asked for re-review for clarity as it's still awaiting sign-off.

@MorayMySoc MorayMySoc requested a review from dracos January 13, 2026 12:42
Copy link
Member

@dracos dracos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't think so, let's give it a try, thanks :)

Preliminary effort to make log message more practical

mysociety/societyworks#4984
@mysociety-pusher mysociety-pusher force-pushed the 4984-add-links-to-summary-of-fail-report branch from 0b5b40d to b654f02 Compare January 13, 2026 13:53
@mysociety-pusher mysociety-pusher merged commit b654f02 into master Jan 13, 2026
20 of 21 checks passed
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.

4 participants