<#7030 Add log links to task template> Pull reques...
# flyte-github
a
#7030 Add log links to task template Pull request opened by pingsutw Tracking issue NA Why are the changes needed? When a task template has
log_links
in its metadata, those links should be passed through to the log plugin system so they appear in the UI. This enables task authors to attach custom log links (e.g., to external monitoring systems) directly to task templates. What changes were proposed in this pull request? • Add
taskTemplate *core.TaskTemplate
as a second parameter to
InitializeLogPlugins
• When the task template has
log_links
in its metadata, prepend them as
TemplateLogPlugin
entries • Add
IconUri
field to
TemplateLogPlugin
struct • Update all callers of
InitializeLogPlugins
across dask, kfoperators, pod, ray, spark, and connector plugins to pass the task template (or
nil
where unavailable) • Update tests accordingly How was this patch tested? • All existing tests pass:
go test ./flyteplugins/...
•
go vet ./flyteplugins/...
passes cleanly •
go build ./flyteplugins/...
compiles successfully Labels • added: New feature for task template log links pass-through Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. 🤖 Generated with Claude Code •
main
• #6583 • #7030 👈 flyteorg/flyte