Skip to content

[Dumfries] Trigger response template based on old vs new external status codes#5968

Closed
nephila-nacrea wants to merge 2 commits into
masterfrom
dumfries-cancelled-job-template
Closed

[Dumfries] Trigger response template based on old vs new external status codes#5968
nephila-nacrea wants to merge 2 commits into
masterfrom
dumfries-cancelled-job-template

Conversation

@nephila-nacrea

@nephila-nacrea nephila-nacrea commented May 11, 2026

Copy link
Copy Markdown
Contributor

Fixes https://github.com/mysociety/societyworks/issues/5475.

Allows adding of an old external status code for response templates, so a specific template can be triggered if (e.g.) an Alloy update changes a report from 'Job Raised' to 'Reported'.

[skip changelog]

@codecov

codecov Bot commented May 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.28%. Comparing base (a5669c1) to head (9bf8cf2).
⚠️ Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5968      +/-   ##
==========================================
+ Coverage   83.17%   83.28%   +0.10%     
==========================================
  Files         496      497       +1     
  Lines       37131    37512     +381     
  Branches     6134     6272     +138     
==========================================
+ Hits        30885    31243     +358     
- Misses       4442     4466      +24     
+ Partials     1804     1803       -1     

☔ 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.

@nephila-nacrea nephila-nacrea force-pushed the dumfries-cancelled-job-template branch from e50067a to 319fd76 Compare May 12, 2026 09:40
@nephila-nacrea nephila-nacrea marked this pull request as ready for review May 12, 2026 13:20
@nephila-nacrea nephila-nacrea changed the title WIP [Dumfries] trigger response template for planned -> reported [Dumfries] Trigger response template based on old vs new external status codes May 12, 2026
@nephila-nacrea nephila-nacrea requested a review from davea May 12, 2026 13:20
@nephila-nacrea

Copy link
Copy Markdown
Contributor Author

Different approach taken in #6000.

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