-
Notifications
You must be signed in to change notification settings - Fork 45
bot #551
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
base: main
Are you sure you want to change the base?
bot #551
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What have you been doing to test this before you deploy updates? I think we should enable CI that at least does some minimal testing
# ============================================================================= | ||
|
||
# --- Discord --- | ||
bot_token = "${{ secrets.BOT_TOKEN }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From what I've seen they get sanitized if printed, but I'll change it to meet best practices
|
||
### Local Development with DynamoDB | ||
|
||
For local development, you can use DynamoDB Local, which is provided by AWS as a downloadable version that simulates the DynamoDB service. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this copy the database to the local machine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it just uses a local db. Copying would be a nice thing to do yeah. I'll look into it, I've done it ages ago so I def need a refresher
|
||
# Sparta Rollup Tools | ||
|
||
This repository contains tools for interacting with the Sparta Rollup, including a subgraph for The Graph and scripts for querying committee membership. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rollup?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AI wrote this lol. It's very outdated actually, there's no subgraph anymore and etc. Needs updating
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few questions:
- Should this page include some docs about the API endpoints?
- did you add a command that allows approved users to add themselves to the set?
- Can you add some instructions about the intended flow for someone to update this? If someone on the team wants to add a command, what is the intended workflow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs on the API endpoints are autogenerated in /api/docs
once you run the service... Not sure if they're needed in the readme. Same for adding themselves to the set, you can just use the API page (swagger).
But for the instructions yeah I can add some instructions, this is terraform and everything runs correctly with just terraform apply --var-file <var-file>
but it assumes whoever is updating it understands basics on terraform
No testing for now 😬 the reason I haven't invested too much in tests is just that requirements change so much, I'd just be having double trouble. But it may just be the time to add some proper testing yeah |
No description provided.