• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IJHack / QtPass / 27652312625
57%

Build:
DEFAULT BRANCH: main
Ran 16 Jun 2026 10:33PM UTC
Jobs 1
Files 80
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Jun 2026 10:28PM UTC coverage: 57.477% (-0.05%) from 57.526%
27652312625

push

github

web-flow
refactor(executor): replace QStringList env with QProcessEnvironment (#1510) (#1550)

* refactor(executor): replace QStringList env with QProcessEnvironment throughout

Resolves #1510. The blocking overload that accepted `QStringList env` and
internally parsed each `KEY=value` string into a `QProcessEnvironment` is
replaced by a clean `const QProcessEnvironment &env` parameter.

Changes:
- `Executor::executeBlocking`: `QStringList` env overload → `QProcessEnvironment`
- `Executor::setEnvironment` / `environment()`: same type switch
- `Pass::env` member: `QStringList` → `QProcessEnvironment`; constructor,
  WSLENV, macOS PATH, GNUPGHOME, and `setEnvVar` all updated to use
  `QProcessEnvironment::insert` / `remove` / `value`
- `ImitatePass::grepMatchFile` / `grepScanStore`: signatures updated
- `SshAuthSock`: removed `.toStringList()` round-trip
- `mainwindow.cpp`: use the two-arg no-input overload instead of passing
  explicit empty `QString()`
- Test suites (`tst_executor`, `tst_util`): updated to construct
  `QProcessEnvironment` via `insert()` instead of `KEY=value` string lists
- Remove now-unused `#include <algorithm>` from `pass.cpp`

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* style: clang-format fixes and restore full snapshot comparison in setEnvVarNoopOnMissingRemove

Fixes clang-format violations flagged by CI in mainwindow.cpp, pass.cpp,
sshauthsock.cpp, tst_executor.cpp, and tst_util.cpp.

Also restores the stronger pre/post snapshot QCOMPARE in
setEnvVarNoopOnMissingRemove: captures the full QProcessEnvironment before
calling setEnvVar with an empty value on a non-existent key, then compares
the snapshot to the environment after, catching any unexpected side effects
from env.remove() on a missing key.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(pass): exact PATH component check and safe prepend on macOS

Two issues in Pass::init() on macOS:
- `contains("/usr/local/bin")` matched substrings like `/usr... (continued)

19 of 22 new or added lines in 5 files covered. (86.36%)

3978 of 6921 relevant lines covered (57.48%)

31.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
67.09
-0.31% src/pass.cpp
1
27.97
0.0% src/mainwindow.cpp
Jobs
ID Job ID Ran Files Coverage
1 27652312625.1 16 Jun 2026 10:33PM UTC 80
57.48
GitHub Action Run
Source Files on build 27652312625
  • Tree
  • List 80
  • Changed 9
  • Source Changed 9
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27652312625
  • 4da97561 on github
  • Prev Build on main (#27628317485)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc