From 64f787fb63edd3dca2ec480c69339ef8a6a891c0 Mon Sep 17 00:00:00 2001 From: Blake Li Date: Sat, 2 May 2026 03:06:18 +0000 Subject: [PATCH 1/2] fix(ci): update java-showcase path in excluded_modules --- .kokoro/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kokoro/common.sh b/.kokoro/common.sh index e682c561101f..7926a7786b46 100644 --- a/.kokoro/common.sh +++ b/.kokoro/common.sh @@ -27,7 +27,7 @@ excluded_modules=( 'sdk-platform-java' 'sdk-platform-java/java-shared-dependencies/dependency-analyzer' 'sdk-platform-java/java-shared-dependencies/dependency-convergence-check' - 'sdk-platform-java/java-showcase' + 'java-showcase' 'sdk-platform-java/java-showcase-3.21.0' 'sdk-platform-java/java-showcase-3.25.8' 'java-spanner' From 18af40b152fc23f79044dac71bc9052e617dc850 Mon Sep 17 00:00:00 2001 From: Blake Li Date: Tue, 5 May 2026 00:58:12 +0000 Subject: [PATCH 2/2] docs(gemini): add permanent and conditional file exclusions --- sdk-platform-java/GEMINI.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/sdk-platform-java/GEMINI.md b/sdk-platform-java/GEMINI.md index aed84e060b35..22b330ec1ba4 100644 --- a/sdk-platform-java/GEMINI.md +++ b/sdk-platform-java/GEMINI.md @@ -154,4 +154,16 @@ Showcase integration tests are run against a local server that implements the Sh - **Issues:** All significant changes should start with a GitHub issue. - **Pull Requests:** All code changes must be submitted via a pull request and require review. Before creating a PR, always pull latest from main, merge main to local branch and resolve any conflicts. - **Testing:** All new logic should be accompanied by tests. -- For more details, see `CONTRIBUTING.md`. \ No newline at end of file +- For more details, see `CONTRIBUTING.md`. + +## 8. File Exclusions & Loading Constraints + +To maintain a highly focused context window and prevent memory overload: + +* **Permanent Exclusions (Always Ignore):** + * Do **NOT** load, read, or search through files under the directories `java-showcase-3.21.0/` and `java-showcase-3.25.8/`. Treat these folders as completely out of scope. +* **Conditional Exclusions (Ignore by Default):** + * By default, do **NOT** load, read, or search through files in the `test/` folder (which contains massive auto-generated integration golden files). + * **Exceptions:** You are only authorized to load or modify files under `test/` when: + 1. The user explicitly asks you to *"update the golden files"* or *"inspect test files"*. + 2. You are actively executing the Golden Integration Update commands (e.g. `bazelisk run //test/integration:update_...`). \ No newline at end of file