Skip to content

fix(release): publish to the repo the workflow runs in (directelectron org doesn't exist yet)#6

Merged
CSSFrancis merged 1 commit into
mainfrom
fix/release-publish-target
Jul 12, 2026
Merged

fix(release): publish to the repo the workflow runs in (directelectron org doesn't exist yet)#6
CSSFrancis merged 1 commit into
mainfrom
fix/release-publish-target

Conversation

@CSSFrancis

@CSSFrancis CSSFrancis commented Jul 12, 2026

Copy link
Copy Markdown
Owner

What killed the v0.1.0 rebuild

electron-builder hit GET /repos/directelectron/spyde/releases404: electron-builder.yml's publish block points at the planned org home, which doesn't exist yet. (Even when it does, the workflow's GITHUB_TOKEN can't publish cross-repo — release.yml's draft-first design already assumes same-repo.)

Fix

  • release.yml passes -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=${{ github.event.repository.name }} — publishing always targets the repo the workflow runs in, so it works today on CSSFrancis and keeps working unchanged after a transfer to directelectron.
  • electron-builder.yml static owner → CSSFrancis so local builds' app-update.yml points where releases actually live today.

Verified locally (Windows)

Full npm run dist with -c.publish.owner=OVERRIDETEST -c.publish.repo=overriderepo: build succeeds end-to-end (NSIS installer + blockmap), and the baked resources/app-update.yml contains the override values — the -c dot-notation merges correctly with --config electron-builder.yml. This also re-validates the Windows packaging leg post-PR#3, which no CI run had completed.

After merging

I'll retag v0.1.0 on the merge commit (old tag already deleted) and watch the release run.

…ng directelectron org

The v0.1.0 rebuild died with electron-builder GET
api.github.com/repos/directelectron/spyde/releases -> 404: the publish
block pointed at the planned directelectron org home, which doesn't exist
yet (and GITHUB_TOKEN couldn't publish cross-repo even if it did — the
whole release.yml draft-first design assumes same-repo).

- release.yml passes -c.publish.owner/.repo from the github context, so
  publishing follows the repo the workflow runs in and survives the future
  org transfer with zero edits (verified locally: the override merges with
  --config and lands in the baked app-update.yml)
- electron-builder.yml's static owner -> CSSFrancis so a local build's
  update feed points where releases actually live today
@CSSFrancis
CSSFrancis merged commit a0cba09 into main Jul 12, 2026
17 checks passed
CSSFrancis added a commit that referenced this pull request Jul 14, 2026
…n-zip)

These specs were red on the feat/report-phase1 baseline, independent of
the anyplotlib bump:

- ipf_perf + movie_export: the backend-error audits tripped on
  '[spyde RENDERER-ERROR] Failed to create WebGPU Context Provider',
  a benign warning Chromium emits from the figure iframe whenever the
  runner has no usable WebGPU adapter (every hosted CI runner under
  xvfb). anyplotlib falls back to Canvas2D and the render is still
  correct. Exclude this line in backendErrorLines (_harness.cjs) and in
  ipf_perf's inline traceback filter — matching the existing pattern for
  CSP / willReadFrequently / Chromium .cc(line) noise. A real Python
  traceback is never this renderer line, so real errors still fail the
  audit (verified against the exact CI log lines).

- report_sidebar #6: extracted the .spyde-report with 'tar -xf', but the
  container is a ZIP (PK magic) — GNU tar on the Linux runner rejects it
  ('does not look like a tar archive'). Use 'unzip' on Linux/macOS (bsdtar
  reads zip on Windows, so that branch is unchanged). Verified end-to-end:
  a real write_report() zip extracts to the expected report.md/figures/
  assets/ layout via the exact 'unzip -o -q' command.
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