Skip to content

Give the release smoke test a display and the installed wheel#465

Merged
JE-Chen merged 1 commit into
devfrom
fix/release-wheel-smoke
Jul 23, 2026
Merged

Give the release smoke test a display and the installed wheel#465
JE-Chen merged 1 commit into
devfrom
fix/release-wheel-smoke

Conversation

@JE-Chen

@JE-Chen JE-Chen commented Jul 23, 2026

Copy link
Copy Markdown
Member

The first real run of the tag-triggered release path (v0.0.215) failed in build, so nothing was published:

Xlib.error.DisplayConnectionError: Can't connect to display ":0": [Errno 111] Connection refused

Two defects in the same step, both dating from when publishing moved to release.yml (this path had never actually run):

  1. The X11 backend opens a display at import time. platform-smoke.yml installs xvfb for exactly this reason; release.yml did not.
  2. The traceback frames were all /home/runner/work/AutoControlGUI/AutoControlGUI/je_auto_control/... — the repo root shadows site-packages on sys.path, so the step imported the source tree, not the wheel it had just installed. It was never smoke-testing the artifact.

Now runs under xvfb-run from /tmp and prints the resolved __file__ so a regression is visible in the log.

First real run of the tag-triggered release path failed: the X11 backend
opens a display at import time and the runner has none, so
`import je_auto_control.api` raised DisplayConnectionError. The step was
also importing the repo checkout rather than the wheel it had just
installed — the repo root shadows site-packages on sys.path — so it never
actually smoke-tested the artifact it was about to publish.
@sonarqubecloud

Copy link
Copy Markdown

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@JE-Chen
JE-Chen merged commit 99f62a7 into dev Jul 23, 2026
22 checks passed
@JE-Chen
JE-Chen deleted the fix/release-wheel-smoke branch July 23, 2026 05:57
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