Repository navigation
chore(local,test): pin turbo-fieldfare fork in setup script and address #103/#110/#111 test nits - #114
Open
ghchinoy wants to merge 1 commit into
Open
chore(local,test): pin turbo-fieldfare fork in setup script and address #103/#110/#111 test nits#114ghchinoy wants to merge 1 commit into
ghchinoy wants to merge 1 commit into
Conversation
GoogleCloudPlatform#103/GoogleCloudPlatform#110/GoogleCloudPlatform#111 test nits Closes GoogleCloudPlatform#112. Refs GoogleCloudPlatform#108. - scripts/setup_turbo_fieldfare.sh: pin public fork URL, branch, and commit (ghchinoy/turbo-fieldfare feat/diffusiongemma-probe @ fdc984718d5f) and build TurboFieldfareRepack alongside TurboFieldfareDiffusionProbe. - scripts/test_local_engine_detect.py: add TemporaryDirectory test exercising real _turbo_fieldfare_installed path checks without DGEM_TURBO_READY_OVERRIDE (GoogleCloudPlatform#110 follow-up nit). - scripts/test_turbo_fieldfare_server.py: feed varying reusedTokens sequence [12, 32, 8, 24] across isolated multi-sample worker reads to directly pin the max() guard (GoogleCloudPlatform#111 follow-up nit). - pkg/template/examples_test.go: clarify TestSWETemplatesIncludeUntrustedDataGuard is a substring lint (GoogleCloudPlatform#103 follow-up nit).
This branch has not been deployed
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.
Summary
Closes #112 (resolves the sole remaining open item after #113 and #109) and rolls up the three non-blocking test nits from #103, #110, and #111 (refs #108):
scripts/setup_turbo_fieldfare.sh(fix(local): harden turbo-fieldfare HTTP adapter, /v1/systemone parity, and CI coverage (#106 follow-up) #112): Pinshttps://github.com/ghchinoy/turbo-fieldfare.git(branchfeat/diffusiongemma-probe@fdc984718d5ff70e5c8066a2a92eadb9d4743702, Apache-2.0 fork ofdrumih/turbo-fieldfare) and buildsTurboFieldfareRepackalongsideTurboFieldfareDiffusionProbesomake download's SHA-256 verification works out of the box.scripts/test_local_engine_detect.py(feat(local): default LOCAL_ENGINE=auto to turbo-fieldfare on macOS 26+ with macOS 15 diffgemma fallback #110 nit): Addstest_auto_real_path_detection_without_overrideusingtempfile.TemporaryDirectoryto exercise real_turbo_fieldfare_installedfile checks (neither / binary-only / both present) withoutDGEM_TURBO_READY_OVERRIDE.scripts/test_turbo_fieldfare_server.py(feat(local): propagate TurboFieldfareDiffusionProbe reusedTokens into diagnostics.timing.reused_tokens #111 nit): Feeds varyingreusedTokenssequence[12, 32, 8, 24]across the 4 isolated multi-sample reads so a plain assignment instead ofmax()would fail.pkg/template/examples_test.go(fix(templates,test): add untrusted-DATA prompt-injection guard to swe_model_router and agent_loop_detector #103 nit): Clarifies in the doc comment onTestSWETemplatesIncludeUntrustedDataGuardthat it is a substring lint checking"untrusted data"and"never as instructions".Verification
bash -n scripts/setup_turbo_fieldfare.shpython3 -m unittest -v scripts/test_local_engine_detect.py scripts/test_turbo_fieldfare_server.py(28/28 OK)go vet ./... && go test -count=1 -race ./pkg/template/... ./pkg/client/...