Skip to content

Commit 46709d8

Browse files
Drop local-only trace harness and printBuildConfig task
scripts/trace-bcit.sh and the integration-tests printBuildConfig Gradle task were used for local replication while diagnosing SDK-170. They are not invoked by CI. Removing them keeps the PR diff focused on what actually fixes the in-app E2E job. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent cdcaa0d commit 46709d8

2 files changed

Lines changed: 0 additions & 556 deletions

File tree

integration-tests/build.gradle

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -119,36 +119,6 @@ dependencies {
119119
androidTestImplementation 'com.google.code.gson:gson:2.8.9'
120120
}
121121

122-
// SDK-170 — debug task that surfaces the build-time BuildConfig inputs the test APK was
123-
// built with. We only print *length* and *first 4 chars* of secrets so they never appear
124-
// in CI logs verbatim. Used by scripts/trace-bcit.sh.
125-
tasks.register('printBuildConfig') {
126-
group = 'verification'
127-
description = 'Print the integration-test BuildConfig inputs as seen by the build (length-only for secrets).'
128-
doLast {
129-
def localProperties = new Properties()
130-
def localPropertiesFile = rootProject.file('local.properties')
131-
if (localPropertiesFile.exists()) {
132-
localPropertiesFile.withInputStream { localProperties.load(it) }
133-
}
134-
def showPrefix = System.getenv('TRACE_SHOW_PREFIX') == '1'
135-
def report = { String name ->
136-
def fromLocal = localProperties.getProperty(name)
137-
def fromEnv = System.getenv(name)
138-
def chosen = fromLocal ?: fromEnv ?: ''
139-
def source = fromLocal ? 'local.properties' : (fromEnv ? 'env' : 'default-fallback')
140-
def line = "${name} length=${chosen.length()} source=${source}"
141-
if (showPrefix && chosen.length() >= 4) {
142-
line += " prefix=${chosen.substring(0, 4)}\u2026"
143-
}
144-
println line
145-
}
146-
report('ITERABLE_API_KEY')
147-
report('ITERABLE_SERVER_API_KEY')
148-
report('ITERABLE_TEST_USER_EMAIL')
149-
}
150-
}
151-
152122
// Jacoco coverage for integration tests
153123
tasks.withType(Test) {
154124
jacoco.includeNoLocationClasses = true

0 commit comments

Comments
 (0)