Skip to content

fix(ci): restore the env-var-docs and used-by contract gates - #3618

Merged
inureyes merged 1 commit into
mainfrom
fix/restore-contract-gates-engram-usedby
Dec 1, 2026
Merged

inureyes merged 1 commit into
mainfrom
fix/restore-contract-gates-engram-usedby

Conversation

@inureyes

@inureyes inureyes commented Dec 1, 2026

Copy link
Copy Markdown
Member

Problem

main at b468c9628 fails two of the cheap consistency gates that every PR runs:

Both are documentation-side omissions; the code is correct. Either one alone would fail the contract gate of any PR that runs them, so every in-flight PR inherits a red gate it did not cause.

Change

  • Document MLXCEL_ENGRAM_OFFLOAD next to MLXCEL_PLE_IO and MLXCEL_PLE_CACHE_BYTES, the existing entries for external n-gram table handling. It is an operator-facing load switch, not an internal diagnostic, so documenting it is the right fix rather than allowlisting it.
  • Name the LFM3-Audio encoder in the Used by: roster of create_causal_mask_with_window_full.

Verification

make verify-env-var-docs    # PASS
make verify-used-by         # PASS

Both were confirmed failing on a pristine origin/main worktree before the change, and pass after it. No Rust behavior changes.

main is red on two cheap consistency gates. #3603 added MLXCEL_ENGRAM_OFFLOAD
without documenting or allowlisting it, and #3610 added a caller of
create_causal_mask_with_window_full without naming it in the function's
Used by roster. Both are documentation-side omissions, so the fixes are too:
document the engram offload switch beside the other external-n-gram-table
variables, and name the LFM3-Audio encoder in the roster.

verify-env-var-docs and verify-used-by both pass again.
@inureyes inureyes added type:bug Bug fixes, error corrections, or issue resolutions priority:high High priority labels Dec 1, 2026
@inureyes
inureyes merged commit 590c7e3 into main Dec 1, 2026
35 of 36 checks passed
@inureyes
inureyes deleted the fix/restore-contract-gates-engram-usedby branch December 1, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:high High priority type:bug Bug fixes, error corrections, or issue resolutions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant