Fix failing CI lint check and document CI completion expectations#22
Merged
Conversation
Tasks: - T20260510-19: Fix failing CI lint check and document CI completion expectations
…00efca # Conflicts: # test/integration/unapply_test.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Task
T20260510-19 — Fix failing CI lint check and document CI completion expectations
Description
Problem
The latest GitHub Actions
CIworkflow is failing onmainbefore tests run. Run25638736264failed in theLint & Testjob during theLintstep with:func (*Engine).workspacesDirs is unused (unused)The failing run is https://github.com/danieljhkim/monodev/actions/runs/25638736264 on commit
63491c5dfbfb06894a9b105ec879ca48db17df69.There is also no root
CLAUDE.mdyet, but this task should add one or update it if it appears before implementation. The file must instruct future agents to check and pass CI checks once work is complete.Why It Matters
CI is currently blocking reliable merges and skips the unit/integration test steps because lint fails first. Adding explicit agent guidance should reduce recurrence by making CI verification part of the expected completion checklist.
Constraints / Notes
(*Engine).workspacesDirsissue unless investigation finds a directly related cause.CLAUDE.mdmay need to be created at the repository root because it does not currently exist.make lint,make test, andmake test-integration; the GitHub workflow runsgolangci/golangci-lint-action@v4, thenmake test, thenmake test-integration.Acceptance Criteria
make lintor an equivalent localgolangci-lint run ./...check completes with no unused-code findings, including no finding for(*Engine).workspacesDirs.make testcompletes successfully.make test-integrationcompletes successfully, or any environment-specific blocker is documented with the exact command output and the GitHub CI run is used as the final source of truth.CLAUDE.mdexists and includes an explicit instruction that agents must check CI status and ensure CI checks pass after completing work.CIworkflow, and theLint & Testjob passes all steps:Lint,Test, andIntegration Test.Execution Summary
Click to expand
Outcome: success
Changes:
(*Engine).workspacesDirshelper frominternal/engine/workspace_state.go, resolving the golangci-lint unused finding without weakening linting.CLAUDE.mdwith explicit guidance to check CI status and ensure CI checks pass after work is complete, plus the local CI-equivalent commands.ErrValidation/ErrDriftand preserves the drifted file and workspace state.Assessment: Local lint, unit tests, and integration tests pass. CI rerun remains pipeline-owned after the branch/PR is pushed.
Validation
Branch Freshness
origin/mainorbit/T20260510-19-6a00efcaauthored by: gpt-5