Skip to content

fix: container image missing bandit and check-skill-names for pre-commit (#186) - #188

Closed
gerchowl wants to merge 7 commits into
devfrom
bugfix/186-missing-bandit-and-check-skill-names
Closed

gerchowl wants to merge 7 commits into
devfrom
bugfix/186-missing-bandit-and-check-skill-names

Conversation

@gerchowl

Copy link
Copy Markdown
Contributor

Description

Fixes pre-commit hook failures in freshly deployed workspaces. Two hooks were failing because their dependencies were missing from the container image and workspace template:

  1. bandit — Added to system-wide pip install in Containerfile (alongside pip-licenses, ruff, etc.)
  2. check-skill-names — Script deployed to workspace template via manifest (scripts/check-skill-names.sh)

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

Changelog Entry

Fixed

  • Container image missing bandit and check-skill-names.sh for workspace pre-commit hooks (#186)
    • Add bandit to system-wide pip install in Containerfile
    • Deploy scripts/check-skill-names.sh to workspace template via manifest

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

N/A — just test runs full suite including test_bandit_installed and test_manifest_files which verify bandit installation and check-skill-names.sh deployment.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

TDD: test added first (RED), then bandit installation (GREEN).

Refs: #186

@c-vigo

c-vigo commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Superseeded by #210

@c-vigo c-vigo closed this Mar 4, 2026
@c-vigo
c-vigo deleted the bugfix/186-missing-bandit-and-check-skill-names branch March 4, 2026 12:11
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