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

DRAFT: kcidb-automatching #547

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

helen-fornazier
Copy link
Collaborator

kcidb-automatching is supposed to be a command line tool that kcidb can use to create incidents automatically when new nodes (tests or builds) arrive when the nodes matches with rules defined in issues.

We are discussed the schema on https://gist.github.com/helen-fornazier/0e9528d7d011e07f08c3a19f997ac5b0/edit
But since I want to exercise the entire process, for now I just used kcidb-io as a schema, assuming all string fields are regexes, and adding a log_regex field to match the content of log. This is supposed to be temporary, as I'd like to see how everything would glue together, than we can go back to the schema discussion, and we can also work on specific details to improve performance.

See kcidb-automatching/README.md for more details.

My next step is: understand where in kcidb this would be integrated and how, so I can make the appropriate changes to kcidb-automatching.

cc @JenySadadia @spbnick @hardboprobot

See kcidb-automatching/README.md

Signed-off-by: Helen Koike <[email protected]>
@r-c-n
Copy link
Collaborator

r-c-n commented Jul 26, 2024

@helen-fornazier the gist link is this one (same minus the /edit): https://gist.github.com/helen-fornazier/0e9528d7d011e07f08c3a19f997ac5b0

Any plans on how to apply this practically in a way that's not O(n)? IMO that should be the first problem to address.

@helen-fornazier helen-fornazier force-pushed the automatching branch 2 times, most recently from 70a7739 to 56986a8 Compare August 12, 2024 14:42
kcidb-ingest -d "sqlite:mykcidb.sqlite" < automatch-test.json | kcidb-ingest -d "sqlite:mykcidb.sqlite"
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