Skip to content

Capture Coverity platforms independently - #841

Merged
Youw merged 5 commits into
masterfrom
coverity-independent-captures
Nov 8, 2026
Merged

Youw merged 5 commits into
masterfrom
coverity-independent-captures

Conversation

@Youw

@Youw Youw commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Windows, macOS and Linux now capture independently. A collector merges complete intermediate directories with cov-manage-emit reset-host-name and add, replacing host-directory renaming and lock-file deletion. It checks tool versions, integrity, backend coverage and the exact translation-unit source multiset before submitting one archive.

All Coverity helpers and the HIDAPI model live under .coverity/, with a short README. The GitHub entry-point workflow stays under .github/workflows/. Downloads are checksum-verified; compiler configuration runs after restoring the unconfigured tool cache. Linux uses GCC 13/GNU C11 and apt for dependencies.

The self-contained model describes nullable, owned handles from hid_open and hid_open_path; cleanup, I/O and synchronization remain source-derived.

Validation:

  • Claude Fable 5.1 reviewed the workflow and model before scan submission and model activation, including the standalone model repair.
  • Fresh native captures and the collector passed at 740caa4169f538b31910277b670905c09c0ef517: 7 Windows + 6 macOS + 10 Linux translation units; all 23 preserved with integrity checks passing.
  • Coverity compiled and accepted the HIDAPI model, bringing configuration to 100%, and automatically reanalyzed that archive: 8 outstanding defects, 0 newly detected and 0 eliminated versus the baseline.
  • After relocating helpers and switching to apt, actionlint, YAML/shell/PowerShell syntax, ShellCheck and all 11 merge-gate tests passed. All final-head GitHub checks passed (19 successful jobs; 4 conditional jobs skipped). The uploaded model content is unchanged.

Related to #557, #626 and #775. Follow-up defect: #842; its fix is in #843.

Generated by Codex (GPT-6); reviewed by Claude Fable 5.1.
Assisted-by: Codex:GPT-6
Assisted-by: claude-code:claude-fable-5-1

Youw added 5 commits November 8, 2026 20:04
Replace host-directory and lock-file manipulation with cov-manage-emit.
Validate capture coverage and package integrity before submitting one archive.
Add a focused HIDAPI handle-factory model and usage documentation.

Related to #557, #626 and #775.

Assisted-by: Codex:GPT-6
Assisted-by: claude-code:claude-fable-5-1
Keep installer cleanup idempotent after successful extraction.

Assisted-by: Codex:GPT-6
Assisted-by: claude-code:claude-fable-5-1
Remove the system-header dependency required by Scan's standalone model
compiler while preserving nullable handle ownership semantics.

Assisted-by: Codex:GPT-6
Assisted-by: claude-code:claude-fable-5-1
Record that Scan queues the last uploaded build after accepting a model.

Assisted-by: Codex:GPT-6
Keep the model, setup action and merge tools together, shorten their README,
and use apt for Linux capture dependencies.

Assisted-by: Codex:GPT-6
@Youw
Youw marked this pull request as ready for review November 8, 2026 19:20
@Youw
Youw merged commit 4958544 into master Nov 8, 2026
28 checks passed
@Youw
Youw deleted the coverity-independent-captures branch November 8, 2026 22:11
Youw added a commit that referenced this pull request Nov 8, 2026
Return the thread creation status and abort device initialization before the startup barrier when creation fails. Reuse the existing resource cleanup and document the int return contract for custom thread models.

Fixes #842
Related to #825, #829 and #841.

Assisted-by: claude-code:claude-opus-5-5
Assisted-by: Codex:GPT-6
Youw added a commit that referenced this pull request Nov 8, 2026
Give the macOS and libusb private interrupt flags distinct member names
so merged static analysis can distinguish their locking requirements.
Keep layout, API and synchronization unchanged.

Related to #841 and #843.

Assisted-by: Codex:GPT-6
Assisted-by: claude-code:claude-fable-5-1
Youw added a commit that referenced this pull request Nov 9, 2026
Scan trailing hex tokens forward with directly bounded indexes while preserving parser behavior. Extend existing self-tests for metadata, buffer limits and token boundaries.

Related to #845 and #841.

Assisted-by: claude-code:claude-opus-5-5
Assisted-by: claude-code:claude-fable-5-1
Assisted-by: Codex:GPT-6
@mcuee mcuee added Test Related to built-in test (not hidtest) build system/CI Anything related to building the project or running on CI labels Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build system/CI Anything related to building the project or running on CI Test Related to built-in test (not hidtest)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants