Skip to content

Claude/cleanup dotfiles repo 011 c uw82c97 md h4g m5wf9 a ag#2

Closed
ryanwclark1 wants to merge 2 commits into
mainfrom
claude/cleanup-dotfiles-repo-011CUw82c97MdH4gM5wf9AAg
Closed

Claude/cleanup dotfiles repo 011 c uw82c97 md h4g m5wf9 a ag#2
ryanwclark1 wants to merge 2 commits into
mainfrom
claude/cleanup-dotfiles-repo-011CUw82c97MdH4gM5wf9AAg

Conversation

@ryanwclark1

Copy link
Copy Markdown
Owner

No description provided.

Fix config test suite failures in Docker environment by:

1. Updated .dockerignore to keep .gitignore file
   - Tests check for .gitignore existence and content
   - Previously excluded, causing test failures

2. Made git-based test Docker-aware in test-configs.sh
   - Git test now checks if .git directory exists
   - Gracefully skips test in Docker (no .git directory)
   - Prevents "not a git repository" errors

This ensures all tests pass in both local and Docker CI environments.

Fixes GitHub Actions CI Docker test failures.
DevContainer configuration files use JSONC (JSON with Comments) format,
which is valid for VS Code but not compatible with strict JSON parsers
like jq.

Changes:
1. Updated .dockerignore to exclude .devcontainer/ directory
   - DevContainer files not needed in Docker test builds
   - Prevents JSONC validation errors

2. Updated GitHub Actions workflow to skip devcontainer files
   - Excludes .devcontainer/* from JSON validation
   - Also excludes tmux/plugins/* (third-party code)

This allows:
- DevContainer files to use comments (JSONC standard)
- CI/CD validation to pass
- Docker tests to run without JSONC conflicts

The .devcontainer/devcontainer.json file legitimately uses:
- // comments (JSONC feature)
- Trailing commas (JSONC feature)

These are intentional and valid for VS Code DevContainers.
@ryanwclark1 ryanwclark1 closed this Nov 9, 2025
@ryanwclark1
ryanwclark1 deleted the claude/cleanup-dotfiles-repo-011CUw82c97MdH4gM5wf9AAg branch November 9, 2025 00:43
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.

2 participants