Go Logger Enhancement #233
go-logger.lock.yml
on: schedule
Annotations
5 errors and 3 warnings
|
agent
Main orchestration (CompileWorkflows function)\n","numLines":10,"startLine":1,"totalLines":10}}}
|
|
agent
JavaScript runtime mode compatibility\n//\n// # Pass-Through Field Validation\n//\n// Several workflow frontmatter fields are \"pass-through\" fields - they are extracted\n// from frontmatter and passed directly to GitHub Actions without modification:\n// - concurrency: Workflow concurrency control\n// - container: Container configuration for jobs\n// - environment: GitHub environment configuration\n// - env: Environment variables\n// - runs-on: Runner selection\n// - services: Service containers\n//\n// These fields ARE validated during frontmatter parsing using JSON Schema validation\n// (see pkg/parser/schemas/main_workflow_schema.json). The schema catches:\n// - Invalid data types (e.g., array when object expected)\n// - Missing required properties (e.g., container missing 'image')\n// - Invalid additional properties (e.g., unknown fields in concurrency)\n// - Structure violations (e.g., runs-on as number instead of string/array/object)\n//\n// Schema validation happens in pkg/parser/schema_validation.go during frontmatter\n// parsing, so errors are caught at compile time rather than GitHub Actions runtime.\n// See pkg/parser/schema_passthrough_validation_test.go for comprehensive test coverage.\n//\n// # When to Add New Validation\n//\n// Add validation to existing domain files when:\n// - It fits the domain (e.g., package validation → pip_validation.go)\n// - It extends existing functionality\n//\n// Create a new validation file when:\n// - It represents a distinct validation domain\n// - It has multiple related validation functions\n// - It requires its own caching or state management\n//\n// # Validation Patterns\n//\n// The validation system uses several patterns:\n// - Schema validation: JSON schema validation with caching\n// - External resource validation: Docker images, npm/pip packages\n// - Size limit validation: Expression sizes, file sizes\n// - Feature detection: Repository capabilities\n// - Security validation: Permission restrictions, expression safety\n\npackage workflow\n","numLines":71,"startLine":1,"totalLines":71}}}
|
|
agent
Main workflow orchestration and YAML generation\n//\n// The orchestrator follows a phased approach with typed result structures\n// for clear data flow between compilation stages. Each module handles a specific\n// concern in the compilation pipeline, making the codebase easier to understand\n// and maintain.\npackage workflow\n\nimport (\n\t\"github.com/github/gh-aw/pkg/logger\"\n)\n\n// Shared logger used across compiler orchestrator modules\nvar detectionLog = logger.New(\"workflow:detection\")\n","numLines":23,"startLine":1,"totalLines":23}}}
|
|
agent
Topological ordering\n9\tpackage parser\n10\t\n11\timport \"github.com/github/gh-aw/pkg/logger\"\n12\t\n13\tvar importLog = logger.New(\"parser:import_processor\")\n14\t\n15\t// ImportsResult holds the result of processing imports from frontmatter\n16\ttype ImportsResult struct {\n17\t\tMergedTools string // Merged tools configuration from all imports\n18\t\tMergedMCPServers string // Merged mcp-servers configuration from all imports\n19\t\tMergedEngines []string // Merged engine configurations from all imports\n20\t\tMergedSafeOutputs []string // Merged safe-outputs configurations from all imports\n21\t\tMergedMCPScripts []string // Merged mcp-scripts configurations from all imports\n22\t\tMergedMarkdown string // Only contains imports WITH inputs (for compile-time substitution)\n23\t\tImportPaths []string // List of import file paths for runtime-import macro generation (replaces MergedMarkdown)\n24\t\tMergedSteps string // Merged steps configuration from all imports (excluding copilot-setup-steps)\n25\t\tCopilotSetupSteps string // Steps from copilot-setup-steps.yml (inserted at start)\n26\t\tMergedPreSteps string // Merged pre-steps configuration from all imports (prepended in order)\n27\t\tMergedPreAgentSteps string // Merged pre-agent-steps configuration from all imports (prepended in order)\n28\t\tMergedRuntimes string // Merged runtimes configuration from all imports\n29\t\tMergedRunInstallScripts bool // true if any imported workflow sets run-install-scripts: true (global or node-level)\n30\t\tMergedServices string // Merged services configuration from all imports\n31\t\tMergedNetwork string // Merged network configuration from all imports\n32\t\tMergedPermissions string // Merged permissions configuration from all imports\n33\t\tMergedSecretMasking string // Merged secret-masking steps from all imports\n34\t\tMergedBots []string // Merged bots list from all imports (union of bot names)\n35\t\tMergedSkipRoles []string // Merged skip-roles list from all imports (union of role names)\n36\t\tMergedSkipBots []string // Merged skip-bots list from all imports (union of usernames)\n37\t\tMergedActivationGitHubToken string // GitHub token from on.github-token in first imported workflow that defines it\n38\t\tMergedActivationGitHubApp string // JSON-encoded on.github-app from first imported workflow that defines it\n39\t\tMergedTopLevelGitHubApp string // JSON-encoded top-level github-app from first imported workflow that defines it\n40\t\tMergedCheckout string // JSON-encoded checkout configurations from imported workflows (one JSON value per line)\n41\t\tMergedPostSteps string // Merged post-steps configuration from all imports (appended in order)\n42\t\tMergedLabels []string // Merged labels from all imports (union of label names)\n43\t\tMergedCaches []string // Merged cache configurations from all imports (appended in order)\n44\t\tMergedJobs string // Merged jobs from imported YAML workflows (JSON format)\n45\t\tMergedEnv string // Merged env configuration from all imports (JSON format)\n46\t\tMergedEnvSources map[string]string // env var name → source import path (for conflict detection and lock file header listing)\n47\t\tMergedFeatures []map[string]any // Merged features configuration from all imports (parsed YAML structures)\n48\t\tMergedObservability string // Observability config (JSON) from first import that defines it (first-wins)\n49\
|
|
update_cache_memory
Unable to download artifact(s): Artifact not found for name: cache-memory
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
|
|
activation
Deprecated: 1 {{#import}} directive(s) found. Use {{#runtime-import}} or the 'imports:' frontmatter field instead.
|
|
agent
No files were found with the provided path: /tmp/gh-aw/cache-memory. No artifacts will be uploaded.
|
|
agent
GitHub MCP guard policy automatically applied for public repository. min-integrity='approved' and repos='all' ensure only approved-integrity content is accessible.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
activation
Expired
|
24.4 KB |
sha256:8287d7630d7193c382cc262d2e4233049a9e845e43d54d20b13e60fd4c757d5a
|
|
|
agent
|
420 KB |
sha256:4bcc172a58e2a3603e0025e0d5331470fdb2956642c6ed00d91a9f26173770e5
|
|
|
detection
|
17.4 KB |
sha256:a29bfe4a8b7bb543fa5f6d31b76bfd97a3e602140201fa22bc98492513d55c7e
|
|
|
safe-outputs-items
|
301 Bytes |
sha256:62a32ff6cadd10e1740525c2d90f14ddce4c9b017a453c3964ee59f10203c44b
|
|