Skip to content

4216 Gracefully handle missing workflows in deployment execution listing#4230

Merged
ivicac merged 2 commits intomasterfrom
4216
Feb 18, 2026
Merged

4216 Gracefully handle missing workflows in deployment execution listing#4230
ivicac merged 2 commits intomasterfrom
4216

Conversation

@ivicac
Copy link
Contributor

@ivicac ivicac commented Feb 18, 2026

Skip jobs referencing non-existent workflows or projects instead of
crashing with NoSuchElementException, and replace OptionalUtils with
standard Optional methods.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

ivicac and others added 2 commits February 18, 2026 08:22
Skip jobs referencing non-existent workflows or projects instead of
crashing with NoSuchElementException, and replace OptionalUtils with
standard Optional methods.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…execution fetch

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ivicac ivicac linked an issue Feb 18, 2026 that may be closed by this pull request
@ivicac ivicac requested a review from Copilot February 18, 2026 07:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates workflow execution retrieval to avoid crashing when jobs reference missing workflows/projects, and modernizes Optional handling in the execution facade.

Changes:

  • Replace OptionalUtils usages with standard Optional APIs in getWorkflowExecution.
  • In getWorkflowExecutions, skip jobs whose workflow or associated project can’t be resolved, logging warnings instead of throwing.
  • Replace Page.map(...) construction with manual list building + PageImpl to support skipping invalid entries.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link

@ivicac ivicac merged commit 50c7f2c into master Feb 18, 2026
7 checks passed
@ivicac ivicac deleted the 4216 branch February 18, 2026 19:10
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.

[bug]: deployments aren't showing on production

1 participant

Comments