Repository navigation
Restore the format, Windows lint and memo limit checks - #2
Open
solakpetri wants to merge 3 commits into
Open
solakpetri wants to merge 3 commits into
solakpetri wants to merge 3 commits into
Conversation
delete_design never used Desktop or Harness, and schema only uses PendingOperation and NodeT in its unix-only guarded reopen test, so clippy -D warnings rejected both files on Windows.
Ordinary reads now accept every length the native descriptor can represent, so the default no longer rejects a 1 MiB + 1 decoded Memo or a 2 MiB + 2 encoded value. Request those lower ceilings explicitly to keep the decoded-text and encoded-storage refusals separate.
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.
What changed
CI has been failing on
mainon every platform. This fixes the three causes, one commit each:Format:
crates/engines/tablecraft-ace/src/queries/creation/tests.rsdeclaresmod initialization;beforemod indexed_template;.scripts/check_rust_format.pystops the job at that diff.Windows lint: clippy
-D warningsrejects two desktop test files:query_action/tests/delete_design.rsimportsDesktopandHarnessbut never uses them on any platform.query_action/tests/schema.rsusesPendingOperationandNodeTonly in its#[cfg(unix)]guarded-reopen test, so they are unused on Windows. They are now gated like the existingstd::timeimport.Both Windows jobs stopped at "Lint minimal headless workspace", so the later Windows-only
tablecraft-iofilesystem tests never ran in CI.Stale test:
decoded_text_encoded_storage_native_budget_and_cancellation_are_separateintablecraft-ace/tests/calculated_memos.rsfailed on all six targets (left: None, right: Some(StructureLimit)). Since 9a42eb9 (fix(ace): derive long-value read bounds from native storage), ordinary reads accept every length the descriptor can represent. A 1 MiB + 1 decoded Memo and a 2 MiB + 2 encoded value therefore no longer exceed the defaults. The test now requests those lower ceilings explicitly, as that commit did intests/long_value_source.rs. It still checks the decoded-text, encoded-storage, budget and cancellation refusals separately.No production code changes.
How it was verified
Windows 11 Home 10.0.26300 x64, Rust 1.99.0 (
x86_64-pc-windows-msvc):scripts/check_rust_format.pyandscripts/check_rust_layout.py: pass.cargo clippy --release --workspace --all-targets --no-default-features -- -D warnings: clean. This is the step both Windows jobs fail on today.cargo test --release -p tablecraft-desktop query_action: compiles on Windows now, but many save workflows still fail there. They stop in journal setup (IncompleteSetup) because of the Windows rename bug fixed in Rename Windows staging files through NtSetInformationFile #3. With that branch merged locally on top of this one, 66 of 67 pass.cargo test --release -p tablecraft-ace --test calculated_memos: 8 passed, both with--no-default-featuresand with--all-features.Still failing after this PR
multi_column::mixed_original_frame_set_no_yes_ack_reopens_without_losing_parked_sql(added in b1142ac) panics while building its fixture, before any TableCraft code under test runs:The input is synthetic and the failure looks platform independent. It is outside the scope of this PR and not fixed here, so the desktop test step will probably still fail on it.
Not run