alphagov / support

Forms to raise Zendesk tickets to be used by Government personnel on GOV.UK
https://docs.publishing.service.gov.uk/apps/support.html
MIT License
13 stars 8 forks source link

warning: `GDSZendesk::Client#ticket` forwarding to private method `ZendeskAPI::Client#ticket` #1153

Closed ChrisBAshton closed 5 months ago

ChrisBAshton commented 1 year ago

Running govuk-docker-run rake is currently very noisy:

............2023-07-28T13:38:45.245Z pid=125 tid=1mbl  WARN: Job arguments to ZendeskTicketWorker do not serialize to JSON safely. This will raise an error in
Sidekiq 7.0. See https://github.com/mperham/sidekiq/wiki/Best-Practices or raise an error today
by calling `Sidekiq.strict_args!` during Sidekiq initialization.

/govuk/support/app/workers/zendesk_ticket_worker.rb:27: warning: GDSZendesk::Client#ticket at /root/.rbenv/versions/3.1.2/lib/ruby/3.1.0/forwardable.rb:157 forwarding to private method ZendeskAPI::Client#ticket
.2023-07-28T13:38:45.283Z pid=125 tid=1mbl  WARN: Job arguments to ZendeskTicketWorker do not serialize to JSON safely. This will raise an error in
Sidekiq 7.0. See https://github.com/mperham/sidekiq/wiki/Best-Practices or raise an error today
by calling `Sidekiq.strict_args!` during Sidekiq initialization.

/govuk/support/app/workers/zendesk_ticket_worker.rb:27: warning: GDSZendesk::Client#ticket at /root/.rbenv/versions/3.1.2/lib/ruby/3.1.0/forwardable.rb:157 forwarding to private method ZendeskAPI::Client#ticket
......................./govuk/support/app/views/content_change_requests/_request_details.html.erb:133: warning: key :aria is duplicated and overwritten on line 133
2023-07-28T13:38:45.870Z pid=125 tid=1mbl  WARN: Job arguments to ZendeskTicketWorker do not serialize to JSON safely. This will raise an error in
Sidekiq 7.0. See https://github.com/mperham/sidekiq/wiki/Best-Practices or raise an error today
by calling `Sidekiq.strict_args!` during Sidekiq initialization.

/govuk/support/app/workers/zendesk_ticket_worker.rb:27: warning: GDSZendesk::Client#ticket at /root/.rbenv/versions/3.1.2/lib/ruby/3.1.0/forwardable.rb:157 forwarding to private method ZendeskAPI::Client#ticket
.2023-07-28T13:38:46.496Z pid=125 tid=1mbl  WARN: Job arguments to ZendeskTicketWorker do not serialize to JSON safely. This will raise an error in
Sidekiq 7.0. See https://github.com/mperham/sidekiq/wiki/Best-Practices or raise an error today
by calling `Sidekiq.strict_args!` during Sidekiq initialization.

/govuk/support/app/workers/zendesk_ticket_worker.rb:27: warning: GDSZendesk::Client#ticket at /root/.rbenv/versions/3.1.2/lib/ruby/3.1.0/forwardable.rb:157 forwarding to private method ZendeskAPI::Client#ticket
................................2023-07-28T13:38:47.176Z pid=125 tid=1mbl  WARN: Job arguments to ZendeskTicketWorker do not serialize to JSON safely. This will raise an error in
Sidekiq 7.0. See https://github.com/mperham/sidekiq/wiki/Best-Practices or raise an error today
by calling `Sidekiq.strict_args!` during Sidekiq initialization.

/govuk/support/app/workers/zendesk_ticket_worker.rb:27: warning: GDSZendesk::Client#ticket at /root/.rbenv/versions/3.1.2/lib/ruby/3.1.0/forwardable.rb:157 forwarding to private method ZendeskAPI::Client#ticket
............2023-07-28T13:38:48.400Z pid=125 tid=1mbl  WARN: Job arguments to ZendeskTicketWorker do not serialize to JSON safely. This will raise an error in
Sidekiq 7.0. See https://github.com/mperham/sidekiq/wiki/Best-Practices or raise an error today
by calling `Sidekiq.strict_args!` during Sidekiq initialization.

We should investigate and fix up this warning.

ChrisBAshton commented 5 months ago

No longer appears to be a thing.