Skip to content

ci: install patchelf via pip instead of build-system requirements#16

Merged
smunini merged 3 commits into
mainfrom
fix/ci-patchself
Oct 9, 2025
Merged

ci: install patchelf via pip instead of build-system requirements#16
smunini merged 3 commits into
mainfrom
fix/ci-patchself

Conversation

@doug-helios
Copy link
Copy Markdown
Contributor

The key point is that the Install patchelf (Linux) step is correctly skipped on Windows because of the conditional if: runner.os == 'Linux'. This means Windows builds should work fine now that we removed patchelf from
pyproject.toml's build-system.requires.

@doug-helios doug-helios requested a review from smunini October 8, 2025 20:33
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@smunini smunini merged commit 3ce9d33 into main Oct 9, 2025
22 of 34 checks passed
@doug-helios doug-helios deleted the fix/ci-patchself branch October 10, 2025 15:58
@smunini smunini restored the fix/ci-patchself branch October 15, 2025 20:51
@smunini smunini deleted the fix/ci-patchself branch November 12, 2025 16:08
smunini added a commit that referenced this pull request May 19, 2026
`helios_sof::run_view_definition_with_options` already applies
`_limit` at the structured-row level (via `apply_pagination_to_result`)
before serialization. sof-server's handler then called
`apply_result_filtering(output, &validated_params)` on the serialized
bytes — which re-parsed, re-truncated, and re-serialized to produce
identical output. Fragile in three ways:
- JSON path re-parsed + re-serialized the entire record array.
- NDJSON path re-parsed every line as JSON.
- CSV path's line-split truncation assumed no embedded newlines in
  quoted fields.

- Drop the `apply_result_filtering` call in `crates/sof/src/handlers.rs`.
- Delete the dead helper chain in `crates/sof/src/models.rs`:
  `apply_result_filtering`, `apply_json_filtering`,
  `apply_csv_filtering`, `apply_pagination_to_records`,
  `apply_pagination_to_lines`.
- Remove the two unit tests that exercised those helpers; end-to-end
  `_limit` behavior is still exercised by the HTTP-layer tests via
  the row-level pass.

Pure code-quality cleanup — no spec or behavior changes. All sof
test suites pass unchanged.
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