orbitalci / orbital

Orbital is a self-hosted CI system for solo/small consulting dev teams. Written in Rust.
GNU General Public License v3.0
29 stars 2 forks source link

Active states from server are inaccurate #264

Open tjtelan opened 3 years ago

tjtelan commented 3 years ago

When we poll, we only want to check on resources that are active. However, it seems that when we talk to the list orgs from the server, they are returning with active state disabled. But a quick check in the DB confirms that is not correct.

This could be true for other resources such as repos and secrets.

We need a test that checks for this by looking in the database and verifying through the grpc call. Probably not a test that runs by default since we need to start a database and a server.