Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googlemaps/android-maps-compose
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.6.0
Choose a base ref
...
head repository: googlemaps/android-maps-compose
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v9.0.0-rc03
Choose a head ref
  • 14 commits
  • 42 files changed
  • 3 contributors

Commits on Sep 4, 2026

  1. Configuration menu
    Copy the full SHA
    594e268 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2026

  1. chore(ci): harden Gemini issue triage against prompt injection (#992)

    * chore(ci): harden Gemini issue triage against prompt injection
    
    Issue titles and bodies are untrusted input that flows into the Gemini
    prompts used for triage labeling and auto-answering, so a crafted issue
    can steer the model output that drives label application. This change
    limits the blast radius:
    
    - Validate model output against an exact allowlist of the five
      priority labels; drop anything else, including non-strings and
      labels containing newlines or extra whitespace.
    - Strip newlines before writing to GITHUB_OUTPUT so script output
      cannot inject additional output keys.
    - Wrap the untrusted issue content in delimiters in both triage and
      answer prompts and instruct the model to treat it as data only.
    - Add a per-issue concurrency group with cancel-in-progress so rapid
      edit loops cannot stack Gemini API calls.
    
    Claude-Session: https://claude.ai/code/session_01DMAbzVdHqDdyoCKpub2bTC
    
    * chore(ci): sanitize delimiters, adopt system_instruction, and validate bot links
    
    - Neutralize delimiter tags in triage_issue.py and answer_issue.py so untrusted issue content cannot prematurely close <issue_content> tags.
    - Use native system_instruction API in Gemini requests for structural separation between instructions and user input.
    - Validate external links in answer_issue.py against an allowlist of approved documentation domains before writing issue_response.md.
    
    ---------
    
    Co-authored-by: Dale Hawkins <107309+dkhawk@users.noreply.github.com>
    kikoso and dkhawk authored Sep 8, 2026
    Configuration menu
    Copy the full SHA
    d64778c View commit details
    Browse the repository at this point in the history
  2. docs: add AGENTS.md guidance for AI coding agents (#993)

    * docs: add AGENTS.md guidance for AI coding agents
    
    * docs: refine AGENTS.md with import hygiene, draft PR notification, and test guidance
    
    ---------
    
    Co-authored-by: Dale Hawkins <107309+dkhawk@users.noreply.github.com>
    kikoso and dkhawk authored Sep 8, 2026
    Configuration menu
    Copy the full SHA
    aec06f3 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2026

  1. build: migrate unit test coverage from JaCoCo to Kover (#994)

    Replaces the manual JaCoCo wiring in PublishingConventionPlugin with
    kotlinx-kover 0.9.9. The old jacocoTestReport task hardcoded AGP 9
    internal intermediate paths (intermediates/built_in_kotlinc) to work
    around JaCoCo not understanding the built-in Kotlin compiler output;
    Kover integrates through AGP's variant APIs so none of that is needed.
    
    Also removes the unused com.mxalbert.gradle:jacoco-android classpath
    dependency (last released for AGP 8.x).
    
    CI now runs koverXmlReportDebug for the library modules. The
    instrumented-test coverage in instrumentation-test.yml is unchanged:
    it uses AGP's built-in on-device JaCoCo, which Kover does not cover.
    kikoso authored Sep 10, 2026
    Configuration menu
    Copy the full SHA
    2344932 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2026

  1. ci: record unit and instrumentation test coverage history (#1000)

    * ci: record unit and instrumentation test coverage history
    
    Coverage was reported per run but never retained, so there was no way to
    see how it moves over time. This adds an append-only history that is
    updated after every merge to main.
    
    coverage/history.csv holds one row per module per suite per merged commit.
    coverage/COVERAGE.md is regenerated from it with the current numbers and a
    trend table. Both are produced by .github/scripts/coverage_history.py,
    which parses the JaCoCo-format XML that both Kover and AGP emit.
    
    Two suites are tracked separately, since they instrument different code
    and cannot be merged from their XML reports:
    
      unit             koverXmlReportDebug, covering the library modules
      instrumentation  createDebugCoverageReport, covering maps-app and
                       maps-compose-widgets
    
    Instrumentation tests are not re-run after merge. The emulator already
    runs on every pull request, so instrumentation-test.yml now publishes its
    reports as an artifact and the post-merge workflow downloads it. That
    keeps the added CI cost at roughly zero. If the run is missing or the
    artifact has expired, only unit coverage is recorded for that commit.
    
    Pull requests also get a sticky comment showing the unit coverage delta
    against main. Instrumentation already has its own comment.
    
    Release-please commits are skipped so releases do not add entries.
    
    Also corrects a stale jacocoTestReport reference in AGENTS.md left over
    from the Kover migration in #994.
    
    * ci: bind workflow expressions through env to fix template injection
    
    zizmor flagged github.base_ref being expanded directly into a run block in
    test.yml as a high severity template-injection finding. Branch names can
    contain shell metacharacters, so the value is now passed through the step
    environment and referenced as a shell variable instead.
    
    github.sha in coverage-history.yml is bound the same way. It was not
    flagged, since it is always a hex digest, but this keeps run blocks free
    of any template expansion.
    
    Also notes why the checkout in coverage-history.yml keeps its credentials:
    the job pushes the updated history back to main.
    
    * ci: add thousands separators to coverage tables
    
    Large line counts were hard to read at a glance: 2731/5405 rather than
    2,731/5,405. Only the rendered markdown changes; history.csv keeps raw
    numbers so it stays machine readable.
    
    A comma is used rather than a dot because the tables already spell
    percentages with a decimal point, and reusing the dot for both roles would
    make a number like 2.731 ambiguous.
    
    Also regenerates COVERAGE.md, which had been committed with a timestamp
    one render out of step with history.csv.
    
    * ci: limit instrumentation coverage to modules that own androidTest
    
    createDebugCoverageReport emits a report for every module with
    enableAndroidTestCoverage, including maps-compose and maps-compose-utils,
    which have no androidTest sources at all. Those reports list every class
    at 0%, which reads as "untested" when the code is in fact exercised by
    maps-app's tests and simply attributed there.
    
    Recording them dragged the instrumentation total from 20.83% down to
    10.08% and said something false about the libraries. The suite now tracks
    maps-app and maps-compose-widgets, the two modules that actually own
    instrumentation tests, which also matches the figure the existing coverage
    comment reports.
    
    Verified against the real artifact from run 34986287391 rather than a
    fixture: maps-app 21.73%, maps-compose-widgets 6.71%, total 20.83%.
    
    Adds a --modules override ("all" records every module) so the scope can be
    changed without editing the parsing code.
    kikoso authored Sep 15, 2026
    Configuration menu
    Copy the full SHA
    a24cc53 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d8215c7 View commit details
    Browse the repository at this point in the history
  3. chore: verify android-maps-utils 6.0.0-rc01 compatibility

    - Update version catalog (libs.versions.toml) to depend on android-maps-utils 6.0.0-rc01 (android-maps-utils and android-maps-utils-core).
    - Upgrade JVM target to Java 17 across all modules.
    - Migrate Kotlin package imports from com.google.maps.android.ktx.* to canonical com.google.maps.android.*.
    - Add migrateKtxImports Gradle task in root build.gradle.kts.
    - Add USE_MAVEN_LOCAL conditional check in settings.gradle.kts.
    dkhawk committed Sep 15, 2026
    Configuration menu
    Copy the full SHA
    78d3209 View commit details
    Browse the repository at this point in the history
  4. chore: release v9.0.0-rc01

    dkhawk committed Sep 15, 2026
    Configuration menu
    Copy the full SHA
    1f88a2f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c8f463 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    799e40a View commit details
    Browse the repository at this point in the history
  7. chore: release v9.0.0-rc02

    dkhawk committed Sep 15, 2026
    Configuration menu
    Copy the full SHA
    a29c61d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    202638a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bb93897 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3ffd91b View commit details
    Browse the repository at this point in the history
Loading