Skip to content

fix(build): name Etienne Lescot as the Windows publisher - #246

Merged
EtienneLescot merged 4 commits into
mainfrom
fix/windows-publisher-name
Aug 4, 2026
Merged

fix(build): name Etienne Lescot as the Windows publisher#246
EtienneLescot merged 4 commits into
mainfrom
fix/windows-publisher-name

Conversation

@EtienneLescot

@EtienneLescot EtienneLescot commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Windows listed the installed app's publisher as the original creator (see the Apps list entry for 1.8.0-rc.7 and earlier).

electron-builder derives that string from package.json author.name and nowhere else:

  • appInfo.companyName returns metadata.author.name (app-builder-lib/out/appInfo.js:90)
  • NsisTarget.js:488 sets COMPANY_NAME from it — that is the Publisher value Windows shows
  • AppxTarget.js:184 uses publisherDisplayName || companyName, which is why the Store package was already correct

There is no win.publisherName override in electron-builder 26 — that key was removed from the win schema and now fails config validation outright.

So author.name becomes Etienne Lescot. Siddharth Vaddem moves to contributors; README and LICENSE continue to credit him as the original creator, and the LICENSE copyright line is untouched.

Already shipped on release/v1.8.0 (tag v1.8.0 was re-cut at 40444d5a and rebuilt). This ports it to main so 1.8.1 doesn't regress.

Summary by CodeRabbit

  • Bug Fixes

    • Improved CLI transcription status messages to avoid repeating the same update for every transcribed chunk.
    • Status updates now reflect changes in the transcription phase more accurately.
  • Documentation

    • Documentation now refreshes automatically after stable releases.
  • Chores

    • Updated package credits to recognize Etienne Lescot as the author.
    • Moved Siddharth Vaddem to the contributors list.
    • Preserved the existing maintainers list.

Windows listed the installed app's publisher as the original creator.
electron-builder derives it from package.json `author.name` only
(appInfo.companyName -> NSIS COMPANY_NAME), so that is the field that
had to change; there is no win.publisherName override in electron-builder
26. Siddharth Vaddem moves to `contributors`; README and LICENSE keep
crediting him as the original creator.

The appx target was already correct via its own publisherDisplayName.
The 1.8.0 sync turned `onStatus` from a bare phase into an
`SttRendererStatus` object carrying chunk progress, but the CLI captions
runner still declared the old `(phase) => void` callback. Neither branch
was broken alone; the rebase in #245 put them together and main has not
typechecked since.

`onStatus` now also fires once per transcribed chunk rather than once per
phase, so log only on a phase change -- otherwise a long transcription
emits one identical line per chunk.
… tag

docs.yml had an `on: release` trigger so the /download page could pick up
the new assets. It could never work: a release event runs with
github.ref = refs/tags/vX.Y.Z, and the github-pages environment allows
only `main` to deploy, so the deploy job failed on every stable release.
Pre-releases skipped the build entirely, which is why v1.8.0 was the
first release to surface it.

Replace the trigger with a workflow_dispatch fired by build.yml once the
release is published. Dispatching against main satisfies the environment
policy and publishes main's docs rather than the release branch snapshot.
@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 703a1949-d03c-489b-9159-fac266e22879

📥 Commits

Reviewing files that changed from the base of the PR and between 9e10946 and 463d89c.

📒 Files selected for processing (1)
  • .github/workflows/build.yml

📝 Walkthrough

Walkthrough

The pull request updates package authorship metadata, stable-release documentation rebuilds, documentation deployment triggers, and CLI transcription status logging.

Changes

Package metadata

Layer / File(s) Summary
Author and contributor metadata
package.json
The author changes to Etienne Lescot. Siddharth Vaddem moves to the contributors list.

Release documentation workflow

Layer / File(s) Summary
Release-triggered documentation rebuild
.github/workflows/build.yml, .github/workflows/docs.yml
Stable releases dispatch docs.yml on main. The workflow waits for completion and reports failure or cancellation outcomes. Deployment runs for pushes to main or manual dispatches targeting main.

CLI transcription status

Layer / File(s) Summary
Transcription phase logging
src/cli/CliCaptionsRunner.tsx
The CLI consumes SttRendererStatus objects and logs each transcription phase only when it changes.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Suggested reviewers: psychosomat

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the publisher change but omits the required template sections for summary, type, release impact, platform impact, and testing. Use the repository template and complete the missing sections, especially type of change, release impact, desktop impact, related issue, and testing details.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the primary change: setting Etienne Lescot as the Windows publisher.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/windows-publisher-name

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/build.yml:
- Around line 511-521: Update the “Refresh the docs /download page” step to
capture the run ID returned by `gh workflow run docs.yml --ref main`, then
monitor that dispatched run until completion with the GitHub CLI and fail the
release step if the docs build or deployment fails. Preserve the existing
stable-release condition and main-branch dispatch.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 40906b8d-e1f4-4f5d-a045-cfcab564b700

📥 Commits

Reviewing files that changed from the base of the PR and between 7c170c2 and 9e10946.

📒 Files selected for processing (3)
  • .github/workflows/build.yml
  • .github/workflows/docs.yml
  • src/cli/CliCaptionsRunner.tsx

Comment thread .github/workflows/build.yml Outdated
`gh workflow run` only fires the dispatch and exits, so a docs build or
Pages deploy that failed left the release green while /download kept
serving the previous version's binaries.

Track the dispatched run by diffing the newest workflow_dispatch run id
before and after the dispatch, watch it to completion, and fail the step
on anything but success. A cancelled run is only warned about: docs.yml
cancels in-flight runs on the same ref, so that means a newer main run
superseded this rebuild.
@EtienneLescot
EtienneLescot merged commit 030ccf1 into main Aug 4, 2026
15 of 16 checks passed
@EtienneLescot
EtienneLescot deleted the fix/windows-publisher-name branch August 4, 2026 09:05
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.

2 participants