Repository navigation
Слияние upstream v0.4.5; publish по-прежнему отправляет на ревью - #9
Merged
Merged
Conversation
Checksums re-computed from the official release artifacts for both architectures (arm64, x86_64); verified against the release's checksums.txt. 3.1.743 is the current release line (3.1.731 was pinned at the xtool 1.24 re-pin). Co-authored-by: coolswood <coolswood@gx10-7e45>
…inux (joshuaswarren#143) * tools: compat-suite.py runs an app through compile, package, sign, install, launch, test and archive Each app we claim to support needs one repeatable answer to "which stages pass on Linux, and which need an iPhone". The driver runs per-app stage commands from compat/suite/APP.json, reads ship.sh's "== N." markers to say which of package, sign and archive passed, blocks the stages behind a failure, and writes a markdown table. install and launch are never run: they print NEEDS-DEVICE with the USB list read from sysfs (DEVICE-PRESENT when an Apple device is attached). Configs for nalexn/clean-architecture-swiftui and pencilresearch/OpenScanner. Proof: tests/test_compat_suite.py (4 cases: all pass, compile failure, each ship failure point, attached iPhone) passes; a driver run on this host without Swift shows the expected FAIL, BLOCKED and NEEDS-DEVICE rows. No toolchain run of the two apps yet. * tests/run.sh: wire in the compat-suite unittests, guard cd with exit The compat-suite driver shipped with its own unittest file, but run.sh never invoked it, so a regression there would pass CI. Proof: bash tests/run.sh now prints 'Ran 4 tests' for test_compat_suite.py and exits 0; the whole suite stays green. Also adds the '|| exit 1' shellcheck flagged on the cd at line 7 (pre-existing). * compat-suite: first two app runs, receipts, and fixes found by them clean-architecture-swiftui (9eca97b8): adapt and compile PASS; ship.sh dies because the Linux actool fatals on an AppIcon catalog without a 1024 source (Findings section added). OpenScanner (6336c2cb): compile fails because the generator emits two Assets.xcassets into the widget target. Both receipts and stage logs checked in; both stage tables show install, launch and device test NEEDS-DEVICE (sysfs: no Apple vendor on the bus). ship-mac.sh: stop assuming an xtool.yml adapter. The bundle-id probe and the extensions step both died on a plain SwiftPM package (set -e plus pipefail on a missing file). Proof both ways: the HelloOmarchy SwiftUI package now builds and signs ad hoc; the test suite and bash tests/run.sh stay green. * review fixes: create the empty extensions.tsv, sanitize home paths in stage logs, regenerate receipts Review found three things. (1) ship-mac.sh guarded the tsv generation but not its consumer: with no xtool.yml the redirection `done < build/extensions.tsv` still aborted under set -e, so the no-adapter path was not fixed at all - the empty file is now created in the else branch. (2) Receipts carried absolute user paths; run_stage now replaces the user's home with ~ when writing stage logs (regression test added). (3) The countries receipt's first error cell was produced by the pre-fix error picker (a warning line) and its log could not have come from the tool's capture; both receipts and all stage logs are regenerated with the shipped code from clean app trees. All stage results are unchanged. * compat-suite: sanitize the returned stage log too, not just the written file first_error reads the in-memory log, so a home path could still reach the receipt table one ranking branch away from the committed receipts. Sanitize once at capture; the regression test now asserts the receipt text as well. * test: assert the generated receipt text, not a file run_suite never writes The home-path regression test read an .md file that only main() writes, so it errored on a missing directory. It now runs the suite again and asserts on the receipt string the tool would print. Gate: tests/run.sh rc=0, 5 tests OK.
…w that xtool-org/xtool#432 is merged) (joshuaswarren#144) * install-toolchain: pin xtool main now that #432 is upstream xtool-org/xtool#432 (the release-build workaround for #431) merged as a2875dd, so the pin moves from c9f4363 (main before #389) to xtool main plus the fork commits, joshuaswarren/xtool#4 at 7cc56c3. Its tree is the 86925e8 one device-tested on 2026-11-06. The SDK stamp is unchanged. * install-toolchain: name the xtool fork fixes as fork-carried, and the omarchy-main-pin tag
joshuaswarren#145) Two fixes from joshuaswarren#136. The rewrite phase is now a transaction: when a step refuses, the root manifest and the host copies of earlier runs are put back as they were, and a copy this run created is removed, so a refusal leaves no trace. The backup lives beside the package while the phase runs and is removed when it commits. An identity declared by two .package(url:) calls is refused with the count before the package is resolved at all; before, the map silently kept the last call and dropped the other. A copy of an earlier run is copied aside, not moved: SwiftPM leaves checkouts read-only and renaming a 555 directory is refused (EPERM) on some filesystems, ZFS among them. force_rmtree removes read-only trees where plain rmtree cannot. Both cases are regression fixtures in --self-test now (29 checks), with the resolver stubbed: the partial-rewrite fixture keeps a read-only earlier copy and checks it is restored byte for byte; the duplicate fixture checks the refusal names the identity and the count and that the resolver never runs. Tested on Omarchy Linux x86_64: python3 -m py_compile, python3 tools/host-manifests.py --self-test (29 checks), bash tests/run.sh (all checks passed; macOS-only suites skipped).
…en#147) * actool: merge a folder that two asset catalogs both have Two catalogs with a folder of the same name, each with its own Contents.json (WfpColors.xcassets/Wfp and WfpIcons.xcassets/Wfp, both provides-namespace), crashed actool while preparing the merged catalog: Fatal error: ... Code=516 "A file with the same name already exists." NSDestinationFilePath=/tmp/actool-.../Merged.xcassets/Wfp/Contents.json Apple's actool merges such folders. The folder's Contents.json is now copied only when the merged folder has none yet (the first catalog's stays); the assets inside still go through place(), so the same asset in two catalogs is still refused (DuplicateEntry). tests/actool-shared-folder/run.sh (in tests/run.sh): row 1, a shared folder compiles to Assets.car; row 2, the same colorset in two catalogs is still refused with "defined in more than one asset catalog". Skipped when no actool is built. Mutant: the unfixed actool fails row 1. Tested on Omarchy (Arch) aarch64, Swift 6.4, iPhoneOS 27.0 SDK: swift build -c release --product actool; bash -n; bash tests/actool-shared-folder/run.sh (2 rows passed, row 1 fails on the unfixed actool); an app with the two catalogs above then built with xtool dev build. Co-Authored-By: Claude Opus 5.5 <[email protected]> * actool: refuse a shared folder whose properties differ A folder in two catalogs merges keeping the first Contents.json; when the two "properties" differ (provides-namespace in one only), keeping the first would silently change what the second catalog meant, so actool now refuses it ("... is a folder in more than one asset catalog with different properties"). Row 3 of tests/actool-shared-folder covers it (mutant M2: skipping the comparison fails row 3). Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…aswarren#149) An imageset with one universal bitmap entry and no "scale" (Xcode's "Single Scale" set) compiled, but AssetKit keyed its rendition at scale 0 (rendition.scale ?? 0), which UIKit never matches: the app logged "No image named 'X' found in asset catalog" and drew nothing. Apple's actool keys these at 1x. CatalogMerge already copies each imageset into the merged catalog it hands to AssetKit; a PNG, JPEG or HEIC entry without a scale now gets "scale": "1x" in that copy (the project's catalog is untouched). SVG and PDF entries stay scale-free: they are rasterized at 1x/2x/3x and keep their own keying. tests/actool-single-scale/run.sh (in tests/run.sh): row 1 compiles a single-scale PNG set and reads every rendition key's scale with tools/car_check.py's parser, all 1, none 0; row 2, a vector SVG set still compiles (skipped without rsvg-convert). Mutant: the unfixed actool fails row 1 ("rendition scales 0"). Tested on Omarchy (Arch) aarch64, Swift 6.4, iPhoneOS 27.0 SDK: swift build -c release --product actool; bash -n; bash tests/actool-single-scale/run.sh (2 rows passed, row 1 fails on the unfixed actool). An app with 7 single-scale sets (JPEG photos, PNG logos): its car had 7 renditions at scale 0 before and none after, and on an iPhone (iOS 26.5.2) every image loads, with no "No image named" in the log. Fixes joshuaswarren#148 Co-authored-by: Claude Opus 5.5 <[email protected]>
…onfiguration cache (joshuaswarren#153) * kmp: framework binary options reach the link, and the init task works with the Gradle configuration cache Issue joshuaswarren#150, both host-independent parts: - The init script's task read the project model in its action (compile output, dependency files, export list, the framework itself), so the Gradle configuration cache could not store it: on a Kotlin 2.4.21 project with Gradle 8.14.2 the store failed with 'Configuration cache state could not be cached: field apiConfiguration of ...'. Everything is now read once at configuration time as plain values or lazy providers; the action only prints them. - The framework's binaryOptions (bundleId, bundleShortVersionString, bundleVersion) never reached kmp/build-framework.sh's link, so the framework was linked with defaults whatever the project declared. The dump now carries a BINOPT line per option and kmp_link passes each as -Xbinary=key=value, like the Gradle plugin does. tests/kmp-framework/run.sh row 8: BINOPT lines reach the stub compiler as -Xbinary=key=value (M4: drop the BINOPT case, row 8 fails). Receipts on this host, fixture with Kotlin 2.4.21 + Gradle 8.14.2: store rc=1 before, rc=0 after; execution under the cache prints the full dump including the project's three binaryOptions, and a rerun reuses the cache. tests/run.sh: all checks passed. * kmp: read the framework settings in projectsEvaluated Review finding on joshuaswarren#153: a project that sets its framework's binary options in its own afterEvaluate ran after the init script's afterEvaluate, so the snapshot silently missed them and the framework was linked with compiler defaults. projectsEvaluated runs after every afterEvaluate, so it sees late settings; still configuration time, so the configuration-cache receipts hold. Receipt (Kotlin 2.4.21 fixture): binaryOptions mutated in the project's afterEvaluate reach the dump (BINOPT bundleId=late.set.bundle); with the snapshot back in afterEvaluate they do not. Store rc=0, execution under the cache rc=0 after the move.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…rren#152) * device-run.sh: compile the app icon into every dev install xtool has no asset catalog support, so `xtool dev run` installed apps with a blank icon: no Assets.car, no AppIcon PNGs, no CFBundleIcons. Only ship.sh step 3 ran actool --app-icon. Step 3 moves verbatim to tools/compile-app-icon.sh APP; ship.sh calls it (PY and ACTOOL passed through). device-run.sh's USB, --lldb and --network paths now go xtool dev build, icon, xtool install (the --lldb path already installed with xtool install). ios-run runs a copy of device-run.sh from a temp file, so the helper is also looked up in ${APPLE_DEV_REPO:-~/Tools/omarchy-apple-dev}. An icon that fails to compile warns and the app still installs. tests/device-run-app-icon/run.sh (in tests/run.sh), with stub xtool, actool, lsusb and pymobiledevice3: row 1 USB runs build, actool --app-icon AppIcon on xtool/Demo.app, install, no dev run, and Info.plist gets CFBundleIcons; row 2 --network the same; row 3 a copy outside the repo finds the helper through APPLE_DEV_REPO; row 4 actool failing warns and still installs. Mutant: the USB path back on xtool dev run fails row 1. Tested on Omarchy (Arch) aarch64, Swift 6.4, iPhoneOS 27.0 SDK: bash -n; tests/device-run-app-icon, device-run-console, device-run-symbolicate, ship-root-resources, ship-bundle-info-plist, flutter-ship pass; ship.sh --device on an app without an icon still runs (step 3 reports no AppIcon). device-run.sh on a SwiftPM app with a 1024 AppIcon.appiconset: the build has Assets.car, [email protected] and CFBundleIcons, and the app installed on an iPhone (iPhone15,4) reports CFBundleIcons / AppIcon in pymobiledevice3 apps list. Fixes joshuaswarren#151 Co-Authored-By: Claude Opus 5.5 <[email protected]> * device-run.sh: a dev build that leaves no xtool/*.app is an error dev_build found the app with $(ls -d xtool/*.app | head -n1) twice. When xtool dev build succeeded but left no .app, compile-app-icon.sh warned "no app at " and xtool install then failed on an empty path. dev_build now finds the app once (APP), and with none it stops with "ERROR: xtool dev build left no xtool/*.app" before actool or xtool install run. A failed build already stops the script (set -euo pipefail). tests/device-run-app-icon/run.sh row 5: the stub build leaves no .app; the run exits 1 with the error, and runs no actool and no install. Mutant: without the check, row 5 fails (exit 0, xtool install runs). Tested: bash -n; tests/device-run-app-icon/run.sh passes. tests/run.sh has 8 FAIL rows (actool-shared-folder, simview determinism), the same 8 as without this change. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…What's New (joshuaswarren#155) An opt-in command after the upload; ship.sh stays as it is. `asc.py publish IPA|APP NOTES_JSON` finds the App Store version for the bundle's version string (creates it, releaseType MANUAL, when missing), attaches the uploaded build (VALID and not expired; a build still processing stops with a plain message — rerun once TestFlight shows it VALID) and fills "What's New" in every store locale from a Play-style release_notes.json (locale mapping he->iw, zh-Hans->zh-CN, base language, en-US, ru; emoji stripped — App Review rejects them — and an emoji-only entry is an error; locales that get no text are reported). It stops before App Review on purpose: submitting for review stays a manual step, so the README's "never submits a build for review" line stays true. A version that exists only frozen (IN_REVIEW and friends) is a hard error with a non-zero exit, so a script never reads the stop as success. Re-runs change nothing: a version already WAITING_FOR_REVIEW is left untouched, a matching attached build is reported, not re-attached. tests/test_asc_publish.py runs the real command line with `call` replaced by canned responses (offline, exit codes asserted). Eight rows: the full create-attach-fill pass with per-locale mapping, the mapping tail with missing/unused locale reports, the emoji-only error, the frozen non-zero stop, both no-op re-runs, the build-number mismatch and the usage line. Six mutants each fail the rows they name. README paragraph under the ship.sh upload section and a CHANGELOG entry. Co-authored-by: coolswood <coolswood@gx10-7e45>
…ve build (joshuaswarren#146) * kmp: link on Linux aarch64 with the unofficial voize-gmbh Kotlin/Native build JetBrains ships no Kotlin/Native for Linux aarch64, and the Kotlin Gradle plugin turns every native target off on that host, so the klibs were never built. On aarch64 build-framework.sh now: - downloads the aarch64 distribution, LLVM and libffi of voize-gmbh/kotlin v2.4.21-linux-arm64 once, each checked against the release's SHA256SUMS, into ~/.cache/omarchy-apple-dev/kmp (marked complete only once extracted); KMP_ARM64_VERSION / KMP_ARM64_RELEASE pick another; - runs Gradle with that distribution (kotlin.native.home) and tells the plugin it runs on x86_64 (os.arch, set by ios-kmp.init.gradle before the plugin loads, so --no-daemon for a fresh JVM); - links as on x86_64, with the aarch64 LLVM and libffi (the linux_arm64 keys of konan.properties). The aarch64 build's Kotlin version is used, whatever the project's plugin says (logged when they differ). On both hosts: - --no-configuration-cache: a project with the configuration cache on refuses the init script's task (it reads the model at run time); - ios-kmp.init.gradle carries the framework's binaryOptions (-Xbinary), so bundleId / bundleShortVersionString / bundleVersion reach Info.plist (it said 1.0 before). tests/kmp-framework/run.sh: the rows pin KMP_HOST=x86_64 (they model the x86_64 layout and now pass on an aarch64 machine too); row 8 checks the aarch64 distribution: a checksum mismatch fails and caches nothing, a match is cached and reused. Mutant: dropping the sha256sum check fails row 8. Tested on Omarchy (Arch) aarch64, Swift 6.4, iPhoneOS 27.0 SDK: bash -n; bash tests/kmp-framework/run.sh (8 rows passed); a Kotlin 2.4.21 KMP project (static framework, kotlinx-serialization, org.jetbrains:markdown) linked in 80 s, and the SwiftUI app around it built with xtool dev build. Not run on a device yet. Co-Authored-By: Claude Opus 5.5 <[email protected]> * kmp: remove an aarch64 dependency only after its archive is checked kmp_arm64_deps deleted the dependency directory before kmp_fetch, so a failed or mismatched download also removed what was there. The directory is now removed only once the archive passed its SHA256SUMS check; the comment says the order. Co-Authored-By: Claude Opus 5.5 <[email protected]> * kmp/README: the aarch64 run was on Kotlin 2.4.21, as the PR says Co-Authored-By: Claude Opus 5.5 <[email protected]> * kmp/README: the aarch64 app was run on a device by hand Co-Authored-By: Claude Opus 5.5 <[email protected]> * kmp: leave the platform klibs to the compiler On aarch64 Gradle (given kotlin.native.home) lists the iOS platform klibs of its distribution among the framework's dependencies. kotlinc-native adds its own copies by default, so every one arrived twice and the link failed: "KLIB resolver: The same 'unique_name=org.jetbrains.kotlin.native.platform. AVKit' found in more than one library". kmp_link now skips LIBRARY lines under klib/platform/. tests/kmp-framework/run.sh row 10; mutant M5 (drop the skip) fails it. Verified on aarch64 with a real app (WorkfloPlus engine, Kotlin 2.4.21): the XCFramework linked with CFBundleShortVersionString from the project's binary options, and xtool dev build built the app around it. Under JDK 25 (Android Studio's JBR) the aarch64 compiler crashed; JDK 17 works, noted in the README. Co-Authored-By: Claude Opus 5.5 <[email protected]> * kmp/README: drop the JDK note Co-Authored-By: Claude Opus 5.5 <[email protected]> * kmp: pin the aarch64 release digests in the script The voize-gmbh release is mutable: its assets and SHA256SUMS can be replaced together, so checking against the release's own SHA256SUMS proved integrity, not provenance. kmp_fetch now checks a table pinned for KMP_ARM64_VERSION=2.4.21; a file missing from it fails closed, and another version needs KMP_ARM64_SUMS, a SHA256SUMS file you trust. Row 11: a release whose SHA256SUMS agrees with a tampered archive is refused. Row 12: an unpinned version fails and names KMP_ARM64_SUMS. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Stamps a fresh CFBundleVersion (UTC yyyymmddHHMM) on the built app tree, dev-signs inner-out with the API-created development identity, repackages, then over ssh drives tailnet-tunnel.py on the install host for a RemotePairing install, reads the version back with apps list, and launches with dvt launch. Verified end to end: build 202611101653 installed over the tunnel and launched (pid 1402); apps list reported version 1.0.0 build 202611101653.
… Verified end to end (build 202611101653, pid 1402).
…s from Package.resolved (joshuaswarren#161) Why: requirement() had the revision return after the branch return, so no revision case ran. A package pinned by commit in Xcode took the Package.resolved commit with a misleading 'no requirement kind' warning, and a project with no Package.resolved skipped the package. A branch pin silently followed the branch head while Xcode built the Package.resolved commit. What: kind = revision with a revision returns revision: <that commit>, no warning. A branch pin keeps branch: and warns, naming the Package.resolved commit it does not follow. Proof: new requirement self-test (11 checks); the revision and branch-warning checks failed before the change; tests/run.sh passes. Signed-off-by: joshuaswarren <[email protected]>
…oshuaswarren#157) * xcodeproj2xtool: read an exact package version where Xcode writes it Xcode saves an "Exact Version" package requirement as requirement = { kind = exactVersion; version = 1.0.3; }; but requirement() read req['exactVersion'], so any project pinning a package to an exact version stopped the conversion with KeyError: 'exactVersion' and "no package generated". The version is now read from `version`, with `exactVersion` kept as a fallback. The self-test fixture gains a package pinned the way Xcode writes it (Exacty, exact 1.0.3) and a check that Package.swift gets `exact: "1.0.3"`. Mutant: going back to req['exactVersion'] fails the self-test with the original KeyError. * xcodeproj2xtool: warn instead of pinning an empty exact version Review follow-up: an exactVersion requirement with neither `version` nor `exactVersion` emitted `exact: ""`, a manifest SwiftPM refuses, with no warning. It now falls back to the Package.resolved revision (warned), or is warned about and skipped, like an unsupported requirement kind. The fixture gains Legacy (pinned under the `exactVersion` key) and Noversion (no version at all). Mutants: dropping the exactVersion fallback fails the legacy check; emitting `exact: ""` again fails the two missing-version checks.
) Some Kotlin/Native artifacts declare a JVM jar as a dependency of their native variants: apollo-annotations-iosarm64 3.x depends on org.jetbrains:annotations:23.0.0. Gradle resolves it into the link task's libraries, and the Kotlin Gradle plugin keeps it off the compiler's command line; kmp_link passed every LIBRARY line as -library, so the link failed: error: KLIB resolver: Could not find ".../annotations-23.0.0.jar" in [...] LIBRARY lines naming a .jar are now skipped, like the platform klibs. tests/kmp-framework/run.sh row 13: a jar in the dump is not passed, the klib next to it is. Mutant M6 (drop the .jar skip) fails row 13.
…яет отправку на ревью Upstream взял наш asc.py publish (их joshuaswarren#155), но обрезал его до publish-without-submit. Единственный конфликт слияния — tools/asc.py — разрешён в пользу форка: publish с отправкой на App Review (переиспользование открытой submission, версия как reviewSubmissionItem, PATCH submitted=true, опрос состояния), от него зависит релизный поток форка. Разрешения конфликтов: - tools/asc.py, 4 региона — все внутри блока publish; взят наш вариант целиком (заголовок секции, docstring editable_version, docstring publish, финальный код отправки вместо строки «publish stops here»). Дельта upstream вне конфликта — только формулировки docstring. - tests/test_asc_publish.py (новый тест upstream под их no-submit контракт) адаптирован под наш: строки 1/2/6 проверяют вызовы отправки, мутант M6 инвертирован (publish без отправки падает на строках 1/2/6). - CHANGELOG.md и install-toolchain.sh слились автоматически без потерь: ipsw 3.1.743 и чексуммы у сторон совпадают, xtool re-pin (7cc56c39, omarchy-main-pin) принят как ванильный upstream. Ванильные upstream-компоненты приняты как есть: compat-suite, actool (ключи 1x, общая папка каталогов), kmp link (binary options, voize-gmbh aarch64, jar вне линковки), xcodeproj2xtool (exact version, kind=revision), host-manifests, compile-app-icon + иконка в device-run, push-demo.sh. Проверки: bash -n по всем pipeline-скриптам; py_compile asc.py, compat-suite.py, host-manifests.py, xcodeproj2xtool.py; unittest 251 OK (3 skip); asc golden-validate OK; tests/flutter-ship (15 строк) OK; новые bash-тесты upstream OK. tools/asc.py байт-в-байт совпадает с main.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
coolswood
pushed a commit
that referenced
this pull request
Nov 21, 2026
Merge в worktree agent/omarchy-reconcile-046 (база origin/main 326734e): - ipad-screen (Tailscale-просмотр/управление iPad), kmp x86_64-пины хост-депсов, sdk-free фиксы (Info.plist, SwiftUI Color), stamp()-хардening asc.py (xtool-раскладка SDK + границы версии Mach-O), m5-install, Icon Composer automatic-gradient (AssetKit #6); - publish в tools/asc.py оставлен форковый (WhatsNew + attach + review submission) — апстримовский (их joshuaswarren#155) останавливается перед сабмитом; tests/test_asc_publish.py — форковая редакция; - ipsw-пин остаётся 3.1.745 форковый (апстрим ещё на 3.1.743); - kmp/build-framework.sh и tests/kmp-framework/run.sh взяты апстримовые целиком (форковых правок kmp нет). Прошлый reconcile (#9) был squash-мержем — история апстрима в main кончается на 031155f, поэтому 0.4.5-контент вливается повторно (конфликты publish/kmp ожидаемы).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что принес upstream v0.4.5 (+3 коммита после тега)
Всё — ванильные компоненты, которые форк не кастомизирует:
tools/compat-suite.py): два open-source Swift-приложения прогоняются через все стадии на Linux; чек-квитанции вreceipts/.kind = revisionи предупреждает о расхождении branch-пина с Package.resolved.tools/compile-app-icon.sh).omarchy-main-pin(7cc56c39, несёт build: fix compiler crash in release due tounimplemented()xtool-org/xtool#432 — release-сборка снова жива после #389).Главное: asc.py publish
Upstream взял наш
publish(их joshuaswarren#155), но обрезал его до publish-without-submit — их publish останавливается перед отправкой на App Review принципиально («submission is a manual step»).Конфликт (единственный, 4 региона в
tools/asc.py, все внутри блока publish) разрешён в пользу форка: сохранён наш publish с полной отправкой на ревью (открытая submission переиспользуется или создаётся, версия добавляется как reviewSubmissionItem, PATCHsubmitted=true, опрос состояния) — релизный поток форка зависит от отправки. Дельта upstream вне конфликта — только формулировки docstring.tests/test_asc_publish.py(новый тест upstream под их no-submit контракт) адаптирован под наш: строки 1/2/6 теперь проверяют вызовы отправки, мутант M6 инвертирован (publish без отправки падает). Строки про frozen-state стоп, маппинг локалей, emoji-стриппинг и attach — upstream-овские без изменений.CHANGELOG.mdиinstall-toolchain.shслились автоматически без потерь.Проверки
bash -n: ship.sh, ship-mac.sh, device-run.sh, flutter/ship.sh, install-toolchain.sh, push-demo.sh, compile-app-icon.sh — OKpy_compile: asc.py, compat-suite.py, host-manifests.py, xcodeproj2xtool.py — OK;tools/asc.pyбайт-в-байт совпадает с mainpython3 -m unittest discover: 251 тест OK (3 skip)tests/asc/golden-validate.pyOK;tests/flutter-ship/run.sh(15 строк контракта форка) OKНикаких установок тулчейна, сборок устройства и реальных вызовов asc.py не выполнялось (репо-задача; тулчейн обновляет параллельный агент).