canonical / canonical/git-integrator

Add method to GitRequirer to surface relations with errorneous data

Open
#11 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Problem statement

The airflow-coordinator charm surfaces an error (along with going into `BlockedStatus`) if the related git-integrator has data and the data does not include required fields

This seems a great candidate method/property to add to the `GitRequirer` class

### Enhancement Proposal

Add a method/property to the `GitRequirer` class that returns all relations/relation ids that are not well formatted. Exclude relations with no relation data (to disqualify relations waiting for the git-integrator to populate relation data as erroneous). This method/property can implement relation data validations to be executed on the requirer charm, and can also be used to improve `GitRequirer.is_ready()` implementation

### What needs to get done?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.