Skip to content

Internal, Analytics, Fix bug in protocols report#11447

Merged
Sgtpluck merged 1 commit intomainfrom
dmm/fix-malformed-query
Nov 4, 2024
Merged

Internal, Analytics, Fix bug in protocols report#11447
Sgtpluck merged 1 commit intomainfrom
dmm/fix-malformed-query

Conversation

@Sgtpluck
Copy link
Copy Markdown
Contributor

@Sgtpluck Sgtpluck commented Nov 4, 2024

🛠 Summary of changes

Fixes a bug I introduced when I refactored some of the code. 🙈 I'd run the report before making a method out of the similar queries, but not after.

I did run the report after fixing this, and it appear to work both in the console and in the rails mailer preview.

@Sgtpluck Sgtpluck force-pushed the dmm/fix-malformed-query branch from 2431bfc to 72fdb61 Compare November 4, 2024 14:21
Copy link
Copy Markdown
Contributor

@vrajmohan vrajmohan left a comment

Choose a reason for hiding this comment

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

Looks good

@vrajmohan
Copy link
Copy Markdown
Contributor

vrajmohan commented Nov 4, 2024

Last weekend the report arrived late and yesterday's has not arrived yet. Is this somehow the cause or something else?

@Sgtpluck
Copy link
Copy Markdown
Contributor Author

Sgtpluck commented Nov 4, 2024

this is the cause of it not arriving this week, yes -- when this is deployed i'll trigger the job for this week

@Sgtpluck Sgtpluck merged commit 6f00398 into main Nov 4, 2024
@Sgtpluck Sgtpluck deleted the dmm/fix-malformed-query branch November 4, 2024 14:45
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is there any test coverage for this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

there's test coverage, but it's hard to test this stuff e2e since we have to stub out the cloudwatch requests. next time i'm in this code, i'll see if i can set up some spies or something to ensure the queries look as expected

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.

3 participants