anthropics / anthropics/claude-code

[Agent incident] 2026-08-08 12:18 - třetí iOS release v řadě: link frameworku spadl na Java heap space

Open
#94,944 0 comments 0 reactions 0 assignees View on GitHub
area:agent platform:intellij question
Dominant language
Python
Stars
145k
Forks
23.1k
PR merge metrics
PR metrics pending

Description

### Summary

Incident recorded on **2026-08-08 12:18** while working with the coding agent in IntelliJ IDEA on a private Kotlin Multiplatform project.

### Environment

- Surface: Claude Code agent in IntelliJ IDEA (JetBrains plugin)
- Project: private Kotlin Multiplatform app (Android/iOS/desktop)

### Record (verbatim, Czech)

#### 2026-08-08 12:18 — třetí iOS release v řadě: link frameworku spadl na Java heap space

- **Co se stalo:** `v1.0.139` (běh 31256243416) se přes podpis dostal dál než 137/138,
17 minut linkoval a pak spadl na
`error: Compilation failed: Java heap space` v `DevirtualizationAnalysis` (LTO fáze
`linkReleaseFrameworkIosArm64`), a s ním `** ARCHIVE FAILED **`.
- **Proč:** Kotlin/Native kompilátor běží ve VLASTNÍM procesu a heap si nebere
z `kotlin.daemon.jvmargs` — v `gradle.properties` mu žádný limit nastavený nebyl,
takže jel s defaultem, který na release LTO iosArm64 nestačí.
- **Škoda:** třetí release za sebou bez ipa a 20 minut placeného macOS běhu do koše.
Tenhle pád je JINÁ příčina než podpis extension (položka níž) — oprava podpisu ho
proto nemohla zachytit a bez téhle změny by spadl i další běh.
- **Jak zjištěno:** až když jsem si sáhl pro log padlého jobu; z výpisu běhů to vypadá
stejně jako předchozí dva pády (`Check iOS result`).
- **Oprava:** `kotlin.native.jvmArgs=-Xmx5g -XX:+UseParallelGC` v `gradle.properties`.
5 GB je strop, ne přání: macOS runner má ~7 GB RAM a vedle běží gradle daemon (4 GB),
takže víc už riskuje, že proces zabije systém — to je zbytkové riziko téhle opravy.
- **Pravidlo:** „stejná červená" ještě neznamená stejná příčina. U padlého placeného
běhu se čte LOG, ne jen jméno kroku — jinak se opraví jedna příčina a další běh
spadne na druhé. Viz skill `read-incidents-before-push`.

Provenance in the project's git history

- record key: `2026-08-08 12:18`
- first committed: `2026-08-08T14:44:07+02:00`
- first commit: `8c396f3c15cf`
- stored versions of this record: 1
- files it lived in: `ai-incidents.md`, `ia-sabotages/ai-incidents.md`, `tool-sabotages/ai-incidents.md`

---
_Filed from a recovered incident log. The record above is reproduced verbatim from the project's `ai-incidents.md`; it was written in Czech at the time of the event._

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the incident record in ai-incidents.md and compare its stored versions in ia-sabotages/ai-incidents.md and tool-sabotages/ai-incidents.md. Confirm whether this issue requests a documentation change or merely records an external incident; done is a clearly defined repository change with an explicit verification target.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, kotlin
Domain
build-system, ci-cd, documentation, mobile
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.