Skip to content

Add a starter CLI for a self-check script#3778

Open
MoralCode wants to merge 4 commits intomainfrom
feat/selfcheck
Open

Add a starter CLI for a self-check script#3778
MoralCode wants to merge 4 commits intomainfrom
feat/selfcheck

Conversation

@MoralCode
Copy link
Copy Markdown
Collaborator

@MoralCode MoralCode commented Mar 19, 2026

Description
This is a first pass at adding a self check script to grab data from augur that may be used to measure an augur instances own health (complimentary to grafana)

This PR works on #3485
Screenshot_20260318_143059

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

process_repo_group_csv,
)

from ._cli_util import get_db_version
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[pylint] reported by reviewdog 🐶
W0611: Unused get_db_version imported from _cli_util (unused-import)

# SPDX-License-Identifier: MIT
import logging
import click
import sqlalchemy as s
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[pylint] reported by reviewdog 🐶
W0611: Unused sqlalchemy imported as s (unused-import)

from augur.application.db.models.augur_data import Commit

# from augur.application.db.session import DatabaseSession
from datetime import datetime
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[pylint] reported by reviewdog 🐶
W0611: Unused datetime imported from datetime (unused-import)


# from augur.application.db.session import DatabaseSession
from datetime import datetime
from augur.application.db.models import Repo
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[pylint] reported by reviewdog 🐶
W0611: Unused Repo imported from augur.application.db.models (unused-import)

from datetime import datetime
from augur.application.db.models import Repo

from ._cli_util import get_db_version
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[pylint] reported by reviewdog 🐶
W0611: Unused get_db_version imported from _cli_util (unused-import)

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.

1 participant