Skip to content

fix(featured-compose): update API dump after FakeConfigValues removal#148

Merged
kirich1409 merged 1 commit intomainfrom
fix/api-dump-featured-compose
Apr 3, 2026
Merged

fix(featured-compose): update API dump after FakeConfigValues removal#148
kirich1409 merged 1 commit intomainfrom
fix/api-dump-featured-compose

Conversation

@kirich1409
Copy link
Copy Markdown
Contributor

Summary

FakeConfigValues and FakeConfigValuesScope were removed from featured-compose but the BCV API dump (featured-compose/api/jvm/featured-compose.api) was not regenerated, causing apiCheck to fail on all open PRs (#143, #144, #145).

Test plan

  • Lint & API Check passes

🤖 Generated with Claude Code

FakeConfigValues and FakeConfigValuesScope were removed from featured-compose
but the BCV API dump was not regenerated, causing apiCheck to fail.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 3, 2026 06:55
@qodo-code-review
Copy link
Copy Markdown

Review Summary by Qodo

Update featured-compose API dump after FakeConfigValues removal

🐞 Bug fix

Grey Divider

Walkthroughs

Description
• Remove deleted FakeConfigValues classes from API dump
• Regenerate BCV API dump after class removal
• Fix apiCheck failures on open PRs
Diagram
flowchart LR
  A["FakeConfigValues removal"] -- "API dump out of sync" --> B["apiCheck failures"]
  B -- "regenerate dump" --> C["API dump updated"]
  C -- "remove deleted classes" --> D["apiCheck passes"]
Loading

Grey Divider

File Changes

1. featured-compose/api/jvm/featured-compose.api 🐞 Bug fix +0/-10

Remove deleted FakeConfigValues from API dump

• Removed FakeConfigValuesKt class definition and methods
• Removed FakeConfigValuesScope class definition and fields
• Kept ConfigValuesComposeExtensionsKt and LocalConfigValuesKt intact

featured-compose/api/jvm/featured-compose.api


Grey Divider

Qodo Logo

@qodo-code-review
Copy link
Copy Markdown

qodo-code-review bot commented Apr 3, 2026

Code Review by Qodo

🐞 Bugs (2) 📘 Rule violations (0) 📎 Requirement gaps (0) 🎨 UX Issues (0)

Grey Divider


Action required

1. Android API dump stale 🐞 Bug ≡ Correctness
Description
This PR updates only the JVM API dump, but the Android API dump still declares
FakeConfigValuesKt/FakeConfigValuesScope as public even though the source marks them internal, so
android apiCheck will continue to fail. Update/regenerate the Android dump to match the current
public API surface.
Code

featured-compose/api/jvm/featured-compose.api[L5-13]

-public final class dev/androidbroadcast/featured/compose/FakeConfigValuesKt {
-	public static final fun fakeConfigValues (Lkotlin/jvm/functions/Function1;)Ldev/androidbroadcast/featured/ConfigValues;
-	public static synthetic fun fakeConfigValues$default (Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/androidbroadcast/featured/ConfigValues;
-}
-
-public final class dev/androidbroadcast/featured/compose/FakeConfigValuesScope {
-	public static final field $stable I
-	public final fun set (Ldev/androidbroadcast/featured/ConfigParam;Ljava/lang/Object;)V
-}
Evidence
The implementation in featured-compose makes FakeConfigValuesScope and fakeConfigValues internal, so
they should not appear in public API dumps. However, the Android API dump still lists them as public
types/functions, indicating it wasn’t regenerated/updated alongside the JVM dump; with BCV enabled
for this module, that mismatch will break apiCheck for the Android target.

featured-compose/src/commonMain/kotlin/dev/androidbroadcast/featured/compose/FakeConfigValues.kt[16-54]
featured-compose/api/android/featured-compose.api[5-17]
featured-compose/build.gradle.kts[3-12]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
The Android BCV API dump for `featured-compose` is stale: it still exposes `FakeConfigValuesKt`/`FakeConfigValuesScope` even though these APIs are `internal` in source and were removed from the JVM dump in this PR.

### Issue Context
`featured-compose` applies the BCV plugin and maintains separate dumps under `featured-compose/api/android` and `featured-compose/api/jvm`. The JVM dump was updated, but the Android dump still contains the removed symbols.

### Fix Focus Areas
- featured-compose/api/android/featured-compose.api[1-18]
- featured-compose/src/commonMain/kotlin/dev/androidbroadcast/featured/compose/FakeConfigValues.kt[16-54]
- featured-compose/api/jvm/featured-compose.api[1-8]

### What to do
Regenerate or edit `featured-compose/api/android/featured-compose.api` so it no longer contains `FakeConfigValuesKt` and `FakeConfigValuesScope` (matching the current visibility in source and the updated JVM dump).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Remediation recommended

2. Docs reference internal Fake APIs 🐞 Bug ⚙ Maintainability
Description
featured-compose documentation still tells consumers to use FakeConfigValues/fakeConfigValues for
previews, but these APIs are internal (and removed from the JVM API dump), so the documented
snippets will not compile for library users. Update README/KDoc to point to the supported approach
(e.g., provide real ConfigValues or direct users to featured-testing).
Code

featured-compose/api/jvm/featured-compose.api[L5-13]

-public final class dev/androidbroadcast/featured/compose/FakeConfigValuesKt {
-	public static final fun fakeConfigValues (Lkotlin/jvm/functions/Function1;)Ldev/androidbroadcast/featured/ConfigValues;
-	public static synthetic fun fakeConfigValues$default (Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/androidbroadcast/featured/ConfigValues;
-}
-
-public final class dev/androidbroadcast/featured/compose/FakeConfigValuesScope {
-	public static final field $stable I
-	public final fun set (Ldev/androidbroadcast/featured/ConfigParam;Ljava/lang/Object;)V
-}
Evidence
The README and the public KDoc for LocalConfigValues both instruct users to call
FakeConfigValues(...) / fakeConfigValues { ... }, but the only implementation in this module
marks those APIs as internal, and this PR removes them from the JVM public API dump—so consumers
following the docs will hit unresolved reference/visibility errors.

featured-compose/README.md[30-43]
featured-compose/src/commonMain/kotlin/dev/androidbroadcast/featured/compose/LocalConfigValues.kt[23-41]
featured-compose/src/commonMain/kotlin/dev/androidbroadcast/featured/compose/FakeConfigValues.kt[16-54]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
`featured-compose` docs reference preview/test helpers (`FakeConfigValues`, `fakeConfigValues`) that are now `internal`, so consumers cannot use the documented snippets.

### Issue Context
This PR removes the fake APIs from the JVM API dump, indicating they are no longer part of the public surface. README and KDoc should be updated to avoid broken examples.

### Fix Focus Areas
- featured-compose/README.md[30-43]
- featured-compose/src/commonMain/kotlin/dev/androidbroadcast/featured/compose/LocalConfigValues.kt[23-41]

### What to do
Update the preview section/examples to a supported public API. For example:
- Document using `LocalConfigValues` with a real `ConfigValues`, or
- Point users to the `featured-testing` artifact’s `fakeConfigValues` (if that’s the intended replacement) and adjust the snippet accordingly.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@qodo-code-review
Copy link
Copy Markdown

CI Feedback 🧐

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: Analyze Kotlin

Failed stage: Run github/codeql-action/analyze@v4 [❌]

Failed test name: ""

Failure summary:

The GitHub CodeQL analysis failed during the github/codeql-action/analyze@v4 step when finalizing
the Java database.
- At codeql database finalize (log lines 1324-1327), CodeQL reported: CodeQL
detected code written in Java/Kotlin but could not process any of it and exited with code 32.
- This
indicates that although a Gradle build completed successfully (log line 1261), CodeQL did not
see/trace any Java/Kotlin compilation or source processing during the build (commonly due to the
build not invoking Java/Kotlin compilation tasks, building only cached/up-to-date tasks, or using a
configuration/build mode that prevents CodeQL from observing compilation).

Relevant error logs:
1:  ##[group]Runner Image Provisioner
2:  Hosted Compute Agent
...

358:  "description" : "Comma-separated list of features to turn on. By default all features are enabled. If any features are specified, then only those features are enabled. The `default` feature must be explicitly specified if only default features are desired. Can be repeated.\n",
359:  "type" : "array"
360:  },
361:  "cargo_cfg_overrides" : {
362:  "title" : "Cargo cfg overrides",
363:  "description" : "Comma-separated list of cfg settings to enable, or disable if prefixed with `-`. Can be repeated.\n",
364:  "type" : "array"
365:  },
366:  "logging" : {
367:  "title" : "Options pertaining to logging.",
368:  "description" : "Options pertaining to logging.",
369:  "type" : "object",
370:  "properties" : {
371:  "verbosity" : {
372:  "title" : "Extractor logging verbosity level.",
373:  "description" : "Controls the level of verbosity of the extractor. The supported levels are (in order of increasing verbosity):\n  - off\n  - errors\n  - warnings\n  - info or progress\n  - debug or progress+\n  - trace or progress++\n  - progress+++\n",
374:  "type" : "string",
375:  "pattern" : "^(off|errors|warnings|(info|progress)|(debug|progress\\+)|(trace|progress\\+\\+)|progress\\+\\+\\+)$"
376:  },
...

389:  }
390:  }
391:  }
392:  ],
393:  "python" : [
394:  {
395:  "extractor_root" : "/opt/hostedtoolcache/CodeQL/2.25.1/x64/codeql/python",
396:  "extractor_options" : {
397:  "logging" : {
398:  "title" : "Options pertaining to logging.",
399:  "description" : "Options pertaining to logging.",
400:  "type" : "object",
401:  "properties" : {
402:  "verbosity" : {
403:  "title" : "Python extractor logging verbosity level.",
404:  "description" : "Controls the level of verbosity of the CodeQL Python extractor.\nThe supported levels are (in order of increasing verbosity):\n\n  - off\n  - errors\n  - warnings\n  - info or progress\n  - debug or progress+\n  - trace or progress++\n  - progress+++\n",
405:  "type" : "string",
406:  "pattern" : "^(off|errors|warnings|(info|progress)|(debug|progress\\+)|(trace|progress\\+\\+)|progress\\+\\+\\+)$"
407:  }
...

491:  }
492:  },
493:  "buildless" : {
494:  "title" : "DEPRECATED - Whether to use buildless (standalone) extraction.",
495:  "description" : "DEPRECATED: Use `--build-mode none` instead.\nA value indicating, which type of extraction the autobuilder should perform. If 'true', then the standalone extractor will be used, otherwise tracing extraction will be performed. The default is 'false'. Note that buildless extraction will generally yield less accurate analysis results, and should only be used in cases where it is not possible to build the code (for example if it uses inaccessible dependencies).\n",
496:  "type" : "string",
497:  "pattern" : "^(false|true)$"
498:  },
499:  "logging" : {
500:  "title" : "Options pertaining to logging.",
501:  "description" : "Options pertaining to logging.",
502:  "type" : "object",
503:  "properties" : {
504:  "verbosity" : {
505:  "title" : "Extractor logging verbosity level.",
506:  "description" : "Controls the level of verbosity of the extractor. The supported levels are (in order of increasing verbosity):\n  - off\n  - errors\n  - warnings\n  - info or progress\n  - debug or progress+\n  - trace or progress++\n  - progress+++\n",
507:  "type" : "string",
508:  "pattern" : "^(off|errors|warnings|(info|progress)|(debug|progress\\+)|(trace|progress\\+\\+)|progress\\+\\+\\+)$"
509:  }
...

738:  "description" : "Comma-separated list of features to turn on. By default all features are enabled. If any features are specified, then only those features are enabled. The `default` feature must be explicitly specified if only default features are desired. Can be repeated.\n",
739:  "type" : "array"
740:  },
741:  "cargo_cfg_overrides" : {
742:  "title" : "Cargo cfg overrides",
743:  "description" : "Comma-separated list of cfg settings to enable, or disable if prefixed with `-`. Can be repeated.\n",
744:  "type" : "array"
745:  },
746:  "logging" : {
747:  "title" : "Options pertaining to logging.",
748:  "description" : "Options pertaining to logging.",
749:  "type" : "object",
750:  "properties" : {
751:  "verbosity" : {
752:  "title" : "Extractor logging verbosity level.",
753:  "description" : "Controls the level of verbosity of the extractor. The supported levels are (in order of increasing verbosity):\n  - off\n  - errors\n  - warnings\n  - info or progress\n  - debug or progress+\n  - trace or progress++\n  - progress+++\n",
754:  "type" : "string",
755:  "pattern" : "^(off|errors|warnings|(info|progress)|(debug|progress\\+)|(trace|progress\\+\\+)|progress\\+\\+\\+)$"
756:  },
...

774:  {
775:  "extractor_root" : "/opt/hostedtoolcache/CodeQL/2.25.1/x64/codeql/xml"
776:  }
777:  ],
778:  "python" : [
779:  {
780:  "extractor_root" : "/opt/hostedtoolcache/CodeQL/2.25.1/x64/codeql/python",
781:  "extractor_options" : {
782:  "logging" : {
783:  "title" : "Options pertaining to logging.",
784:  "description" : "Options pertaining to logging.",
785:  "type" : "object",
786:  "properties" : {
787:  "verbosity" : {
788:  "title" : "Python extractor logging verbosity level.",
789:  "description" : "Controls the level of verbosity of the CodeQL Python extractor.\nThe supported levels are (in order of increasing verbosity):\n\n  - off\n  - errors\n  - warnings\n  - info or progress\n  - debug or progress+\n  - trace or progress++\n  - progress+++\n",
790:  "type" : "string",
791:  "pattern" : "^(off|errors|warnings|(info|progress)|(debug|progress\\+)|(trace|progress\\+\\+)|progress\\+\\+\\+)$"
792:  }
...

1059:  }
1060:  },
1061:  "buildless" : {
1062:  "title" : "DEPRECATED - Whether to use buildless (standalone) extraction.",
1063:  "description" : "DEPRECATED: Use `--build-mode none` instead.\nA value indicating, which type of extraction the autobuilder should perform. If 'true', then the standalone extractor will be used, otherwise tracing extraction will be performed. The default is 'false'. Note that buildless extraction will generally yield less accurate analysis results, and should only be used in cases where it is not possible to build the code (for example if it uses inaccessible dependencies).\n",
1064:  "type" : "string",
1065:  "pattern" : "^(false|true)$"
1066:  },
1067:  "logging" : {
1068:  "title" : "Options pertaining to logging.",
1069:  "description" : "Options pertaining to logging.",
1070:  "type" : "object",
1071:  "properties" : {
1072:  "verbosity" : {
1073:  "title" : "Extractor logging verbosity level.",
1074:  "description" : "Controls the level of verbosity of the extractor. The supported levels are (in order of increasing verbosity):\n  - off\n  - errors\n  - warnings\n  - info or progress\n  - debug or progress+\n  - trace or progress++\n  - progress+++\n",
1075:  "type" : "string",
1076:  "pattern" : "^(off|errors|warnings|(info|progress)|(debug|progress\\+)|(trace|progress\\+\\+)|progress\\+\\+\\+)$"
1077:  }
...

1180:  Run with --info for a stacktrace.
1181:  Configuration 'kotlinCompilerClasspath' was resolved during configuration time.
1182:  This is a build performance and scalability issue.
1183:  See https://github.com/gradle/gradle/issues/2298
1184:  Run with --info for a stacktrace.
1185:  Configuration 'androidCompileClasspath' was resolved during configuration time.
1186:  This is a build performance and scalability issue.
1187:  See https://github.com/gradle/gradle/issues/2298
1188:  Run with --info for a stacktrace.
1189:  > Task :providers:firebase:generateDebugAssets UP-TO-DATE
1190:  > Task :core:androidPreBuild UP-TO-DATE
1191:  > Task :providers:firebase:preBuild UP-TO-DATE
1192:  > Task :providers:firebase:preDebugBuild UP-TO-DATE
1193:  > Task :core:preAndroidMainBuild UP-TO-DATE
1194:  > Task :core:kmpPartiallyResolvedDependenciesChecker
1195:  > Task :core:checkKotlinGradlePluginConfigurationErrors SKIPPED
1196:  > Task :providers:firebase:generateDebugResources FROM-CACHE
...

1259:  You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
1260:  For more on this, please refer to https://docs.gradle.org/9.4.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
1261:  BUILD SUCCESSFUL in 26s
1262:  50 actionable tasks: 27 executed, 23 from cache
1263:  Configuration cache entry stored.
1264:  ##[group]Run github/codeql-action/analyze@v4
1265:  with:
1266:  output: ../results
1267:  upload: always
1268:  skip-queries: false
1269:  checkout_path: /home/runner/work/Featured/Featured
1270:  upload-database: true
1271:  wait-for-processing: true
1272:  token: ***
1273:  matrix: null
1274:  expect-error: false
1275:  env:
...

1312:  CODEQL_TRACER_DIAGNOSTICS_DIR: /home/runner/work/_temp/codeql_databases/diagnostic/tracer
1313:  CODEQL_TRACER_LANGUAGES: java
1314:  SEMMLE_PRELOAD_libtrace: /opt/hostedtoolcache/CodeQL/2.25.1/x64/codeql/tools/linux64/${LIB}_${PLATFORM}_trace.so
1315:  SEMMLE_PRELOAD_libtrace32: /opt/hostedtoolcache/CodeQL/2.25.1/x64/codeql/tools/linux64/lib32trace.so
1316:  SEMMLE_PRELOAD_libtrace64: /opt/hostedtoolcache/CodeQL/2.25.1/x64/codeql/tools/linux64/lib64trace.so
1317:  CODEQL_RUNNER: /opt/hostedtoolcache/CodeQL/2.25.1/x64/codeql/tools/linux64/runner
1318:  LD_PRELOAD: /opt/hostedtoolcache/CodeQL/2.25.1/x64/codeql/tools/linux64/${LIB}_${PLATFORM}_trace.so
1319:  ##[endgroup]
1320:  While resolving threads, found a cgroup CPUs file with 4 CPUs in /sys/fs/cgroup/cpuset.cpus.effective.
1321:  ##[group]Generating diff range extension pack
1322:  Successfully created diff range extension pack at /home/runner/work/_temp/pr-diff-range.
1323:  ##[endgroup]
1324:  ##[group]Finalizing java
1325:  [command]/opt/hostedtoolcache/CodeQL/2.25.1/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14574 /home/runner/work/_temp/codeql_databases/java
1326:  CodeQL detected code written in Java/Kotlin but could not process any of it. For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build .
1327:  ##[error]Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.25.1/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14574 /home/runner/work/_temp/codeql_databases/java". Exit code was 32 and last log line was: CodeQL detected code written in Java/Kotlin but could not process any of it. For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build . See the logs for more details.
1328:  Post job cleanup.
1329:  Post job cleanup.
1330:  [command]/opt/hostedtoolcache/CodeQL/2.25.1/x64/codeql/codeql database export-diagnostics /home/runner/work/_temp/codeql_databases --db-cluster --format=sarif-latest --output=../codeql-failed-run.sarif --sarif-include-diagnostics -vvv
1331:  Writing logs to /home/runner/work/_temp/codeql_databases/log/database-export-diagnostics-20260403.065607.314.log.
1332:  Interpreting diagnostic messages...
1333:  Looking for diagnostics in /home/runner/work/_temp/codeql_databases/java/diagnostic...
1334:  Looking for diagnostics in /home/runner/work/_temp/codeql_databases/java/diagnostic/codeql-action...
1335:  Found diagnostics file /home/runner/work/_temp/codeql_databases/java/diagnostic/codeql-action/codeql-action-2026-04-03T065526.448Z.json.
1336:  Found diagnostics file /home/runner/work/_temp/codeql_databases/java/diagnostic/codeql-action/codeql-action-2026-04-03T065524.334Z.json.
1337:  Found diagnostics file /home/runner/work/_temp/codeql_databases/java/diagnostic/codeql-action/codeql-action-2026-04-03T065525.300Z.json.
1338:  Found diagnostics file /home/runner/work/_temp/codeql_databases/java/diagnostic/cli-diagnostics-add-20260403T065604.338Z.json.
1339:  Looking for diagnostics in /home/runner/work/_temp/codeql_databases/java/diagnostic/extractors...
1340:  Looking for diagnostics in /home/runner/work/_temp/codeql_databases/java/diagnostic/extractors/java...
1341:  Looking for diagnostics in /home/runner/work/_temp/codeql_databases/diagnostic...
1342:  Found diagnostics file /home/runner/work/_temp/codeql_databases/diagnostic/cli-diagnostics-add-20260403T065532.772Z.json.
1343:  Looking for diagnostics in /home/runner/work/_temp/codeql_databases/diagnostic/tracer...
1344:  Found 6 raw diagnostic messages.
1345:  Processed diagnostic messages (removed 0 due to limits, created 0 summary diagnostics for status page).
1346:  Interpreted diagnostic messages (82ms).
1347:  Uploading failed SARIF file ../codeql-failed-run.sarif
1348:  Post-processing sarif files: ["../codeql-failed-run.sarif"]
1349:  Adding fingerprints to SARIF file. See https://docs.github.com/en/code-security/reference/code-scanning/sarif-support-for-code-scanning#data-for-preventing-duplicated-alerts for more information.
1350:  ##[group]Uploading code scanning results
1351:  Uploading results
1352:  Successfully uploaded results
1353:  ##[endgroup]
1354:  ##[group]Waiting for processing to finish
1355:  Analysis upload status is pending.
1356:  Analysis upload status is failed.
1357:  Successfully uploaded a SARIF file for the unsuccessful execution. Received expected "unsuccessful execution" processing error, and no other errors.
1358:  ##[endgroup]
1359:  CodeQL job status was configuration error.
1360:  Sending status report for init-post step.

public static final fun collectAsState (Ldev/androidbroadcast/featured/ConfigValues;Ldev/androidbroadcast/featured/ConfigParam;Landroidx/compose/runtime/Composer;I)Landroidx/compose/runtime/State;
}

public final class dev/androidbroadcast/featured/compose/FakeConfigValuesKt {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action required

1. Android api dump stale 🐞 Bug ≡ Correctness

This PR updates only the JVM API dump, but the Android API dump still declares
FakeConfigValuesKt/FakeConfigValuesScope as public even though the source marks them internal, so
android apiCheck will continue to fail. Update/regenerate the Android dump to match the current
public API surface.
Agent Prompt
### Issue description
The Android BCV API dump for `featured-compose` is stale: it still exposes `FakeConfigValuesKt`/`FakeConfigValuesScope` even though these APIs are `internal` in source and were removed from the JVM dump in this PR.

### Issue Context
`featured-compose` applies the BCV plugin and maintains separate dumps under `featured-compose/api/android` and `featured-compose/api/jvm`. The JVM dump was updated, but the Android dump still contains the removed symbols.

### Fix Focus Areas
- featured-compose/api/android/featured-compose.api[1-18]
- featured-compose/src/commonMain/kotlin/dev/androidbroadcast/featured/compose/FakeConfigValues.kt[16-54]
- featured-compose/api/jvm/featured-compose.api[1-8]

### What to do
Regenerate or edit `featured-compose/api/android/featured-compose.api` so it no longer contains `FakeConfigValuesKt` and `FakeConfigValuesScope` (matching the current visibility in source and the updated JVM dump).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the featured-compose Binary Compatibility Validator (BCV) API dump to reflect the removal/hiding of FakeConfigValues APIs, unblocking apiCheck failures affecting other open PRs.

Changes:

  • Regenerates featured-compose JVM API dump to remove FakeConfigValuesKt / FakeConfigValuesScope entries.

Comment on lines 4 to 7

public final class dev/androidbroadcast/featured/compose/FakeConfigValuesKt {
public static final fun fakeConfigValues (Lkotlin/jvm/functions/Function1;)Ldev/androidbroadcast/featured/ConfigValues;
public static synthetic fun fakeConfigValues$default (Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/androidbroadcast/featured/ConfigValues;
}

public final class dev/androidbroadcast/featured/compose/FakeConfigValuesScope {
public static final field $stable I
public final fun set (Ldev/androidbroadcast/featured/ConfigParam;Ljava/lang/Object;)V
}

public final class dev/androidbroadcast/featured/compose/LocalConfigValuesKt {
public static final fun getLocalConfigValues ()Landroidx/compose/runtime/ProvidableCompositionLocal;
}
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This updates the JVM API dump to remove FakeConfigValues*, but featured-compose/api/android/featured-compose.api still contains FakeConfigValuesKt / FakeConfigValuesScope. If those APIs were removed/hidden, the Android API dump likely also needs regeneration; otherwise apiCheck will continue to fail due to the stale Android dump.

Copilot uses AI. Check for mistakes.
@kirich1409 kirich1409 merged commit 7c6539b into main Apr 3, 2026
10 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants