[ca] CI Cleaner: Fix Go code formatting #9321
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes Go code formatting issues discovered by the CI cleaner automated workflow.
Changes
pkg/workflow/compiler_jobs.go(added proper comment line spacing)CI Environment Constraints
The CI cleaner workflow encountered several environment limitations:
makecommand failed due to GLIBC 2.38 requirementValidation
✅ Go formatting: Applied using
⚠️ Test failures: Several pre-existing test failures detected (detailed below)
go fmt ./...✅ Go vet: Passed basic linting checks
Test Failures Analysis
The following test failures appear to be pre-existing issues or feature work in progress:
1. Action Pin Version Mismatches
TestActionPinResolutionWithMismatchedVersions: Documents known issues where action_pins.json has mismatches between keys and version fieldsai-inference@v1→ expects v2.0.4 but gets v2github-script@v7→ expects v8.0.0 but gets v7.1.02. Safe Outputs Configuration
TestGenerateSafeOutputsConfig/create-agent-session_config: Missing "create_agent_session" key (likely feature in development)TestGenerateFilteredToolsJSON/create_agent_sessions_enabled: Similar issue with agent session tools3. Other Test Failures
TestComputeTextLazyInsertion/workflow_with_text_usageTestProtocolSpecificDomainsIntegration/Mixed_protocol_domains_in_safe-outputsTestPRBranchCheckout/no_contents_permission_should_NOT_add_PR_checkoutTestPRCheckout/no_contents_permission_should_NOT_add_checkoutTestInvalidBranchPrefixRejectsConfig/too_shortTestStepSummaryIncludesProcessedOutputTestCompileWorkflowWithChunkingThese failures appear to be testing edge cases or features currently under development and are not related to the formatting changes made in this PR.
Recommendations
make deps-devto CI cleaner workflow to ensure all tools are availablepkg/workflow/data/action_pins.jsonto fix version mismatchesRelated