Skip to content

fix(ci): skip _test.go files in semantic analysis#28

Merged
svczero merged 1 commit into
mainfrom
fix/ci-skip-test-files
Jun 11, 2026
Merged

fix(ci): skip _test.go files in semantic analysis#28
svczero merged 1 commit into
mainfrom
fix/ci-skip-test-files

Conversation

@svczero

@svczero svczero commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Final fix in the Semantic Analysis chain. With the Go toolchain and stderr fixes in place, sfw diff processes production files but errors on _test.go files (input packages list is empty -- the single-file loader can't form a package from a test file in isolation). Skip test files in the diff loop; they don't affect the production semantics this check guards. Verified locally: production files process (store.go 94%, constants 100%); test files fail and are now skipped.

sfw's single-file loader can't build a package from a test file in isolation (fails with 'input packages list is empty'), and test-file changes don't affect the production semantics this check guards. Skip them in the diff loop.
@svczero svczero merged commit f69849f into main Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant