Skip to content

large execution: handle execution variable#417

Merged
yashsinghcodes merged 2 commits into
Shuffle:mainfrom
yashsinghcodes:main
Jun 26, 2026
Merged

large execution: handle execution variable#417
yashsinghcodes merged 2 commits into
Shuffle:mainfrom
yashsinghcodes:main

Conversation

@yashsinghcodes

Copy link
Copy Markdown
Member

No description provided.

@yashsinghcodes yashsinghcodes merged commit c562315 into Shuffle:main Jun 26, 2026
3 of 5 checks passed
Comment thread shared.go
"id": "%s_%s"
}`, itemSize, workflowExecution.ExecutionId, actionId)

if err := ioutil.WriteFile(localPath, []byte(execVar.Value), 0644); err != nil {
Comment thread shared.go

if err := ioutil.WriteFile(localPath, []byte(execVar.Value), 0644); err != nil {
dirPath := fmt.Sprintf("%s/large_executions/%s", basepath, workflowExecution.ExecutionOrg)
if mkdirErr := os.MkdirAll(dirPath, 0755); mkdirErr != nil {
Comment thread shared.go
if mkdirErr := os.MkdirAll(dirPath, 0755); mkdirErr != nil {
log.Printf("[WARNING][%s] Failed creating directory %s: %s (original write error: %s)", workflowExecution.ExecutionId, dirPath, mkdirErr, err)
workflowExecution.Workflow.ExecutionVariables[execVarIndex].Value = "Size too large. Removed."
} else if retryErr := ioutil.WriteFile(localPath, []byte(execVar.Value), 0644); retryErr != nil {
Comment thread shared.go
"id": "%s_%s"
}`, itemSize, workflowExecution.ExecutionId, actionId)

if err := ioutil.WriteFile(localPath, []byte(execVar.Value), 0644); err != nil {
Comment thread shared.go

if err := ioutil.WriteFile(localPath, []byte(execVar.Value), 0644); err != nil {
dirPath := fmt.Sprintf("%s/large_executions/%s", basepath, workflowExecution.ExecutionOrg)
if mkdirErr := os.MkdirAll(dirPath, 0755); mkdirErr != nil {
Comment thread shared.go

if err := ioutil.WriteFile(localPath, []byte(param.Value), 0644); err != nil {
dirPath := fmt.Sprintf("%s/large_executions/%s", basepath, workflowExecution.ExecutionOrg)
if mkdirErr := os.MkdirAll(dirPath, 0755); mkdirErr != nil {
Comment thread shared.go
if mkdirErr := os.MkdirAll(dirPath, 0755); mkdirErr != nil {
log.Printf("[WARNING][%s] Failed creating directory %s: %s (original write error: %s)", workflowExecution.ExecutionId, dirPath, mkdirErr, err)
workflowExecution.Workflow.Actions[actionIndex].Parameters[paramIndex].Value = "Size too large. Removed."
} else if retryErr := ioutil.WriteFile(localPath, []byte(param.Value), 0644); retryErr != nil {
Comment thread shared.go
"id": "%s_%s"
}`, itemSize, workflowExecution.ExecutionId, actionId)

if err := ioutil.WriteFile(localPath, []byte(param.Value), 0644); err != nil {
Comment thread shared.go

if err := ioutil.WriteFile(localPath, []byte(param.Value), 0644); err != nil {
dirPath := fmt.Sprintf("%s/large_executions/%s", basepath, workflowExecution.ExecutionOrg)
if mkdirErr := os.MkdirAll(dirPath, 0755); mkdirErr != nil {
Comment thread shared.go
if mkdirErr := os.MkdirAll(dirPath, 0755); mkdirErr != nil {
log.Printf("[WARNING][%s] Failed creating directory %s: %s (original write error: %s)", workflowExecution.ExecutionId, dirPath, mkdirErr, err)
workflowExecution.Workflow.Actions[actionIndex].InvalidParameters[paramIndex].Value = "Size too large. Removed."
} else if retryErr := ioutil.WriteFile(localPath, []byte(param.Value), 0644); retryErr != nil {
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.

2 participants