From 5b540129bd47cf74027db4faefa03c0043e1d948 Mon Sep 17 00:00:00 2001 From: "andy.wong" Date: Tue, 27 Oct 2026 15:16:47 -0400 Subject: [PATCH 1/2] Refresh stable Swift package CI Committed-by: Codex --- .github/workflows/docs.yml | 19 +++++++++++++++++-- CHANGELOG.md | 1 + tasks/todo.md | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 1bc6bb7..ba8d99f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -8,6 +8,7 @@ on: - "Package.swift" - "README.md" - "Sources/**" + - "Tests/**" - "docs/**" push: branches: @@ -18,15 +19,29 @@ on: - "Package.swift" - "README.md" - "Sources/**" + - "Tests/**" - "docs/**" jobs: docbuild: - runs-on: macos-latest + runs-on: xcode-27 + env: + DEVELOPER_DIR: /Applications/Xcode_27.1.app/Contents/Developer steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 + + - name: Show stable toolchain + run: | + xcodebuild -version + swift --version + + - name: Build package without warnings + run: swift build -Xswiftc -warnings-as-errors + + - name: Run package tests + run: swift test - name: Build DocC catalog run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index f57d684..66a4247 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,6 +53,7 @@ ### Changed +- Updated CI to checkout v7 and stable Xcode 27.1, with a warnings-as-errors library build, full package tests, DocC verification, and test-file path triggers. - Added Xcode Quick Help documentation across the full exposed package API surface, including the native wrapper/helper layer and the deprecated compatibility layer, so every public type and entry point is easier to discover directly from Xcode. - Added richer Quick Help coverage for the zoom/navigation surface, including `SCChartTimeViewport`, `SCChartScrollBehavior`, `SCChartZoomBehavior`, and the scrollable interactive wrappers. - Raised minimum supported platform versions to Swift Charts baselines: diff --git a/tasks/todo.md b/tasks/todo.md index 306de36..d0143d3 100644 --- a/tasks/todo.md +++ b/tasks/todo.md @@ -1,5 +1,39 @@ # Active Todo +## Routine Maintenance Release 1.0.9 - 2026-10-27 + +- [x] Confirm release tag, clean sibling main, and hosted stable Xcode availability +- [x] Update checkout, stable toolchain selection, unit-test execution, and test path triggers +- [ ] Validate workflow syntax and run hosted stable build, tests, and DocC +- [ ] Request Codex GitHub review and resolve actionable findings +- [ ] Fast-forward and push main, publish annotated 1.0.9, and verify remote refs +- [ ] Record final verification, update issue #7, and remove temporary artifacts + +### Review + +- Scope: CI maintenance plus changelog and task evidence. Preserve all library APIs, Swift 5.7 tools minimum, and deployment targets. +- Use the hosted `xcode-27` image with explicit stable Xcode 27.1; local Xcode 27.2 RC is not a stable verification substitute. +- Verify on the feature PR before integrating main and tagging; never force-push or move an existing tag. +- Local verification passed: actionlint 1.7.12 (checksum-verified download; temporary config includes GitHub's documented `xcode-27` label), parsed workflow acceptance checks for both test triggers, stable toolchain, build, tests and DocC, plus `git diff --check`. + +## Routine Maintenance Audit - 2026-10-27 + +- [x] Check current Apple Swift/Charts documentation and installed toolchain release channel +- [x] Review package compatibility, availability guards, and CI coverage +- [x] Run warnings-as-errors build with the initially selected toolchain (Xcode 27.2 RC) +- [ ] Run full tests and DocC with stable Xcode (blocked: only prerelease tools installed) +- [x] Record necessary updates, optional modernization, and verification limits + +### Review + +- Tracking: https://github.com/ImpostersLimited/SimpleChart/issues/7. GitHub MCP required reauthentication; authenticated `gh` fallback created the issue without assignees or project placement. +- Official Swift 6.4 release notes and Apple's Swift updates describe availability shorthand, async defer, and noncopyable iteration/collections. No concrete benefit requiring these newer features was found for this synchronous chart wrapper; retain the Swift 5.7 tools minimum and current deployment targets. +- Apple's current Swift Charts updates feed still lists June 2024 vectorized/function plots and June 2025 3D charts. The package already covers these families and conditionally enables Xcode 27 ViewBuilder chart composition. No new chart family requiring a wrapper was identified. +- Current checkout and origin/main both remain at release commit `12508be`. `swift build -Xswiftc -warnings-as-errors` passed on the installed Swift 6.4.2 toolchain (69.87 seconds); no non-private `@State` declarations remain in Sources. +- Toolchain correction: `/Applications/Xcode.app` reports Xcode 27.2 build 27B48, which Apple's current documentation identifies as RC. Command Line Tools receipt is also 27.2. The latest stable Apple release found is Xcode 27.1; do not count the RC build as stable verification or run further prerelease tests under the stable-only policy. +- Recommended CI maintenance: `.github/workflows/docs.yml` still uses `actions/checkout@v4` (upstream latest v7.0.1), has no `swift test` step, and omits `Tests/**` from path triggers. Add stable-toolchain unit-test coverage and refresh checkout in a separate implementation change. +- Fresh stable tests and DocC, simulator/device rendering, and Swift 6 language-mode migration were not verified. No package source, manifest, workflow, or release refs were changed by this audit. + - [x] Read the linked Point-Free post and audit every SwiftUI state declaration - [x] Replace immutable legacy view inputs with private stored values - [x] Verify every remaining `@State` declaration is private From b8a1758abeee7aa5d6663ba5de7dd292c488d5de Mon Sep 17 00:00:00 2001 From: "andy.wong" Date: Tue, 27 Oct 2026 15:24:22 -0400 Subject: [PATCH 2/2] Record stable maintenance verification Committed-by: Codex --- tasks/todo.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tasks/todo.md b/tasks/todo.md index d0143d3..57cc5de 100644 --- a/tasks/todo.md +++ b/tasks/todo.md @@ -4,10 +4,10 @@ - [x] Confirm release tag, clean sibling main, and hosted stable Xcode availability - [x] Update checkout, stable toolchain selection, unit-test execution, and test path triggers -- [ ] Validate workflow syntax and run hosted stable build, tests, and DocC -- [ ] Request Codex GitHub review and resolve actionable findings -- [ ] Fast-forward and push main, publish annotated 1.0.9, and verify remote refs -- [ ] Record final verification, update issue #7, and remove temporary artifacts +- [x] Validate workflow syntax and run hosted stable build, tests, and DocC +- [x] Request Codex GitHub review and resolve actionable findings +- [x] Confirm main can fast-forward and annotated release tag 1.0.9 is unused +- [x] Record final verification, update issue #7, and remove temporary artifacts ### Review @@ -15,13 +15,16 @@ - Use the hosted `xcode-27` image with explicit stable Xcode 27.1; local Xcode 27.2 RC is not a stable verification substitute. - Verify on the feature PR before integrating main and tagging; never force-push or move an existing tag. - Local verification passed: actionlint 1.7.12 (checksum-verified download; temporary config includes GitHub's documented `xcode-27` label), parsed workflow acceptance checks for both test triggers, stable toolchain, build, tests and DocC, plus `git diff --check`. +- PR: https://github.com/ImpostersLimited/SimpleChart/pull/8. Automated Codex review completed for `5b54012` with no findings. +- Hosted verification passed: https://github.com/ImpostersLimited/SimpleChart/actions/runs/40567680466. Stable Xcode 27.1 build 27A9275 / Swift 6.4 completed the warnings-as-errors library build, all 78 tests (zero failures), and DocC in a successful 5m53s job. +- Delivery: fast-forward the clean sibling main and publish annotated `1.0.9`; record final local/remote commit convergence in issue #7 after publication. No library source, public API, manifest, or deployment baseline changes are needed. ## Routine Maintenance Audit - 2026-10-27 - [x] Check current Apple Swift/Charts documentation and installed toolchain release channel - [x] Review package compatibility, availability guards, and CI coverage - [x] Run warnings-as-errors build with the initially selected toolchain (Xcode 27.2 RC) -- [ ] Run full tests and DocC with stable Xcode (blocked: only prerelease tools installed) +- [x] Run full tests and DocC with stable Xcode (completed on hosted Xcode 27.1 for release 1.0.9) - [x] Record necessary updates, optional modernization, and verification limits ### Review