Skip to content

fix: score Dockerfile variants#1543

Closed
MkDev11 wants to merge 1 commit into
entrius:testfrom
MkDev11:codex/score-dockerfile-variants
Closed

fix: score Dockerfile variants#1543
MkDev11 wants to merge 1 commit into
entrius:testfrom
MkDev11:codex/score-dockerfile-variants

Conversation

@MkDev11

@MkDev11 MkDev11 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Normalize suffixed Dockerfile names like Dockerfile.dev and Dockerfile.prod to the configured dockerfile scoring key.
  • Preserve existing extension behavior for bare Dockerfile, Makefile, dotted files such as build.mk, and unrelated extensionless files.
  • Add regression coverage for Dockerfile variant filenames.

Related Issues

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other (describe below)

Testing

  • Tests added/updated
  • Manually tested

Commands:

  • git diff --check
  • ./.venv/bin/pytest tests/test_classes.py -q (blocked locally by existing bittensor import conflict between scalecodec and cyscale)
  • Stubbed local import proof that Dockerfile.dev maps to dockerfile and reaches the tree-diff scoring path

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Changes are documented (if applicable)

@MkDev11 MkDev11 marked this pull request as ready for review June 25, 2026 01:52
@xiao-xiao-mao xiao-xiao-mao Bot added the bug Something isn't working label Jun 25, 2026
@anderdc anderdc closed this Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants