Skip to content

fix(executions): resolve subflow child execution ids in the logs tab (backport #20730) - #22878

Merged
elevatebart merged 1 commit into
releases/v2.0.xfrom
elevate-bot/backport-v2.0.x-subflow-logs-child-id
Nov 18, 2026
Merged

elevatebart merged 1 commit into
releases/v2.0.xfrom
elevate-bot/backport-v2.0.x-subflow-logs-child-id

Conversation

@elevatebart

Copy link
Copy Markdown
Contributor

Backport of #20730 to releases/v2.0.x.

โœจ Description

Since 2.0 the execution payload no longer embeds taskRun.outputs, so the Logs tab never finds a child execution id and the nested subflow log viewer never appears. Subflow task runs now resolve their child id through the outputs endpoint, cached per task run so a parent state change does not tear the child viewer down. This is a 2.0 regression, so 2.0.x users have it today.

Cherry-pick (-x) with adaptations:

  • the conflicts were develop's later typing of the component's refs and imports; 2.0.x keeps its own and gains only the two new imports and refs.
  • the new spec mounts with a local createI18n, the same way the existing TaskRunDetails.spec.ts does here, since tests/unit/i18nMount does not exist on this line.

Touches TaskRunDetails.vue like #22877; the two merge cleanly in either order.

๐ŸŽจ Frontend Checklist

  • Type checking passes (npm run check:types)
  • Unit tests pass (src/components/logs/, 9/9; 3 of the new cases fail against the unpatched 2.0.x component)
  • Lint passes on the touched files

Generated by Claude Code

โ€ฆ(backport #20730)

* fix(executions): resolve subflow child execution ids in the logs tab

Since 2.0 the execution payload no longer embeds `taskRun.outputs`, so the
Logs tab never found a child execution id and the nested subflow log viewer
never appeared. Subflow task runs now resolve their child id through the
outputs endpoint, cached per task run so a parent state change does not
tear the child viewer down.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* refactor(executions): drop narrative comments in subflow log resolution

Names already tell the story; the comments were just reading it aloud.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014G9mgnRTTAA6DykSMg3wn8

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
(cherry picked from commit 40562e1)

Backport adaptations: 2.0.x keeps its untyped refs and imports alongside the two new ones, and the new spec mounts with a local i18n since tests/unit/i18nMount does not exist on this line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HaCc1WQPzWtUceWN7H857T
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor
๐Ÿ”Ž OpenGrep โœ… (0 findings)

Found 0 finding(s).

๐Ÿท TruffleHog โœ… (0 secrets)

No secret found.

๐Ÿงช Frontend Tests โœ… (0 failed, 2783 passed, 0 skipped)
TestsPassed โœ…SkippedFailedTime โฑ
Frontend Tests (Unit)2515 ran2515 โœ…0 โš ๏ธ0 โŒ47s 518ms
Frontend Tests (Storybook)268 ran268 โœ…0 โš ๏ธ0 โŒ44s 337ms
๐Ÿ“„ OpenAPI Spec Changes

โŒ Failed to generate EE OpenAPI spec (EE branch: releases/v2.0.x).

Fetching distribution.
Downloading https://services.gradle.org/distributions/gradle-9.7.0-bin.zip
..............10%..............20%...............30%..............40%..............50%..............60%...............70%..............80%...............90%..............100%

Welcome to Gradle 9.7.0!

Here are the highlights of this release:
 - Isolated Projects graduates to incubating
 - Broader Configuration Cache compatibility
 - More source locations in problem reports

For more details see https://docs.gradle.org/9.7.0/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)
gradle/actions: Writing build results to /home/runner/_work/_temp/.gradle-actions/build-results/openapi-diff-1794997782181.json

[Incubating] Problems report is available at: file:///home/runner/_work/kestra-ee/kestra-ee/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* Where:
Build file '/home/runner/_work/kestra-ee/kestra-ee/build.gradle' line: 87

* What went wrong:
A problem occurred evaluating root project 'kestra-ee'.
> Failed to apply plugin 'com.google.cloud.artifactregistry.gradle-plugin'.
   > no JSON input found

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/9.7.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 31s
๐Ÿ‹ Docker image
ghcr.io/kestra-io/kestra-pr:22878
docker run --pull=always --rm -it -p 8080:8080 --user=root -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp ghcr.io/kestra-io/kestra-pr:22878 server local

Copy link
Copy Markdown
Contributor Author

Generate PR docker image / Publish Docker failed in its last step, comment-update: "API rate limit exceeded for installation" at 10:53 UTC. The image itself was built and pushed; the CI app's GitHub API quota ran out while posting the bot comment, and #22883 failed the same step at the same second. Nothing in this diff is involved. Re-ran the failed job once.


Generated by Claude Code

@elevatebart
elevatebart merged commit 789860a into releases/v2.0.x Nov 18, 2026
42 of 44 checks passed
@elevatebart
elevatebart deleted the elevate-bot/backport-v2.0.x-subflow-logs-child-id branch November 18, 2026 12:28
@github-project-automation github-project-automation Bot moved this from To review to Done in Pull Requests Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant