Skip to content

Conversation

hamir-suspect
Copy link
Contributor

@hamir-suspect hamir-suspect commented Sep 19, 2025

📝 Description

Feature branch for: #369

notifications

front

  • refreshes protos
  • adds tag field in notifications form
image

public-api-gateway

Refreshes protos in to add support for tags in notifications.
Pin protobuf tooling versions since @latest is now broken

✅ Checklist

  • I have tested this change
  • This change requires documentation update

## 📝 Description
- refreshes protos
- adds tag field in notifications form

<img width="416" height="164" alt="image"
src="https://github.com/user-attachments/assets/8d892f05-936b-4a32-9d62-716d81f32c13"
/>


## ✅ Checklist
- [x] I have tested this change
- [ ] This change requires documentation update
)

## 📝 Description
- refresh protos
- implement the updated API semaphoreci/api#39
(this API is also used by `front`)
- adds the filtering by tag rule if `git_ref_type == :TAG` so both
branch and tag rules can be defined in same notification

## ✅ Checklist
- [ ] I have tested this change
- [ ] This change requires documentation update
@github-project-automation github-project-automation bot moved this to Backlog in Roadmap Sep 19, 2025
@hamir-suspect hamir-suspect changed the title Feat/notifications tags feat(notifications): Support for tags Sep 19, 2025
…otifications (#596)

## 📝 Description
Refreshes protos in `public-api-gateway` to add support for tags in
notifications.
Upgrade versions in `public-api-gateway`.
A small fix in `notifications` service

## ✅ Checklist
- [x] I have tested this change
- [ ] This change requires documentation update
@hamir-suspect hamir-suspect enabled auto-merge (squash) September 22, 2025 11:11
@hamir-suspect hamir-suspect merged commit b56bb17 into main Sep 22, 2025
2 checks passed
@hamir-suspect hamir-suspect deleted the feat/notifications-tags branch September 22, 2025 11:31
hamir-suspect added a commit that referenced this pull request Sep 23, 2025
## 📝 Description
For task runs there is no hook -> failed processing of pipeline finished
message, this fixes the issue and takes if possible tag and pr names
from hook, otherwise falls back to pipeline data.

#### `logs`
```
INFO 2025-09-22T15:18:44.605829774Z [resource.labels.containerName: notifications] ** (UndefinedFunctionError) function nil.git_ref_type/0 is undefined
INFO 2025-09-22T15:18:44.605831724Z [resource.labels.containerName: notifications] nil.git_ref_type()
INFO 2025-09-22T15:18:44.605834104Z [resource.labels.containerName: notifications] (notifications 0.1.0) lib/notifications/workers/coordinator.ex:29: anonymous fn/1 in Notifications.Workers.Coordinator.PipelineFinished.handle_message/1
```
this issue was present before
#591 was merged also:
```
INFO 2025-09-22T12:33:05.523589599Z [resource.labels.containerName: notifications] ** (UndefinedFunctionError) function nil.pr_branch_name/0 is undefined
INFO 2025-09-22T12:33:15.596608567Z [resource.labels.containerName: notifications] ** (UndefinedFunctionError) function nil.pr_branch_name/0 is undefined
INFO 2025-09-22T12:33:25.758473405Z [resource.labels.containerName: notifications] ** (UndefinedFunctionError) function nil.pr_branch_name/0 is undefined
```
## ✅ Checklist
- [x] I have tested this change
- [ ] This change requires documentation update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

4 participants