Repository navigation
mac: \cref leaves CommandDocs.beyondCompiler now that the compiler renders it - #465
Merged
Merged
Conversation
…nders it #460 (cleveref, the rebase of #434) added \cref to the compiler inventory, which turned the Mac drift guard red on main: CompletionTests.swift:476: error: -[FlashTeXMacTests.CompletionTests testCommandDocsNameOnlyKnownCommands]: XCTAssertFalse failed - \cref is rendered by the compiler now; remove it from beyondCompiler That guard is doing exactly its job. `beyondCompiler` documents standard LaTeX the editor explains even though the compiler only diagnoses it, and its own comment states the contract: "a name listed here must leave the list once the compiler renders it." So this drops "cref" from the set. `Docs.table["cref"]` stays — the hover text is still wanted, it is now backed by the inventory instead of by the beyond-compiler list. `\cref` was the only name affected: the full suite reported one failure, and the other cleveref spellings (\Cref, \crefrange, \cpageref, \labelcref, \crefname) were never in `beyondCompiler`. The ubuntu CI jobs compile none of this, so the breakage was invisible to #460's checks; it was caught by running the Mac suite against merged main. Verified on the Mac (apps/mac, fresh /tmp worktree and build directory, this change merged onto main @ 620aac8): swift build ok swift test --skip NearbyInterfaceTests --skip NearbyLANInterfaceTests before this change: 1210 tests, 137 skipped, 1 failure after this change: 1210 tests, 137 skipped, 0 failures Implementation-Agent: Claude Opus 5 (lane linux-integration-2, linux-primary) Commit-Executor: Claude Opus 5 (direct git, observed Cursor usage limit)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mac: \cref leaves CommandDocs.beyondCompiler now that the compiler renders it
#460 (cleveref, the rebase of #434) added \cref to the compiler inventory, which
turned the Mac drift guard red on main:
That guard is doing exactly its job.
beyondCompilerdocuments standard LaTeXthe editor explains even though the compiler only diagnoses it, and its own
comment states the contract: "a name listed here must leave the list once the
compiler renders it." So this drops "cref" from the set.
Docs.table["cref"]stays — the hover text is still wanted, it is now backed by the inventory
instead of by the beyond-compiler list.
\crefwas the only name affected: the full suite reported one failure, and theother cleveref spellings (\Cref, \crefrange, \cpageref, \labelcref, \crefname)
were never in
beyondCompiler.The ubuntu CI jobs compile none of this, so the breakage was invisible to
#460's checks; it was caught by running the Mac suite against merged main.
Verified on the Mac (apps/mac, fresh /tmp worktree and build directory, this
change merged onto main @ 620aac8):
swift build ok
swift test --skip NearbyInterfaceTests --skip NearbyLANInterfaceTests
before this change: 1210 tests, 137 skipped, 1 failure
after this change: 1210 tests, 137 skipped, 0 failures
Implementation-Agent: Claude Opus 5 (lane linux-integration-2, linux-primary)
Commit-Executor: Claude Opus 5 (direct git, observed Cursor usage limit)