Michelangelo Mori

Results 32 issues of Michelangelo Mori

# Summary The idea is to make it easier to extend github webhook with events that are tied to more than one repository, namely "installation" and "installation_repositories", which are necessary...

Currently, the GitHub webhook handler treats different event types uniformly and the "dispatch logic" for each event is spread over multiple routines. This makes it harder to extend the logic...

### Describe the issue Tests using `createRandomOrganization` occasionally run into a key violation due to [this line](https://github.com/stacklok/minder/blob/main/internal/db/organizations_test.go#L37) creating identical names when lower-cased. ``` ❌ TestCreateProfileStatusMultiRuleTransitions/0x87 (30ms) profiles_test.go:2802: Error Trace: /Users/michelangelo/stacklok/minder/internal/db/organizations_test.go:42...

bug
P2

### Describe the issue Feature flags evaluated outside the context of a request don't populate `EvaluationContext` correctly. An example of where this bug happens is [here](https://github.com/stacklok/minder/blob/main/internal/engine/eval_status.go#L204), which is the code...

bug
P2

**Describe the bug** The index value retrieved by using `Index` returns an offset that implicitly takes into account whether filtering is active, so an hypothetical value o `0` is actually...

Write an integration test covering the code path that goes from Minder receiving a webhook event to Minder opening a PR. The test should cover * webhook handler * transmission...

P0

Write an integration test covering the code path that goes from Minder receiving a webhook event to Minder opening a PR. The test should cover * webhook handler * transmission...

P0

Write an integration test covering the code path that goes from Minder receiving a webhook event to Minder opening a PR. The test should cover * webhook handler * transmission...

P1

Write an integration test covering the code path that goes from Minder receiving a webhook event to Minder opening a PR. The test should cover * webhook handler * transmission...

P1

Write an integration test covering the code path that goes from Minder receiving a webhook event to Minder opening a PR. The test should cover * webhook handler * transmission...

P0