Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify DfE::Analytics behaviour on development #7331

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

scruti
Copy link
Collaborator

@scruti scruti commented Dec 4, 2024

Trello card URL

Changes in this PR:

Configures DfE::Analytics on development so:

  • Events stop being sent to background jobs to run asynchronously --> This is bugged at the moment. Fix proposed
  • Events are just logged, not sent to BigQ.

On testing, upon a closer look, it seems there is nothing to do.
Sidekiq in testing fake! mode is sending the jobs into an array, and the Analytics fake! testing mode stubs BigQ client.

For development environments, the events won't be sent to BigQ, but only
logged on the Rails Console.
The events from DfE::Analytics won't spin a background job on
development environment.
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