{"record":{"id":"a039009413f900cf","repo":"gradle/gradle","slug":"isolated-projects-dangerously-ignore-problems-is-e","errorCode":null,"errorMessage":"Isolated Projects dangerously-ignore-problems is ENABLED.\nIsolated Projects violations are being ignored.\nBuild outputs may be incorrect and the build may crash unexpectedly.\nUse this only to evaluate performance.\nDo not use this to produce artifacts.\nSee ${isolatedProjectsDangerouslyIgnoreProblemsDocumentation.url}","messagePattern":"Isolated Projects dangerously-ignore-problems is ENABLED\\.\nIsolated Projects violations are being ignored\\.\nBuild outputs may be incorrect and the build may crash unexpectedly\\.\nUse this only to evaluate performance\\.\nDo not use this to produce artifacts\\.\nSee (.+?)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt","lineNumber":504,"sourceCode":"            SkipStore -> \"skipping\"\n            is Update -> \"updating\"\n        }\n\n    private\n    fun ConfigurationCacheStartParameter.requestedTasksOrDefault() =\n        requestedTaskNames.takeIf { it.isNotEmpty() }?.joinToString(\" \")\n\n    private\n    fun outputDirectoryFor(buildDir: File): File =\n        startParameter.customReportOutputDirectory?.resolve(cacheKey.toString())\n            ?: buildDir.resolve(\"reports/configuration-cache/$cacheKey\")\n\n    private\n    inner class PostBuildProblemsHandler : RootBuildLifecycleListener {\n\n        override fun afterStart() {\n            if (isIsolatedProjectsDangerouslyIgnoreProblems) {\n                logger.warn(isolatedProjectsDangerouslyIgnoreProblemsBanner())\n                reportDangerouslyIgnoringProblems()\n            }\n\n            if (isWarningMode) {\n                reportConfigurationCacheWarnMode()\n            }\n        }\n\n        override fun beforeComplete(failure: Throwable?) {\n            val summary = summarizer.get()\n\n            val fateOfEntryInBuild = fateOfEntryInBuild(summary)\n            fateOfEntryInBuild.message?.let { log(it) }\n            buildOperationRunner.emitConfigurationCacheEntryOutcomeOperation(fateOfEntryInBuild.outcome, summary.consoleProblemCount)\n\n            if (isIsolatedProjectsDangerouslyIgnoreProblems) {\n                logger.warn(isolatedProjectsDangerouslyIgnoreProblemsBanner())\n            }","sourceCodeStart":486,"sourceCodeEnd":522,"githubUrl":"https://github.com/gradle/gradle/blob/534f27719b66953f95cc907aae7f2c1b12f5482d/platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt#L486-L522","documentation":"When Isolated Projects runs with problems deliberately ignored (org.gradle.internal.isolated-projects.dangerously-ignore-problems, or --dangerously-isolate-projects), this banner is printed at build start (afterStart). Isolated Projects requires every project to configure in isolation; violations normally fail the build, but in this mode they are only collected, so configurations may be order-dependent, outputs incorrect, and crashes possible. The banner also triggers a report of the ignored problems.","triggerScenarios":"Running gradle --dangerously-isolate-projects or setting org.gradle.internal.isolated-projects.dangerously-ignore-problems=true in gradle.properties, typically while evaluating isolated-projects performance or while migrating a build that still has cross-project coupling.","commonSituations":"Benchmarking configuration-cache/isolated-projects gains; migration periods where the flag is used to 'keep builds running'; the flag left enabled globally in CI after migration finished.","solutions":["Treat the banner as a stop sign: work through the reported isolated-projects violations until the build passes without the flag","Remove org.gradle.internal.isolated-projects.dangerously-ignore-problems from gradle.properties and CI command lines once evaluation is done","Never publish or deploy artifacts from builds run in this mode — outputs may be silently incorrect","Use the problems report generated alongside the banner as the migration backlog"],"exampleFix":"# before\norg.gradle.internal.isolated-projects.dangerously-ignore-problems=true\n\n# after (build passes honestly without it)\n# org.gradle.internal.isolated-projects.dangerously-ignore-problems=true","handlingStrategy":"validation","validationCode":"# CI gate: never start a shipping build in dangerously-ignore mode\n! grep -Rn 'dangerously-ignore-problems' gradle.properties ~/.gradle/gradle.properties 2>/dev/null \\\n  || { echo \"isolated-projects violations are ignored — refusing to build\"; exit 1; }","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Enable the flag only for local performance evaluation","Track the ignored-problem count per build and drive it to zero","Keep the flag out of shared gradle.properties and CI templates"],"tags":["gradle","isolated-projects","configuration-cache","build-flags","unsafe-mode"],"backgroundTag":"isolated-projects-unsafe-mode","analyzedSha":"534f27719b66953f95cc907aae7f2c1b12f5482d","analyzedAt":"2026-08-22T08:09:12.375Z","schemaVersion":2},"datasetVersion":"2026-08-22T09:17:25.309Z"}