Skip to content

Wave 0 review feedback: CI hygiene, fork attribution & agent tooling#2

Open
leogdion wants to merge 3 commits into
brightdigit-com-260406from
brightdigit-com-260406-feedback-fixes
Open

Wave 0 review feedback: CI hygiene, fork attribution & agent tooling#2
leogdion wants to merge 3 commits into
brightdigit-com-260406from
brightdigit-com-260406-feedback-fixes

Conversation

@leogdion

Copy link
Copy Markdown
Member

Applies Wave 0 review feedback to the brightdigit/Plot fork, and hardens the fork so John Sundell's original MIT attribution is preserved.

CI workflow (.github/workflows/Plot.yml)

  • fail-fast: falsetrue on all four matrix legs (build-ubuntu, build-windows, build-macos-platforms, build-android)
  • Ubuntu coverage: brightdigit/swift-coverage-action (SHA-pinned fork) → sersoft-gmbh/swift-coverage-action@v5; kept id: coverage-files + search-paths: .build; removed fail-on-empty-output: true
  • Codecov steps: removed verbose: true; kept fail_ci_if_error: false, flags:, token:, files:
  • build-macos-platforms: removed the watchOS ENABLE_WATCHOS gate (watchOS now always runs); added a visionOS matrix leg
  • No build-only added to standard legs

Config

  • .spi.yml normalized (swift_version: 6.1, documentation target Plot)
  • .devcontainer/devcontainer.json image → swiftlang/swift:nightly-6.4.x-noble (image line only)

Sundell fork attribution (preserved, not modified)

  • Added NOTICE at repo root crediting original work © 2019 John Sundell (MIT) and modifications © 2026 BrightDigit
  • Added a fork-notice blockquote near the top of README.md
  • Hardened Scripts/header.sh with a guard that skips any file whose first 25 lines contain "Sundell", so the header rewriter can never clobber upstream copyright headers
  • Verified: no existing source headers changedgit diff shows zero changes under Sources/, Tests/, and LICENSE is untouched

Agent tooling

  • RELEASE_NOTES.md (## Unreleased) summarizing the fork bring-up (from PR Sync subrepo branch brightdigit-com-260406 #1), noting it is a BrightDigit fork of Sundell's Plot
  • .claude/agent-notes.md, Memory & Corrections Convention appended to CLAUDE.md, and .claude/skills/

Sundell attribution preservation

The MIT license requires keeping John Sundell's original copyright and permission notices verbatim. This PR preserves every existing source-file header and the LICENSE unchanged, and adds fork attribution (NOTICE + README note) alongside a header.sh guard so future header runs will not rewrite upstream-attributed files.

🤖 Generated with Claude Code

- fail-fast: true across all matrix legs
- Ubuntu coverage → sersoft-gmbh/swift-coverage-action@v5 (drop fork + fail-on-empty-output)
- Codecov: drop verbose, keep fail_ci_if_error: false
- build-macos-platforms: ungate watchOS, add visionOS leg
- .spi.yml normalized (swift_version 6.1); devcontainer → swiftlang/swift:nightly-6.4.x-noble
- Preserve John Sundell MIT attribution: add NOTICE + README fork note; guard header.sh to never rewrite upstream headers
- Add RELEASE_NOTES.md, .claude/agent-notes.md, Memory & Corrections Convention, .claude/skills/

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 21, 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

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9c13297a-3dbc-42d3-b321-5315fa8bdb07

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch brightdigit-com-260406-feedback-fixes

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

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.28%. Comparing base (c357a8a) to head (a88098c).

Additional details and impacted files
@@                   Coverage Diff                   @@
##           brightdigit-com-260406       #2   +/-   ##
=======================================================
  Coverage                   99.28%   99.28%           
=======================================================
  Files                          70       70           
  Lines                        1398     1398           
=======================================================
  Hits                         1388     1388           
  Misses                         10       10           
Flag Coverage Δ
macos 99.28% <ø> (ø)
noble 99.28% <ø> (ø)
spm 99.28% <ø> (ø)
swift-6.4 99.28% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

leogdion and others added 2 commits July 21, 2026 21:13
…ll header

- .spi.yml swift_version 6.1 -> 6.4 (matches swift-tools-version:6.4)
- header.sh now emits each file's ORIGINAL upstream Sundell header (verbatim from
  JohnSundell/Plot) for any Sundell-attributed file, instead of skipping — so the MIT
  attribution is actively maintained and consistent across the fork. Idempotent.
- Source header comments normalized to the upstream form (comment-only; no code changes).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…er-package branching

header.sh is now byte-identical across Plot/Ink/Files and emits one consistent
upstream John Sundell header (full inline MIT license /** block) for every
Sundell-attributed file — package name + per-file year parameterized, no
if $package branching. Plot/Ink headers expand to the full-license form to match;
comment-only, no code changes. Idempotent.

Co-Authored-By: Claude Opus 4.8 (1M context) <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