Agentic Workflow Audit Agent #31
audit-workflows.lock.yml
on: workflow_dispatch
Annotations
5 errors
|
agent
Errors detected in agent logs - continuing workflow step (not failing for now)
|
|
agent
Line 37: error logs\",\n \"is_directory\": true\n },\n {\n \"path\": \"aw_info.json\",\n \"size\": 548,\n \"size_formatted\": \"548 B\",\n \"description\": \"Engine configuration and workflow metadata\",\n \"is_directory\": true\n },\n {\n \"path\": \"check_membership\",\n \"size\": 430,\n \"size_formatted\": \"430 B\",\n \"description\": \"\",\n \"is_directory\": true\n }\n ],\n \"errors\": [\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 19,\n \"type\": \"error\",\n \"message\": \"Check compilation errors\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 22,\n \"type\": \"error\",\n \"message\": \"Rebuild and check compilation errors\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 35,\n \"type\": \"error\",\n \"message\": \"Extract error messages from recompile\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 41,\n \"type\": \"error\",\n \"message\": \"Build to temp and check compilation errors\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 58,\n \"type\": \"error\",\n \"message\": \"Check end of compile output\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 64,\n \"type\": \"error\",\n \"message\": \"Check last lines of make recompile\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 73,\n \"type\": \"error\",\n \"message\": \"Compiled 30 workflow(s): 2 error(s), 16 warning(s)\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 78,\n \"type\": \"error\",\n \"message\": \"Find which workflows have permission issues\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 89,\n \"type\": \"error\",\n \"message\": \"Get compile output with cat\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 104,\n \"type\": \"error\",\n \"message\": \"Rebuild gh-aw\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 110,\n \"type\": \"error\",\n \"message\": \"Check current state\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 121,\n \"type\": \"error\",\n \"message\": \"Run compile in new session\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 151,\n \"type\": \"error\",\n \"message\": \"Check gh-aw executable\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 163,\n \"type\": \"error\",\n \"message\": \"Run compile without piping\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 169,\n \"type\": \"error\",\n \"message\": \"Test gh-aw help\"\n },\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 175,\n \"type\": \"error\",\n \"message\": \"Check Go version\"\n }\n ],\n \"warnings\": [\n {\n \"file\": \"/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log\",\n \"line\": 21,\n \"type\": \"warning\",\n \"message\": \"Permission denied and could not request permission fro
|
|
agent
Line 31: error: Required permissions not specified. Contact repository administrator.\");\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/6_check_membership.txt:60: core.setOutput(\"result\", \"config_error\");\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/6_check_membership.txt:61: core.setOutput(\"error_message\", \"Configuration error: Required permissions not specified\");\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/6_check_membership.txt:90: \"error_message\",\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/6_check_membership.txt:93: } catch (repoError) {\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/6_check_membership.txt:94: const errorMessage = repoError instanceof Error ? repoError.message : String(repoError);\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/6_check_membership.txt:95: core.warning(`Repository permission check failed: ${errorMessage}`);\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/6_check_membership.txt:97: core.setOutput(\"result\", \"api_error\");\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/6_check_membership.txt:98: core.setOutput(\"error_message\", `Repository permission check failed: ${errorMessage}`);\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:17:● The recompile failed. Let me check what the errors are more carefully:\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:19:✗ Check compilation errors\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:20: $ ./gh-aw compile --validate --verbose 2>&1 | grep -A 10 \"✗\\|error\"\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:22:✗ Rebuild and check compilation errors\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:32: the recompile command failed with errors. Let me check if the lock files are up to date by\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:33: looking at the specific error messages more carefully:\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:35:✗ Extract error messages from recompile\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:36: $ make recompile 2>&1 | grep -E \"(✗|error:|Error)\" | head -30\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:38:● The compilation shows \"Permission denied\" errors. Let me check the specific workflow files that\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:41:✗ Build to temp and check compilation errors\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:44: \"error\\|Permission denied\" | head -50\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:46:● Let me try a different approach and check what the actual compilation errors are by looking at\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:61:● The \"Permission denied\" error is strange. Let me check if there's a specific issue with the\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:62: workflow files or if this is just a warning that's being treated as an error:\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:73: ✗ Compiled 30 workflow(s): 2 error(s), 16 warning(s)\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:92:● This is interesting - the error message itself is \"Permission denied and could not request\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:101: 30 workflow files\" and \"2 error(s), 16 warning(s)\". Let me see which ones failed by looking at\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:107:● Even the build is getting this error. This seems to be a broader permission issue. Let me check\n/tmp/gh-aw/aw-mcp/logs/run-18511049704/agent-stdio.log/agent-stdio.log:113:● There's a persistent \"Permission denied (Pattern: Permission denied error (requires error context), Raw log: {"type":"user","message":{"role":"user","content":[{"tool_use_id":"toolu_01BWKmtZKwNp4Sf499qQHf9C","type":"tool_result",...)
|
|
agent
Error reading or parsing agent output: ENOENT: no such file or directory, open '/tmp/gh-aw/safe-jobs/agent_output.json'\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:138:2025-10-14T21:18:04.5907836Z \u001b[36;1m echo \"Error: COPILOT_CLI_TOKEN secret is not set\"\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:215:2025-10-14T21:18:12.7469522Z \u001b[36;1m } catch (error) {\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:216:2025-10-14T21:18:12.7469942Z \u001b[36;1m debug(`Error reading config file: ${error instanceof Error ? error.message : String(error)}`);\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:226:2025-10-14T21:18:12.7473896Z \u001b[36;1m } catch (error) {\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:227:2025-10-14T21:18:12.7474548Z \u001b[36;1m debug(`Error parsing config from environment: ${error instanceof Error ? error.message : String(error)}`);\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:228:2025-10-14T21:18:12.7475288Z \u001b[36;1m throw new Error(`Failed to parse GITHUB_AW_SAFE_OUTPUTS_CONFIG: ${error instanceof Error ? error.message : String(error)}`);\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:268:2025-10-14T21:18:12.7488879Z \u001b[36;1m } catch (error) {\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:269:2025-10-14T21:18:12.7489286Z \u001b[36;1m throw new Error(`Parse error: ${error instanceof Error ? error.message : String(error)}`);\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:287:2025-10-14T21:18:12.7494222Z \u001b[36;1m } catch (error) {\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:288:2025-10-14T21:18:12.7494596Z \u001b[36;1m debug(`Parse error: ${error instanceof Error ? error.message : String(error)}`);\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:297:2025-10-14T21:18:12.7496933Z \u001b[36;1m function replyError(id, code, message, data) {\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:299:2025-10-14T21:18:12.7497566Z \u001b[36;1m debug(`Error for notification: ${message}`);\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:302:2025-10-14T21:18:12.7498270Z \u001b[36;1m const error = { code, message };\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:304:2025-10-14T21:18:12.7498811Z \u001b[36;1m error.data = data;\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:309:2025-10-14T21:18:12.7499900Z \u001b[36;1m error,\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:314:2025-10-14T21:18:12.7501298Z \u001b[36;1m if (!outputFile) throw new Error(\"No output file configured\");\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:319:2025-10-14T21:18:12.7502977Z \u001b[36;1m } catch (error) {\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:320:2025-10-14T21:18:12.7503427Z \u001b[36;1m throw new Error(`Failed to write to output file: ${error instanceof Error ? error.message : String(error)}`);\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:337:2025-10-14T21:18:12.7507798Z \u001b[36;1m if (!branchName) throw new Error(\"GITHUB_AW_ASSETS_BRANCH not set\");\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:345:2025-10-14T21:18:12.7510880Z \u001b[36;1m throw new Error(\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:351:2025-10-14T21:18:12.7513062Z \u001b[36;1m throw new Error(`File not found: ${filePath}`);\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:358:2025-10-14T21:18:12.7515672Z \u001b[36;1m throw new Error(`File size ${sizeKB} KB exceeds maximum allowed size ${maxSizeKB} KB`);\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:369:2025-10-14T21:18:12.7519244Z \u001b[36;1m throw new Error(`File extension '${ext}' is not allowed. Allowed extensions: ${allowedExts.join(\", \")}`);\u001b[0m\n/tmp/gh-aw/aw-mcp/logs/run-18510352568/1_agent.txt:409:2025-10-14T21:18:12.7532329Z \u001b[36;1m } catch (error)
|
|
detection
Unable to download artifact(s): Artifact not found for name: aw.patch
Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.
For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
agent-stdio.log
Expired
|
24.4 KB |
sha256:2c2598c7da6665e25351d6bd6f1acd9b9e090c94946f3afbc6ee08fa4844b8b2
|
|
|
agent_output.json
Expired
|
2.78 KB |
sha256:3fe2a5cb6f4442116df1639f3b15416ce1aa2051ff7472eca524974099a78931
|
|
|
aw_info.json
Expired
|
462 Bytes |
sha256:f175e0998260275ed53e2112ed0fa43d87696140ff867e79bc9ecaef31786f07
|
|
|
cache-memory
Expired
|
49.1 KB |
sha256:b58846354d9f4fcd59d043a7a0885bee6207ff1478b09cef17cb6fb1d57eae13
|
|
|
safe_output.jsonl
Expired
|
2.76 KB |
sha256:6751569fe95ed9c6f9755d6e9bb790d5804e8ea2d86607c421793d93b4963514
|
|
|
threat-detection.log
Expired
|
4.67 KB |
sha256:5012cb75e8041e540333572484ba4f710f40285e7422f7b5462ea551c4cb71d0
|
|