query_settings_knob_validation_pbt.js lowers stage memory-limit query knobs (e.g. documentSourceGroupMaxMemoryBytes) via setParameter. The AnalyzeShardKeysInBackground hook runs analyzeShardKey against the test collection in the background; analyzeShardKey's internal calculateCollStats aggregation runs a $group that does not set allowDiskUse, so under the lowered limit it fails with QueryExceededMemoryLimitNoDiskUseAllowed (code 292).
Fix: exclude the test from the analyze_shard_key_jscore_passthrough suite via exclude_files, mirroring the existing handling in CheckMetadataConsistencyInBackground's SKIP_TESTS.