Skip to content

Count SDK versions and runtimes in the sync action's summaries - #47

Merged
leogdion merged 2 commits into
194-snapshot-exportfrom
sync-action-export-summary
Nov 27, 2026
Merged

leogdion merged 2 commits into
194-snapshot-exportfrom
sync-action-export-summary

Conversation

@leogdion

Copy link
Copy Markdown
Member

Summary

.github/actions/cloudkit-sync/action.yml writes two summaries, and both predate the SDK and runtime sync from #44:

No Swift changes.

Testing

  • yq pulled both run steps out of the action. I ran them with bash -e against a hand-written sync-result.json and export file:
    • Sync totals: created 7, updated 17, failed 1, total 25. These match the sums of the five rows.
    • Deleted SDK records: 2.
    • Export total: 11, which matches the five counts.
  • Not run in a real workflow: both scheduled workflows set enable-export: 'false', so the export summary only appears when someone turns it on.

🤖 Generated with Claude Code

https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK

The sync and export summaries only counted restore images, Xcode and
Swift versions, so SDKVersion and SimulatorRuntime (added in #44) never
showed up. Add both, plus the SDKVersion records the sync deletes.

Also drop the stale "limited to 200 records per type" notes: MistKit
1.0.0-beta.6's queryAllRecords follows continuation markers (#17).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK
@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 396bef61-5593-4751-8970-e52e5e75fae5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@claude

claude Bot commented Nov 27, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@leogdion
leogdion changed the base branch from main to 194-snapshot-export November 27, 2026 18:23
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK
@leogdion
leogdion added this pull request to stack #48 November 27, 2026 19:54
@leogdion
leogdion merged commit 8bdb938 into v1.0.0-alpha.4 Nov 27, 2026
10 checks passed
leogdion added a commit that referenced this pull request Nov 27, 2026
Covers #46 (export --snapshot) and #47 (sync action summaries).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK
leogdion added a commit that referenced this pull request Nov 27, 2026
* Add swoopmist export --snapshot for the release-data snapshot (#46)

* Add `swoopmist export --snapshot` for the release-data snapshot

Writes SDKVersion, XcodeVersion and SimulatorRuntime as SwoopKit's
ReleaseDataSnapshot, byte for byte what Stewed's StewedTools
`release-data-snapshot` wrote, so Stewed can drop StewedTools
(brightdigit/Stewed#194).

- Queries only those three types with queryAllRecords (paged), maps every
  record with from(recordInfo:), and fails on an empty type or an
  unmapped record.
- Sorted by record name, whole-second fetchedAt, SwoopKit's
  JSONEncoder.iso8601PrettySorted plus a trailing newline.
- Read-only. Development unless --allow-production is passed, which is a
  flag only, with no environment variable.
- A fixture JSON written by StewedTools' own code over fixed records
  proves byte identity.

Needs SwoopKit 1.0.0-beta.2 (brightdigit/SwoopKit#3) for
ReleaseDataSnapshot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK

* Resolve SwoopKit 1.0.0-beta.2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

* Count SDK versions and runtimes in the sync action's summaries (#47)

The sync and export summaries only counted restore images, Xcode and
Swift versions, so SDKVersion and SimulatorRuntime (added in #44) never
showed up. Add both, plus the SDKVersion records the sync deletes.

Also drop the stale "limited to 200 records per type" notes: MistKit
1.0.0-beta.6's queryAllRecords follows continuation markers (#17).


Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
leogdion added a commit that referenced this pull request Nov 27, 2026
* Add 1.0.0-beta.4 release notes

Covers #46 (export --snapshot) and #47 (sync action summaries).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK

* Call the release 1.0.0-alpha.4

The next version is 1.0.0-alpha.4, not 1.0.0-beta.4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3TXo46UssMPhwYSboRtyK

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant