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

Remove prefect from deployment #121

Closed

Conversation

harisang
Copy link
Contributor

@harisang harisang commented Oct 26, 2024

I believe the deployment is a bit messed up, as we currently have dune-sync only deployed in prod while prefect lives in staging. The plan is to migrate everything to staging, but until then, any new release issued in prod cannot work; i see these errors
stream logs failed container "batch-rewards" in pod "dune-sync-mainnet-batch-rewards-cj-..." is waiting to start: trying and failing to pull image for analytics/dune-sync-mainnet-batch-rewards-cj-...(batch-rewards)

and i believe the reason is prefect. This PR removes the prefect deployment until we sort things out.

UPDATE: PR was applied and it worked but the latest run revealed another bug; PR #114 had not done a proper cleanup of the references to participation. Given it's a Saturday night and the script is still crashing, i decided to push the fix for that bug in this PR, which basically now serves as the working version of what I am tempting to deploy. We can discuss how to proceed with these on Monday

Copy link
Contributor

@bh2smith bh2smith left a comment

Choose a reason for hiding this comment

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

Seems legit.

@harisang
Copy link
Contributor Author

harisang commented Oct 26, 2024

Yeap, this seems to have done it. Things work now, and both order rewards and batch rewards jobs seem to have finished properly and synced the relevant data.

@bh2smith
Copy link
Contributor

Too bad my approval doesn't count and you have to wait till Monday. Have fun until then.

@harisang
Copy link
Contributor Author

Closing this as the issues here are addressed by PR #123 and PR #122

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.

2 participants