-
-
Notifications
You must be signed in to change notification settings - Fork 16
Implement a cross-platform system HTTP client abstraction #2528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,7 +41,8 @@ jobs: | |
| cxx: g++ | ||
| type: static | ||
| shell: sh | ||
| options: -DSOURCEMETA_CORE_CRYPTO_USE_SYSTEM_OPENSSL:BOOL=ON | ||
| options: -DSOURCEMETA_CORE_CRYPTO_USE_SYSTEM_OPENSSL:BOOL=ON -DSOURCEMETA_CORE_HTTP_USE_SYSTEM_CURL:BOOL=ON | ||
| apt: libcurl4-openssl-dev | ||
| benchmark: linux/gcc | ||
| - os: ubuntu-latest | ||
| cc: clang | ||
|
|
@@ -85,6 +86,9 @@ jobs: | |
| env: | ||
| HOMEBREW_NO_ANALYTICS: 1 | ||
| HOMEBREW_NO_AUTO_UPDATE: 1 | ||
| - name: Install dependencies (Linux) | ||
| if: runner.os == 'Linux' && matrix.platform.apt | ||
| run: sudo apt-get update && sudo apt-get install --yes ${{ matrix.platform.apt }} | ||
|
|
||
| - run: cmake --version | ||
| - name: Configure (static) | ||
|
|
@@ -93,6 +97,7 @@ jobs: | |
| cmake -S . -B ./build | ||
| -DCMAKE_BUILD_TYPE:STRING=Release | ||
| -DSOURCEMETA_CORE_TESTS:BOOL=ON | ||
| -DSOURCEMETA_CORE_TESTS_CI:BOOL=ON | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: Enabling Prompt for AI agents |
||
| -DSOURCEMETA_CORE_BENCHMARK:BOOL=ON | ||
| -DSOURCEMETA_CORE_DOCS:BOOL=OFF | ||
| -DBUILD_SHARED_LIBS:BOOL=OFF | ||
|
|
@@ -104,6 +109,7 @@ jobs: | |
| cmake -S . -B ./build | ||
| -DCMAKE_BUILD_TYPE:STRING=Release | ||
| -DSOURCEMETA_CORE_TESTS:BOOL=ON | ||
| -DSOURCEMETA_CORE_TESTS_CI:BOOL=ON | ||
| -DSOURCEMETA_CORE_BENCHMARK:BOOL=ON | ||
| -DSOURCEMETA_CORE_DOCS:BOOL=OFF | ||
| -DBUILD_SHARED_LIBS:BOOL=ON | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.github/workflows/ci.yml:96: CI now enables
SOURCEMETA_CORE_TESTS_CI, which runs HTTP integration tests againstschemas.sourcemeta.com; this can introduce flaky failures due to network/DNS/service availability rather than code regressions. Consider gating these tests (opt-in job/label, retries, or a skip mechanism when outbound network isn’t available).Severity: medium
Other Locations
.github/workflows/ci.yml:108test/http/ci/http_system_request_test.cc:8🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.