iachat/app
gabrieljablonski b0e7688aad fix(jobs): resolve channel service class by name in SendReplyJob
CHANNEL_SERVICES held frozen references to service class objects, captured
when SendReplyJob was first autoloaded. In test env (cache_classes=false),
Zeitwerk reloads triggered between specs (notably by request specs)
replaced the constants with new class objects, leaving the hash pointing
to the stale ones. RSpec stubs applied to the current constant were then
bypassed when the job called service_class.new(...) through the stale
reference, causing flaky CI failures in spec/jobs/send_reply_job_spec.rb
when sharded together with V2::ReportBuilder + Captain::Preferences specs.

Storing class names as strings and resolving via constantize per call
fixes this and is the standard Rails autoload-safe pattern.
2026-04-17 21:24:29 -03:00
..
actions Merge branch 'chatwoot/develop' into chore/merge-upstream-4.12.0 2026-03-20 00:27:45 -03:00
assets feat: Hide installation identifier (#11722) 2025-06-17 15:45:40 -07:00
builders Merge branch 'main' into chore/merge-4.13.0 2026-04-17 16:23:47 -03:00
channels fix: Move contact events to account stream rather than individual user stream (#11082) 2025-03-13 17:46:48 -07:00
controllers fix(merge): CI offenses missed by pre-commit hook 2026-04-17 16:40:00 -03:00
dashboards fix(super-admin): prefill confirmed_at in new user form (#13662) 2026-03-10 12:14:58 +05:30
dispatchers feat(internal-chat): implement internal chat system for agents (#247) 2026-04-11 13:50:15 -03:00
drops feat: Implement existing template linking for CSAT surveys (#218) 2026-02-18 18:00:29 -03:00
fields fix(super-admin): prefill confirmed_at in new user form (#13662) 2026-03-10 12:14:58 +05:30
finders Merge branch 'chatwoot/develop' into chore/merge-upstream-4.12.0 2026-03-20 00:27:45 -03:00
helpers release v4.12.0-fazer-ai.47 (#259) 2026-04-08 20:52:26 -03:00
javascript fix(signature): coalesce null message_signature to empty string 2026-04-17 18:20:37 -03:00
jobs fix(jobs): resolve channel service class by name in SendReplyJob 2026-04-17 21:24:29 -03:00
listeners Merge branch 'main' into chore/merge-4.13.0 2026-04-17 16:23:47 -03:00
mailboxes Chore/merge upstream 4.8.0 (#150) 2025-11-19 16:25:58 -03:00
mailers Merge branch 'main' into chore/merge-4.13.0 2026-04-17 16:23:47 -03:00
models Merge branch 'main' into chore/merge-4.13.0 2026-04-17 16:23:47 -03:00
policies Merge branch 'main' into chore/merge-4.13.0 2026-04-17 16:23:47 -03:00
presenters Merge branch 'main' into chore/merge-4.13.0 2026-04-17 16:23:47 -03:00
services Merge branch 'main' into chore/merge-4.13.0 2026-04-17 16:23:47 -03:00
views Merge branch 'main' into chore/merge-4.13.0 2026-04-17 16:23:47 -03:00