Skip to content

feat: Enable selection of all CI pipelines at once when the Environment filter is applied in Notifications #6526

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

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from

Conversation

prkhrkat
Copy link
Contributor

@prkhrkat prkhrkat commented Apr 20, 2025

Description

Fixes #6458

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?


@prkhrkat prkhrkat changed the title Notifier refac feat: Enable selection of all CI pipelines at once when the Environment filter is applied in Notifications Apr 23, 2025
Copy link

The migration files have successfully passed the criteria!!

1 similar comment
Copy link

The migration files have successfully passed the criteria!!

if err != nil {
impl.logger.Errorw("error in finding environments linked with ci pipeline", "pipelineId", event.PipelineId, "err", err)
} else {
event.EnvIdsForCiPipeline = []int{}
Copy link
Member

Choose a reason for hiding this comment

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

can instead do make([]int, 0, len(envs))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants