Universal Tuya docsHomeSupported devicesRequest a deviceFAQChangelogArchitectureKnowledge baseCreditsSourcesContributing

P3340: what Athom's "AggregateError" is, and why master stops at 347 (16/11/2026, Paris)

Offline analysis only. No Athom upload, no Athom contact.

1. The error text is a Node network signature, not a validation report

2. Evidence matrix

BuildDriversapp.json BFlow cardsFilesContent vs previousResult
#3705 v9.0.16243473 357 82545994019nothing releasedTest
#3706 v9.0.16253473 357 825 (same size, version string only)45994019+P3318 JS, changelog +64 BAggregateError
#3707 v9.0.16263473 357 65945993813siren_moes_mg_bjq002 swapped for sound_sensor_tuyaAggregateError
9.0.1385 / 9.0.1386 (Oct)347 payload~3.8 MBnear-identicalTest / AggregateError
9.0.1424 / 9.0.1425, 9.0.1426 / 9.0.1427 (Oct)identical contentAggregateError / Test
9.0.1620 / 9.0.1621 (14/11)+1 never-published id each3.12 MBnew driver idTest, Test
stable #427 v5.12.x3422.85 MB4091normal pushTest (stable: 0 AggregateError in the ledger)
bastien270.50 MB6412179normal pushTest

3. Content audit (refused 347 payload vs stable vs bastien, same checks)

Script: deep lint of every string and structure in app.json (control characters, BOM, lone surrogates, U+FFFD, non-NFC, long strings, empty keys, duplicate flow/arg/token/setting/dropdown ids, arg and token types, missing en titles, titleFormatted args, unknown capabilities, sub-capabilities without a title, class values, zigbee mfr/pid types, empty values, whitespace, length, non-ASCII, endpoints/clusters, images, icons, pair/repair views, device filters, custom capability types) plus homey app validate --level publish.

4. Fixes in this change

5. How to go above 347 (proposals, not applied)

  1. Lower Athom's work per build, the only lever we control: smaller app.json (move per-driver bulk that Homey does not need for pairing out of the manifest), fewer flow cards (merge per-driver duplicates into app-level cards with device filters, without removing published ids), fewer payload files. Target: master app.json below stable's 2.85 MB, then add drivers back one by one.
  2. Applied as P3341 (owner go 16/11/2026 03:03 Paris): a bare AggregateError gets one bounded identical retry (P3311 first backoff), the breaker trips when the retry fails too. See P3036_ATHOM_PUBLISH_POLICY.md.
  3. Single diagnostic upload to confirm (one dispatch, Draft only): re-send the exact #3706 content (347, nothing released) with a new version. Test confirms the flake reading of #3706; a refusal on identical content with no change at all confirms that the refusals do not depend on content.

← Knowledge base index · source