Skip to content

Link portal triggers through child pipeline results - #96

Merged
yoshifuminakamura merged 1 commit into
developfrom
feature/portal-trigger-parent-pipeline-link
Aug 7, 2026
Merged

Link portal triggers through child pipeline results#96
yoshifuminakamura merged 1 commit into
developfrom
feature/portal-trigger-parent-pipeline-link

Conversation

@yoshifuminakamura

Copy link
Copy Markdown
Collaborator

Summary

Carry Portal trigger metadata through GitLab child pipelines and use it to link results back to trigger runs.

Details

  • Forward the parent pipeline ID into generated child pipeline YAML as PARENT_PIPELINE_ID.
  • Write parent_pipeline_id into result JSON alongside the child pipeline_id.
  • Send manual Portal trigger metadata as BK_TRIGGER_ID, BK_TRIGGER_TYPE=manual_button, and BK_TRIGGER_REASON.
  • Resolve Run Cause from direct result metadata, child pipeline IDs, or parent pipeline IDs.
  • Show parent pipeline information in the results table and result detail view.

Validation

  • bash scripts/tests/test_process_and_send_results.sh
  • bash scripts/tests/test_result_profile_data.sh
  • shellcheck -S error scripts/matrix_generate.sh scripts/result.sh scripts/job_functions.sh scripts/result_server/process_and_send_results.sh scripts/tests/test_process_and_send_results.sh scripts/tests/test_result_profile_data.sh
  • /home/nakamura/fugakunext/venv/bin/python result_server/tests/run_result_server_tests.py -q
  • git diff --check

Signed-off-by: yoshifuminakamura <nakamura@riken.jp>
@yoshifuminakamura
yoshifuminakamura merged commit 9596bae into develop Aug 7, 2026
9 checks passed
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.

1 participant