{"record":{"id":"4519f45fe8fb275d","repo":"goharbor/harbor","slug":"invalid-execution-id-d","errorCode":null,"errorMessage":"invalid execution ID: %d","messagePattern":"invalid execution ID: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/pkg/retention/launcher.go","lineNumber":257,"sourceCode":"\t\t\tParameters: jobData.JobParams,\n\t\t\tMetadata: &job.Metadata{\n\t\t\t\tJobKind: job.KindGeneric,\n\t\t\t},\n\t\t},\n\t\t\tmap[string]any{\n\t\t\t\t\"repository\": jobData.Repository.Name,\n\t\t\t\t\"dry_run\":    jobData.JobParams[ParamDryRun],\n\t\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t}\n\treturn nil\n}\n\nfunc (l *launcher) Stop(ctx context.Context, executionID int64) error {\n\tif executionID <= 0 {\n\t\treturn launcherError(fmt.Errorf(\"invalid execution ID: %d\", executionID))\n\t}\n\treturn l.execMgr.Stop(ctx, executionID)\n}\n\nfunc launcherError(err error) error {\n\treturn errors.Wrap(err, \"launcher\")\n}\n\nfunc getProjects(ctx context.Context, projectMgr project.Manager) ([]*selector.Candidate, error) {\n\tprojects, err := projectMgr.List(ctx, nil)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tvar candidates []*selector.Candidate\n\tfor _, pro := range projects {\n\t\tcandidates = append(candidates, &selector.Candidate{\n\t\t\tNamespaceID: pro.ProjectID,\n\t\t\tNamespace:   pro.Name,","sourceCodeStart":239,"sourceCodeEnd":275,"githubUrl":"https://github.com/goharbor/harbor/blob/7b2fd08cc568955cca339afeefab27372840d936/src/pkg/retention/launcher.go#L239-L275","documentation":"Error \"invalid execution ID: %d\" thrown in goharbor/harbor.","triggerScenarios":"Thrown at src/pkg/retention/launcher.go:257 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"7b2fd08cc568955cca339afeefab27372840d936","analyzedAt":"2026-08-16T00:00:10.961Z","schemaVersion":2},"datasetVersion":"2026-08-16T03:17:38.424Z"}