Skip to content
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

fix: get logs from artifact when workflow deleted instead of archived. Fixes: #14083 #14087

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

shuangkun
Copy link
Member

get logs from artifact when workflow deleted instead of archived

Fixes #14083

Motivation

Modifications

Verification

Before:
image

After fix:
image

Signed-off-by: shuangkun <tsk2013uestc@163.com>
@shuangkun shuangkun force-pushed the archivedWorkflowLog branch from 23d40a1 to 539b42b Compare January 15, 2025 14:26
Copy link
Member

@tczhao tczhao left a comment

Choose a reason for hiding this comment

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

Could you explain how things work in your future PR.
People come in and out of the open source project, more context is helpful.

we have

	// * `Archived` - has been archived and has live manifest
	// * `Persisted` - has been archived and retrieved from db

archived comes from isArchivedWorkflow checks for Archived and Persisted
isWorkflowInCluster checks for Archived, allows workflow that are live to get logs from live pod instead of archived log

@tczhao tczhao merged commit b1a65e7 into argoproj:main Jan 15, 2025
17 checks passed
@shuangkun shuangkun added area/ui area/archive-logs Archive Logs feature labels Jan 15, 2025
isubasinghe pushed a commit to pipekit/argo-workflows that referenced this pull request Jan 30, 2025
…Fixes: argoproj#14083 (argoproj#14087)

Signed-off-by: shuangkun <tsk2013uestc@163.com>
isubasinghe pushed a commit to pipekit/argo-workflows that referenced this pull request Jan 30, 2025
…Fixes: argoproj#14083 (argoproj#14087)

Signed-off-by: shuangkun <tsk2013uestc@163.com>
isubasinghe pushed a commit to pipekit/argo-workflows that referenced this pull request Jan 31, 2025
…Fixes: argoproj#14083 (argoproj#14087)

Signed-off-by: shuangkun <tsk2013uestc@163.com>
isubasinghe pushed a commit that referenced this pull request Jan 31, 2025
…Fixes: #14083 (#14087)

Signed-off-by: shuangkun <tsk2013uestc@163.com>
isubasinghe pushed a commit that referenced this pull request Jan 31, 2025
…Fixes: #14083 (#14087)

Signed-off-by: shuangkun <tsk2013uestc@163.com>
Joibel pushed a commit that referenced this pull request Feb 7, 2025
…Fixes: #14083 (#14087)

Signed-off-by: shuangkun <tsk2013uestc@163.com>
(cherry picked from commit b1a65e7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/archive-logs Archive Logs feature area/ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The pod exists in the cluster but log show "no artifact logs are available"
2 participants