Skip to content

fix(commands): correct CODELLENS -> CODELENS typo in strict import env var - closes #39#79

Merged
Wolfvin merged 2 commits into
mainfrom
fix/39-strict-import-typo-fixup
Jun 28, 2026
Merged

fix(commands): correct CODELLENS -> CODELENS typo in strict import env var - closes #39#79
Wolfvin merged 2 commits into
mainfrom
fix/39-strict-import-typo-fixup

Conversation

@Wolfvin

@Wolfvin Wolfvin commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Summary

Fixup of PR #69 by syf2211. The original PR had the env var spelled CODELLENS_STRICT_COMMANDS (double L) in all 4 files. Issue #39 specifies CODELENS_STRICT_COMMANDS (single L). This PR corrects the typo and supersedes #69.

What changed

Only the typo fix (CODELLENS to CODELENS) in 4 files:

  • .gitlab-ci.yml
  • scripts/commands/__init__.py
  • tests/conftest.py
  • tests/test_command_registry.py

Plus uv.lock added to .gitignore (artifact from local testing, should not be committed).

All other changes from syf2211's PR #69 are unchanged:

Credit

All implementation credit to @syf2211 (PR #69). This fixup branch only corrects the env var typo that was blocking merge.

Verification

  • PYTHONPATH=scripts CODELENS_STRICT_COMMANDS=1 python3 -m pytest tests/test_command_registry.py -v - 2 passed
  • No CODELLENS remaining in any file (verified via grep)

Related

syf2211 and others added 2 commits June 28, 2026 11:04
Add CODELLENS_STRICT_COMMANDS for CI/dev fail-fast when a command module
fails to import, plus a meta-test ensuring every commands/*.py registers
at least one CLI command. Also register the missing self-analyze command.

Fixes #39
…v var

syf2211's PR #69 had the env var spelled CODELLENS_STRICT_COMMANDS (double
L) in all 4 files. Issue #39 specifies CODELENS_STRICT_COMMANDS (single L).
Anyone reading the issue and setting the env var with the correct spelling
would get no effect - strict mode silently wouldn't activate.

This fixup branch is based on syf2211's work (credited) with only the
typo corrected. All other changes (strict mode fail-fast, self_analyze
registration fix, meta-test, CI integration) are unchanged.

Closes #39
Supersedes #69
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Wolfvin Wolfvin merged commit 541dfbd into main Jun 28, 2026
1 of 6 checks passed
@sonarqubecloud

Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

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.

[BUG-09] Command auto-import silently drops broken modules — registry missing commands with no CI signal

2 participants