Skip to content

Commit 5c4c6a4

Browse files
[codex] Fix macOS app copyright year (#84729)
Summary: - The PR updates the macOS About settings copyright text to 2026, adds a changelog entry, and adjusts changed-check planning so non-macOS hosts without SwiftLint emit an explicit app-lint skip with matching test coverage. - Reproducibility: yes. from source inspection: current main still renders the 2025 copyright literal in the m ... launch the app locally, but the source path and source PR proof make the observable issue high-confidence. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(clawsweeper): address review for automerge-openclaw-openclaw-8438… Validation: - ClawSweeper review passed for head 26816c1. - Required merge gates passed before the squash merge. Prepared head SHA: 26816c1 Review: #84729 (comment) Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
1 parent b58572e commit 5c4c6a4

4 files changed

Lines changed: 8 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Docs: https://docs.openclaw.ai
1818

1919
- WhatsApp: update Baileys to `7.0.0-rc12`.
2020
- Approvals: route manual `/approve` decisions through the trusted approval runtime so active exec and plugin approvals no longer look unknown or expired.
21+
- Mac app: update the About settings copyright year to 2026. (#84385) Thanks @pejmanjohn.
2122
- Dependencies: update `@openclaw/fs-safe` to `0.2.7` so OpenClaw's default Python-helper-off policy keeps best-effort Node write fallbacks for private stores, secret writes, run logs, and media attachments on Linux/macOS.
2223
- Infra/secrets: restore the fail-closed contract for `tryReadSecretFileSync` so credential loaders that pass `rejectSymlink: true` (Telegram, LINE, Zalo, IRC, Nextcloud Talk tokens) refuse symlinked credential files instead of silently accepting them, and the infra-state CI shard's secret-file symlink test passes again. Thanks @romneyda.
2324
- Browser: honor the configured image sanitization limit for screenshots and labeled snapshots so browser-captured images follow the same resize policy as other image results. (#84595)

apps/macos/Sources/OpenClaw/AboutSettings.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct AboutSettings: View {
7777
}
7878
}
7979

80-
Text("© 2025 Peter Steinberger — MIT License.")
80+
Text("© 2026 Peter Steinberger — MIT License.")
8181
.font(.footnote)
8282
.foregroundStyle(.secondary)
8383
.padding(.top, 4)

scripts/check-changed.mjs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ export function shouldSkipAppLintForMissingSwiftlint(options = {}) {
6767
const env = options.env ?? process.env;
6868
const platform = options.platform ?? process.platform;
6969
const swiftlintAvailable = options.swiftlintAvailable ?? executableExistsOnPath("swiftlint", env);
70-
return (
71-
isTruthyEnvFlag(env.OPENCLAW_TESTBOX_REMOTE_RUN) && platform !== "darwin" && !swiftlintAvailable
72-
);
70+
return platform !== "darwin" && !swiftlintAvailable;
7371
}
7472

7573
export function shouldDelegateChangedCheckToCrabbox(argv = [], env = process.env) {
@@ -231,11 +229,11 @@ export function createChangedCheckPlan(result, options = {}) {
231229
}
232230
if (lanes.apps && shouldSkipAppLintForMissingSwiftlint({ ...options, env: baseEnv })) {
233231
addCommand(
234-
"lint apps (swiftlint unavailable in Testbox)",
232+
"lint apps (swiftlint unavailable on this host)",
235233
"node",
236234
[
237235
"-e",
238-
"console.error('[check:changed] Swift app lint skipped: swiftlint is unavailable in this Linux Testbox; macOS CI owns SwiftLint coverage.')",
236+
"console.error('[check:changed] Swift app lint skipped: swiftlint is unavailable on this non-macOS host; macOS CI owns SwiftLint coverage.')",
239237
],
240238
baseEnv,
241239
);

test/scripts/changed-lanes.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -865,12 +865,12 @@ describe("scripts/changed-lanes", () => {
865865
expect(plan.commands.map((command) => command.args[0])).not.toContain("tsgo:all");
866866
});
867867

868-
it("keeps app lint explicit when Linux Testbox lacks SwiftLint", () => {
868+
it("keeps app lint explicit when non-macOS hosts lack SwiftLint", () => {
869869
const result = detectChangedLanes([
870870
"apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift",
871871
]);
872872
const plan = createChangedCheckPlan(result, {
873-
env: { OPENCLAW_TESTBOX_REMOTE_RUN: "1", PATH: "/usr/bin" },
873+
env: { PATH: "/usr/bin" },
874874
platform: "linux",
875875
swiftlintAvailable: false,
876876
});
@@ -881,7 +881,7 @@ describe("scripts/changed-lanes", () => {
881881
expect(plan.commands.map((command) => command.args[0])).not.toContain("lint:apps");
882882
expect(plan.commands).toContainEqual(
883883
expect.objectContaining({
884-
name: "lint apps (swiftlint unavailable in Testbox)",
884+
name: "lint apps (swiftlint unavailable on this host)",
885885
bin: "node",
886886
}),
887887
);

0 commit comments

Comments
 (0)