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

Record Interactions #783

Merged
merged 3 commits into from
Dec 5, 2023
Merged

Record Interactions #783

merged 3 commits into from
Dec 5, 2023

Conversation

peterjan
Copy link
Member

@peterjan peterjan commented Dec 4, 2023

Turns out we stopped recording (some) host interactions when we refactored out the interactions table. Found out by running staticcheck by the way, useful tool to look for dead code. I removed all generic Command and ErrorResult stuff since we pass scans and price tables updates separately anyway. I made the worker an InteractionRecorder and attach it to the ctx.

@peterjan peterjan self-assigned this Dec 4, 2023
worker/worker.go Outdated Show resolved Hide resolved
Copy link
Member

@ChrisSchinnerl ChrisSchinnerl left a comment

Choose a reason for hiding this comment

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

Would be nice to have a regression test to make sure we are notified the next time we stop recording price tables

worker/worker.go Outdated Show resolved Hide resolved
@ChrisSchinnerl ChrisSchinnerl merged commit 941b3dd into master Dec 5, 2023
6 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the pj/interactions branch December 5, 2023 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants