mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-11-30 10:44:33 -06:00
gh-19084
11162
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
cfa29d5469 | Fix the timing widget failing to open on cached executor results (#9090) gh-19084 | ||
|
|
d420b3e8b1 | Fix the executor's "All compilation options" popover (#9089) gh-19083 | ||
|
|
18bfed2b3c | Show compilation options button in more places (#8960) gh-19078 | ||
|
|
27df8fe72e | LLVM + Clang 23.1.0 (#9077) gh-19066 | ||
|
|
7e04f35c14 | Add AMD RGA support for v2.14.x (#9072) gh-19063 | ||
|
|
103414e3cf |
rust: update branch for license link to main (#9076)
gh-19062
|
||
|
|
f7878e7a9c | Add ROCm 10.0 support (#9071) gh-19059 | ||
|
|
52bd06b467 | Update compilation instructions for HLSL example for AMD RGA (#9073) gh-19048 | ||
|
|
b85f518625 | fix: propagate libPath to Cargo IDE execution (#9069) gh-19042 | ||
|
|
21d8ae3755 |
Regenerate Windows library props with lookupname
Boost on Windows resolved to the conan recipe boost/<version>, which doesn't exist; only boost_bin/<version> does. So Boost 1.85-1.90 never resolved on MSVC despite the binaries being there (58 win32-vc packages for 1.90.0 alone). Regenerated with infra 42a2471d, which now emits lookupname. This also picks up accumulated drift since the last regeneration: new libraries anyxx, dispenso, quantlib and systemc, new hip-amd/kokkos/llvm versions, an updated abseil 20260107.1 staticliblink list, and some reordering. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GY6Mv4XgKKpDN73PEawE4bgh-19038 |
||
|
|
a9f93eb1de |
docs: fix typo publically -> publicly (#9065)
One-word typo fix in `SECURITY.md:11`.gh-19035 |
||
|
|
ea6faa2a06 |
Remove GCC cobol snapshot (#9064)
GCC Cobol is upstream first and GCC trunk already enables it. As per the author, it's very rare that the dedicated repository is more up to date than gcc's upstream. Refs https://github.com/compiler-explorer/gcc-builder/issues/57gh-19033 |
||
|
|
cb1d043257 |
Mask temp paths on the compilation cache-hit path (#9057)
### The bug `cachePut()` stores the compilation result **before** `cleanupResult()` masks it, and the cache-hit path returns the stored value directly. So we cache an unmasked result, and every subsequent hit serves it verbatim. ### What you see The compilation-options popover shows a different command line for a warm compile than for a cold one of the same input, naming a temp dir that belonged to an unrelated earlier request: ``` cold: -o output.s ... example.cpp warm: -o /tmp/compiler-explorer-compilerAbC123/output.s ... /tmp/compiler-explorer-compilerAbC123/example.cpp ``` `inputFilename` gets the same treatment, since `cleanupResult()` masks both. Cosmetic rather than a disclosure problem: the temp dir name isn't sensitive. The reason it's worth fixing is that it means the masking added in #9033 only ever takes effect on cold compiles, so on a warm instance most users see the unmasked form. ### The fix Move `cleanupResult()` above `cachePut()`, so what we store is what we'd have shown. One statement, no new call site. Nothing between the two positions reads the fields being masked: the intervening block only touches `result.execResult` and its `buildResult`. ### Scope This covers the main compilation cache path. Two other `cachePut()` call sites exist, and I have **not** verified them here: the execution cache, and the cmake `fullResult` path (which caches with `delayCaching` and whose inner `fullResult.result.compilationOptions` isn't reached by `cleanupResult()` anyway, since that only masks top level). Worth a look separately. Also still unmasked on every path: `irOutput.compilationOptions` and `optPipelineOutput.compilationOptions`. Being handled as part of the review of #8960, which adds the panes that surface them. ### On existing cache entries No migration concern. Cache entries live under `cache/` in `storage.godbolt.org`, which has a lifecycle rule expiring them after 1 day (`terraform/s3.tf`, "Remove cached items"), so anything cached unmasked before this ships ages out by itself. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>gh-19030 |
||
|
|
0ce7eed58a |
Add a runnable dispenso example (#9061)
Adds an example to the dispenso library entry so it is reachable from the Libraries UI rather than only via a link. The example compares the default `kStatic` chunking against `kAdaptive` on a workload whose per-element cost grows 64x across the range, with a serial baseline for reference: https://godbolt.org/z/W116zME61 It prints a note that the timings should be disregarded on Compiler Explorer. The sandbox has very few cores, so any of the three can come out ahead on a given run; the example is there to read and run, not to measure. Verified it builds clean under `-Wall -Wextra` and runs correctly against dispenso 1.6.2.gh-19018 |
||
|
|
6612995c58 | Add C++ library anyxx v0.7.0 (#9041) gh-19016 | ||
|
|
b205050674 |
Add Andreas Fertig sponsor! (#9060)
Thanks Andreas!gh-19015 |
||
|
|
4a290a33db |
Re-render the difftype dropdown when its options are rebuilt (#9058)
Fixes #9056. Fixes #9045. ### The bug, which is real for users and not just for CI TomSelect's `addOptions()` does not re-render a dropdown that is already open. `static/panes/diff.ts` rebuilds the difftype options whenever a compile result lands: ```ts this.selectize.lhsdifftype.clearOptions(); this.selectize.lhsdifftype.addOptions(lhsoptions); ``` `clearOptions()` strips the rendered `.option` nodes, and nothing puts them back. So if you have the difftype picker open when a compile response arrives, **the list empties under you** and stays empty until you close and reopen it. ### The fix Route the three rebuild sites through a helper that re-renders when the picker is open. `refreshOptions(false)` is deliberate: in tom-select both the open and the close branches are gated on that argument (`if (triggerDropdown && !self.isOpen)` / `if (triggerDropdown && self.isOpen)`), so passing `false` leaves the dropdown's open/closed state alone and only re-renders the list. The `isOpen` guard keeps the common closed case from doing render work on every compile. ### Why this also fixes the flaky test #9056 worked out the mechanism: `diff.cy.ts` types `-O2` into the options field, which debounce-triggers a recompile, then clicks the difftype picker without waiting for it to settle. If the response lands in the window between the click and the assertion, the dropdown is emptied and `.ts-dropdown .option:visible` finds nothing. Fixing the pane rather than adding a wait to the test means the user-facing bug goes away too, rather than just being hidden from CI. ### On verification I can't prove this deterministically: it's a race, so a green cypress run isn't evidence either way, and the same run passes on `main` most of the time. What I have checked is the mechanism end to end, in particular that `refreshOptions(false)` re-renders without touching open/closed state. Worth a maintainer sanity-check of that reasoning rather than trusting a green tick. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>gh-19008 |
||
|
|
67a57973c6 |
Add library dispenso (#9032)
Companion to compiler-explorer/infra#2309, which adds the build recipe. This is the properties half that makes the library selectable. [dispenso](https://github.com/facebookincubator/dispenso) is a C++ library for parallel programming — thread pools, `parallel_for`, futures, task graphs and concurrent containers. MIT licensed, C++14 baseline, C++20 supported. I'm one of its maintainers. Adding v1.6.1. dispenso is a compiled library rather than header-only, so this uses `staticliblink` alongside `packagedheaders=true`; the recipe builds it with `lib_type: static`, so the two agree. No `.path=` entries, since the install prefix contains exactly `include/` and `lib/` and `packagedheaders` derives the include path from the package. I modelled the block on `kokkos`, which is the closest existing entry structurally. No `dependencies` are needed: on Linux a consumer linking only `-ldispenso`, with no `-pthread`, compiles and runs correctly — glibc 2.34 folds libpthread into libc — and the 32-bit build links without `-latomic`. Both were checked directly rather than assumed. The recipe PR has the full verification detail. I could not run `npm run test:props` locally (no suitable node on the machine I have). Instead I lifted the regexes and rules out of `lib/properties-validator.ts` and replicated its checks over the modified file, comparing before against after: +7 keys, and zero newly introduced duplicate keys, empty list elements, malformed lines, or orphaned lib versions in either direction. That is a replication rather than the real test, so CI is the authority here. Once dispenso is building and selectable I'd like to follow up with a `libs.dispenso.examples=` shortlink, the same way `libs.tbb.examples` works.gh-18994 |
||
|
|
bd95e6e50a |
Bump @hono/node-server from 1.19.14 to 2.1.0 (#9013)
Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.19.14 to 2.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/honojs/node-server/releases">@hono/node-server's releases</a>.</em></p> <blockquote> <h2>v2.1.0</h2> <h2>What's Changed</h2> <ul> <li>feat: add Early Hints (HTTP 103) middleware by <a href="https://github.com/bilal-azam"><code>@bilal-azam</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/378">honojs/node-server#378</a></li> <li>fix(listener): avoid uncaught error when force-closing a non-standard socket by <a href="https://github.com/mohamedramadan14"><code>@mohamedramadan14</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/383">honojs/node-server#383</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/bilal-azam"><code>@bilal-azam</code></a> made their first contribution in <a href="https://redirect.github.com/honojs/node-server/pull/378">honojs/node-server#378</a></li> <li><a href="https://github.com/mohamedramadan14"><code>@mohamedramadan14</code></a> made their first contribution in <a href="https://redirect.github.com/honojs/node-server/pull/383">honojs/node-server#383</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/honojs/node-server/compare/v2.0.12...v2.1.0">https://github.com/honojs/node-server/compare/v2.0.12...v2.1.0</a></p> <h2>v2.0.12</h2> <h2>What's Changed</h2> <ul> <li>test: replace supertest by <a href="https://github.com/BlankParticle"><code>@BlankParticle</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/379">honojs/node-server#379</a></li> <li>fix(response): copy headers when init is a foreign Response by <a href="https://github.com/yusukebe"><code>@yusukebe</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/382">honojs/node-server#382</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/honojs/node-server/compare/v2.0.11...v2.0.12">https://github.com/honojs/node-server/compare/v2.0.11...v2.0.12</a></p> <h2>v2.0.11</h2> <h2>What's Changed</h2> <ul> <li>test: use a custom helper for path traversal tests by <a href="https://github.com/BlankParticle"><code>@BlankParticle</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/377">honojs/node-server#377</a></li> <li>perf(request): fast-path QUERY methods by <a href="https://github.com/usualoma"><code>@usualoma</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/376">honojs/node-server#376</a></li> <li>perf(request): fast-path PATCH method by <a href="https://github.com/yusukebe"><code>@yusukebe</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/380">honojs/node-server#380</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/honojs/node-server/compare/v2.0.10...v2.0.11">https://github.com/honojs/node-server/compare/v2.0.10...v2.0.11</a></p> <h2>v2.0.10</h2> <h2>Security fixes</h2> <p>This release includes a fix for the following security issue:</p> <h3>Unauthenticated memory-leak DoS via aborted WebSocket handshake</h3> <p>Affects: <code>upgradeWebSocket</code>. A WebSocket upgrade request with a missing or malformed <code>Sec-WebSocket-Key</code> header leaked the request's <code>IncomingMessage</code> and left a promise pending, even though no connection was established. Since the route is reachable pre-handshake without authentication, an attacker could flood it to gradually exhaust memory. <a href="https://github.com/honojs/node-server/security/advisories/GHSA-9mqv-5hh9-4cgg">GHSA-9mqv-5hh9-4cgg</a></p> <hr /> <p>Users of <code>upgradeWebSocket</code> are encouraged to upgrade to this version.</p> <h2>v2.0.9</h2> <h2>What's Changed</h2> <ul> <li>fix(websocket): polyfill missing ErrorEvent global by <a href="https://github.com/otnc"><code>@otnc</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/371">honojs/node-server#371</a></li> <li>fix(serve-static): correct Range header parsing edge cases by <a href="https://github.com/otnc"><code>@otnc</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/372">honojs/node-server#372</a></li> <li>fix: recover complete request bodies after client disconnect by <a href="https://github.com/usualoma"><code>@usualoma</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/375">honojs/node-server#375</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/otnc"><code>@otnc</code></a> made their first contribution in <a href="https://redirect.github.com/honojs/node-server/pull/371">honojs/node-server#371</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/honojs/node-server/commit/82ba34e6b19da49ca500d4cac95b5fb25ee48cc8"><code>82ba34e</code></a> 2.1.0</li> <li><a href="https://github.com/honojs/node-server/commit/1f2909a5ef3c7f3b024bd572e39f120dc5e6595a"><code>1f2909a</code></a> fix(listener): avoid uncaught error when force-closing a non-standard socket ...</li> <li><a href="https://github.com/honojs/node-server/commit/977a242557d03b59112ea77d70124996679c53ef"><code>977a242</code></a> feat: add Early Hints (HTTP 103) middleware (<a href="https://redirect.github.com/honojs/node-server/issues/378">#378</a>)</li> <li><a href="https://github.com/honojs/node-server/commit/a813b6cdaa15baac3ead84e9e6ed5b72b2353c96"><code>a813b6c</code></a> 2.0.12</li> <li><a href="https://github.com/honojs/node-server/commit/caf48bafd4638bac5c338166b8858b72bcf79257"><code>caf48ba</code></a> fix(response): copy headers when init is a foreign Response (<a href="https://redirect.github.com/honojs/node-server/issues/382">#382</a>)</li> <li><a href="https://github.com/honojs/node-server/commit/3b1dd6875812e0b5aee43ec3fac66c191fd6251f"><code>3b1dd68</code></a> test: replace supertest (<a href="https://redirect.github.com/honojs/node-server/issues/379">#379</a>)</li> <li><a href="https://github.com/honojs/node-server/commit/834e54f15cf12b80cf82823c845b2bab41056cf0"><code>834e54f</code></a> 2.0.11</li> <li><a href="https://github.com/honojs/node-server/commit/ba72bcd8c563fbe1e9678e7ef27794a0aa4a6158"><code>ba72bcd</code></a> perf(request): fast-path PATCH method (<a href="https://redirect.github.com/honojs/node-server/issues/380">#380</a>)</li> <li><a href="https://github.com/honojs/node-server/commit/962baa463879da394008f27510d68dc90b640e99"><code>962baa4</code></a> perf(request): fast-path QUERY methods (<a href="https://redirect.github.com/honojs/node-server/issues/376">#376</a>)</li> <li><a href="https://github.com/honojs/node-server/commit/62284d659380cb0354510d0359c160c8d970764d"><code>62284d6</code></a> test: use a custom helper for path traversal tests (<a href="https://redirect.github.com/honojs/node-server/issues/377">#377</a>)</li> <li>Additional commits viewable in <a href="https://github.com/honojs/node-server/compare/v1.19.14...v2.1.0">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for <code>@hono/node-server</code> since your current version.</p> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/compiler-explorer/compiler-explorer/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>gh-18993 |
||
|
|
09141c9de3 |
Replace exact string comparison with semver comparison for tool excludes (#9055)
The existing `clippy` excludes would need to be changed for Rust 1.100’s release anyways (to all use `$` as e. g. `r1100` would match `r11000`), and additionally a semver comparison is simpler for exclude lists that exclude a larger number of versions, e. g. if someone were to add `llvm-cov` as a tool, which is only available in Rust >= 1.49.gh-18992 |
||
|
|
4fba02c54d |
Bump brace-expansion from 1.1.15 to 1.1.18 (#9046)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.15 to 1.1.18. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/juliangruber/brace-expansion/commit/758fcd6d188a95c2342818519c77b8c06794552b"><code>758fcd6</code></a> 1.1.18</li> <li><a href="https://github.com/juliangruber/brace-expansion/commit/27fbeed22b4fdf2c5f732f66bcf84d43f4a26c6e"><code>27fbeed</code></a> Merge commit from fork</li> <li><a href="https://github.com/juliangruber/brace-expansion/commit/5c57cc2519dfb067e188b7cb0733fffbd02946bf"><code>5c57cc2</code></a> 1.1.17</li> <li><a href="https://github.com/juliangruber/brace-expansion/commit/d757f1dde7808bcbcd7a4628ab913e5185ed3d57"><code>d757f1d</code></a> npm ignore <code>.claude</code></li> <li><a href="https://github.com/juliangruber/brace-expansion/commit/cb4b9e47cc2ec777c14b2b4492fb431a56f6a031"><code>cb4b9e4</code></a> fix: backport GHSA-mh99-v99m-4gvg (<a href="https://redirect.github.com/juliangruber/brace-expansion/issues/129">#129</a>)</li> <li><a href="https://github.com/juliangruber/brace-expansion/commit/447763a91a613cfa67ac73096cbc1de9a2304f97"><code>447763a</code></a> 1.1.16</li> <li><a href="https://github.com/juliangruber/brace-expansion/commit/d74e63030c012e3b7ae81657b8d665619cd51b95"><code>d74e630</code></a> fix: v1 backport for CVE-2026-13149 (<a href="https://redirect.github.com/juliangruber/brace-expansion/issues/122">#122</a>)</li> <li>See full diff in <a href="https://github.com/juliangruber/brace-expansion/compare/v1.1.15...v1.1.18">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/compiler-explorer/compiler-explorer/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>gh-18991 |
||
|
|
99513c8778 |
Keep the /app/ prefix in the compilation options shown to the user (#9033)
Fixes #8648. `maskRootdir` strips a leading `/app/`, so the "All compilation options" popup shows the source as `example.cpp` while the compiler is handed `/app/example.cpp`. The same line already shows `-I/app/include` and `-o/app/output.s`, because those keep the prefix, so today it is inconsistent with itself. Checked against production before touching anything, compiling `const char* f = __FILE__;`: ``` compilationOptions: ['-g', '-o', 'output.s', '-masm=intel', '-fno-verbose-asm', '-S', '-fdiagnostics-color=always', '-O0', 'example.cpp'] asm: .string "/app/example.cpp" ``` That is what makes it worth fixing rather than cosmetic: `__FILE__` in C, `file!()` in Rust and anything else that echoes the input path give the user a value the popup contradicts. The change adds `maskRootdirKeepingAppPrefix` and uses it in `maskPathsInArgumentsForUser`, which is the only caller feeding that popup. Output lines keep going through `maskRootdir`, so diagnostics are untouched. `npm run check` passes here except for the Maven Kotlin test, which fails the same way on a clean checkout on this machine (symlink realpath on Windows). One part of the issue I did not fix: the `/nosym/tmp/compiler-explorer-.../example.rs` path reported on the first compilation. `maskRootdir` handles that shape correctly when I feed it directly, so it looks like a result that never reaches the masking, and I could not reproduce it.gh-18990 |
||
|
|
070896a011 |
Key LibsWidget consistently, so the conformance view keeps its libraries (#9027)
Fixes #9007. `LibsWidget` buckets `availableLibs` by compiler id, and it had two disagreeing ways of deciding that key. The constructor read `compiler.id`. `setNewLangId` took a plain id string. The compiler and executor panes pass a `CompilerInfo`, so they matched the constructor. The conformance view passes `compilerIds.join('|')`, because the libraries it offers are the intersection across every compiler in the pane, so it matched `setNewLangId` instead. The parameter was typed `any`, so nothing complained. Reading `.id` off a string gives `undefined`. So a conformance view restored from a link: 1. builds the widget with the joined id and keys itself on `undefined`, 2. loads the saved libs into `availableLibs[langId][undefined]`, 3. gets a real compiler-change event once the picker resolves, which calls `updateLibraries` and then `setNewLangId` with the same joined string, 4. is now keyed on `"g142|clang1500"`, where nothing was ever recorded. `listUsedLibs` reads the new bucket, finds nothing, and the libraries are gone. Re-adding one through the green button writes it into the new bucket, which is why that workaround sticks, exactly as the reporter describes. Both paths now go through one `toCompilerKey`, so the key cannot change shape mid-life. The parameter is typed instead of `any`, which is what let the two conventions coexist. One deliberate behavior change beyond the bug: a compiler whose `id` is the empty string now falls into `_default_` from the constructor too. `setNewLangId` already treated it that way through its falsy check, so this makes the two agree rather than inventing a third rule. The local `c_default_compiler_non_id` becomes the exported `DEFAULT_COMPILER_KEY`, and the two places that spelled the same value as a bare `'_default_'` literal now use it. Same value throughout, one name. ## What I ran `npm run check` passes: ts-check on both projects, biome over 826 files, frontend imports, license headers, and the test run. New test file `static/tests/widgets/libs-widget-tests.ts`, 5 cases over `toCompilerKey`, covering both call shapes, that they agree for the same compiler, every empty shape landing on the default, and that no shape can yield a non-string. All 5 fail before the change and pass after. The one failure in the suite, `test/build-systems-tests.ts > Maven build system > builds Kotlin ...`, also fails on a clean `main` on my machine. It is a symlink `realpath` comparison and I am on Windows. I did not reproduce the symptom in a browser: I cannot run the server locally, since it needs at least one compiler on POSIX paths. The chain above is read off the code and pinned by the unit test at the point where the two conventions met. If you would rather see a test that drives the whole widget through construct then `setNewLangId`, say so and I will add it.gh-18989 |
||
|
|
8040a92032 |
Keep inline asm directives when filtering directives (#9037)
Fixes #8964. Directive filtering runs over the whole listing, including the region between `#APP` and `#NO_APP`. That region is the user's own inline asm, so filtering it changes what the block says. For the case in the issue: ```cpp int square(int num) { asm(".rept 5\nnop\n.endr"); return num * num; } ``` `.rept 5` and `.endr` go away and a single `nop` is left, which reads as one instruction where the source asks for five. The parser already tracks the region: `updateParsingState` calls `enterCustomAssembly` on `#APP` and `exitCustomAssembly` on `#NO_APP`, and `isInCustomAssembly()` was being used only to fix label indentation. `shouldSkipDirective` now consults it too. ### What still gets dropped Not everything in the block is the user's. GCC interleaves its own line markers, as @Alcaro pointed out on the issue: ``` #APP # 3 "/app/example.cpp" 1 .rept 5 nop .endr # 0 "" 2 .loc 1 4 5 view .LVU3 # /app/example.cpp:4: return num * num; .loc 1 4 18 is_stmt 0 view .LVU4 #NO_APP ``` So the rule is narrower than "skip filtering inside the block": inside it, a directive is dropped only when it is a source-location marker. That set is not a new list, it is the one `SourceLineHandler` already consumes to build the source mapping (`.loc`, `.d2line`, `.cv_loc`, `.dbg line`, `.stabn`), exposed as `isSourceLocationDirective`. Anything the handler does not claim is text the compiler was asked to assemble, and it stays. The `#` lines above are comments and are unaffected, they still go with the comment filter. ### The changed snapshots `nvcc-x86-host-example` gains three lines: `.section .nv_fatbin, "a"`, `.align 8` and `.text`, all inside its `#APP` block. The hundreds of `.quad` lines in that block were already surviving the directive filter, because `fatbinData:` sets `prevLabel` and `dataDefn` lines under a used label are kept, so this is three lines added to output that was already showing the blob, not the blob becoming visible. `NvccCompiler.removeNvccFatbinaryBlob` is what actually hides it, and it is unaffected. No other case in `filters-cases` moves. `bug-577_gcc` and `bug-577_clang` have `#APP` blocks with no directives in them. ### Tests Three in `test/asm-parser-tests.ts`: the directives survive, the `.loc` markers inside the same block still do not, and filtering resumes after `#NO_APP`. The first and third fail on `main`. I ran the full suite in `node:22-bookworm`, since `filter-tests.ts` returns early on Windows: 2631 passed.gh-18988 |
||
|
|
51688d8e08 |
[Spice] Add version 0.27.1 (#9024)
Infra PR: https://github.com/compiler-explorer/infra/pull/2305gh-18987 |
||
|
|
c2a653cb1f |
Pass --extended-lambda for kokkos-cuda (#9022)
Compiling anything that includes `Kokkos_Core.hpp` with nvcc currently fails unless the user adds `--extended-lambda` by hand. Kokkos' own headers use `__host__ __device__` lambdas, so this affects code that never writes a `KOKKOS_LAMBDA` itself. Verified on prod, nvcc 13.3, `-std=c++20`: | kokkos-cuda | without the flag | with it | |---|---|---| | 4.7.04 | fails | | | 5.1.1 | fails (first error in `Kokkos_CopyViews.hpp`) | | | 5.2.0 | fails (first error in `Kokkos_CopyViews.hpp`) | compiles, exit 0 | Note Kokkos 5.2 also requires C++20; `-std=c++17` fails earlier on `std::type_identity`. cc @JBludau (reported in compiler-explorer/infra#2184), @lucbv (#9009), @partouf 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>gh-18986 |
||
|
|
70a3f13fd0 |
Allow stdin for Rust Miri tool (#9054)
Miri is an interpreter, so it makes sense to allow `stdin` just like in an execution pane.gh-18985 |
||
|
|
643b6db82a |
Avoid redundant serialisation work in the startup tail (#9043)
Profiling a production startup (2026-08-20, 6232 compilers) showed two avoidable CPU costs in the last couple of seconds of startup: - `setupCompilerChangeHandling`'s `onCompilerChange` ran `JSON.stringify` over all 6232 compiler objects purely to detect whether the compiler set had changed since the last discovery. The serialised form is comparable in scale to the 74MB discovery JSON, and it was computed (and retained in memory) even in production, where rescanning is disabled (`rescanCompilerSecs` unset / `--prediscovered`) and so the comparison can never trigger. - The `OPTIONS HASH` log line appeared twice per startup: `ClientOptionsHandler`'s constructor eagerly serialised and hashed the options blob, only for the result to be immediately discarded and recomputed by the first `setCompilers()` call. Changes: - `lib/app/compiler-changes.ts`: only do change detection when rescanning is actually enabled, and compare a SHA-256 content hash instead of retaining the full serialised compiler list. In production the initial set is now applied with no serialisation at all; with rescanning enabled, behaviour is unchanged (identical rescans are skipped, changed sets applied) while dropping the tens-of-megabytes retained string. - `lib/options-handler.ts`: drop the constructor's `_updateOptionsHash()` call. The hash/JSON are computed exactly once at startup by the first `setCompilers()`, which always runs before the server starts listening. Tests: new `test/app/compiler-changes-tests.ts` covering initial application, no rescan when prediscovered, unchanged rescans skipped, and changed rescans applied; plus an options-handler test pinning that the hash is only computed once compilers are set. `ts-check`, `lint`, and the full test suite pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>gh-18984 |
||
|
|
9d00c02c45 | Latest sponsors and legends! 🎉 gh-18982 | ||
|
|
d51924f91d |
Split experimental clang forks into their own dropdown group (#9053)
Replaces #9052, whose diff GitHub refused to render ("No changes to show") despite serving it correctly over the API and `.diff`. Same change, fresh commit. The **Clang x86-64** section currently mixes upstream `llvm/llvm-project` builds in with 40 third-party forks, so there is no way to tell at a glance which entries are actually upstream clang. Several people in the clang community have raised this as the number of experimental forks has grown. - **Clang x86-64** keeps the upstream builds: `clang_trunk`, `clang_assertions_trunk`, `clang_clangir`. - **Clang x86-64 (experimental forks)** gets the other 40. `clang_clangir` is deliberately on the upstream side: since compiler-explorer/clang-builder#111 it builds from `llvm/llvm-project` main with `-DCLANG_ENABLE_CIR=ON`, because ClangIR has been upstreamed. It is a build flag, not a fork. ### Why it is only four lines `clangx86experimental` is nested inside `clangx86trunk` rather than being a new top-level group, so it inherits every other `group.clangx86trunk.*` property (`baseName`, `ldPath`, `isNightly`, `compilerType`, the `supports*` flags and the rest). `compiler-finder.ts` passes the enclosing group's resolver as the fallback when expanding a `&group` reference, and returns the innermost group id for `group`, which is what the picker keys its sections off. `clangx86assert` already does exactly this inside `group.clang` to render its own "Clang x86-64 (assertions)" section, so the mechanism is already in production. ### The diff, in case rendering misbehaves again ``` -group.clangx86trunk.compilers=clang_trunk:clang_assertions_trunk:clang_concepts:<...40 forks...> +group.clangx86trunk.compilers=clang_trunk:clang_assertions_trunk:clang_clangir:&clangx86experimental group.clangx86trunk.debugPatched=true + +group.clangx86experimental.compilers=clang_concepts:<...the 40 forks, unchanged order...> +group.clangx86experimental.groupName=Clang x86-64 (experimental forks) ``` ### Compatibility Only the dropdown label changes. Compiler ids, `name` and `baseName` are untouched, so existing links and bookmarks keep working and no compiler is renamed. `npm run test:props` passes. /cc @cor3ntin Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>gh-18973 |
||
|
|
575a57bef1 |
Store S3 cache objects as STANDARD rather than reduced redundancy (#9040)
Drops the `redundancy` option from the three `S3Cache` put paths. `S3Bucket.put` already falls back to `STANDARD` when nothing is passed (`lib/s3-handler.ts:77`), so the deletion is the whole fix. One thing beyond what the issue lists: `lib/stats.ts` asks for the same class when it flushes compilation records, and that is the only other caller in the tree. Those records are not reconstructible the way a cache entry is, so the lower durability costs something there and buys nothing. I moved it across in the same commit rather than leaving a single RRS write behind, but say the word and I will pull it back out into its own PR. For the regression guard I added a case per file, both asserting the `StorageClass` that reaches the mocked `PutObjectCommand`: `test/cache-tests.ts` covers `put`, `putWithTTL` and `putWithTTLAndPath`, and `test/stats-test.ts` covers the flush. Reverting either source file turns the matching test red with `REDUCED_REDUNDANCY` instead of `STANDARD`. Verified in a `node:22-bookworm` container, which is where my node_modules live: full suite 2630 passed, 1 skipped across 122 files, plus `npm run ts-check` and `biome check` clean. Committed through the normal pre-commit hook.gh-18970 |
||
|
|
97a9701138 |
Add the C++ Alliance P4324 minimal contracts clang (#9051)
Adds the C++ Alliance's clang fork implementing [P4324R0 (minimal contracts)](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p4324r0.html) to the C++ compiler list. This is the last piece of a chain whose other parts are already merged: | Repo | PR | What it does | |---|---|---| | clang-builder | compiler-explorer/clang-builder#121 | build recipe for `cppa-contracts-p4324` | | infra | compiler-explorer/infra#2320 | nightly installable | | compiler-workflows | compiler-explorer/compiler-workflows#79 | daily rebuild, gated on branch activity | ### Why both options `options=-fcontracts -stdlib=libc++` is load-bearing, not decoration: - **`-fcontracts`**: without it the `pre` / `post` / `contract_assert` syntax does not parse, so the compiler cannot demonstrate the thing it exists to demonstrate. It parses under the fork's default `-std`, so users do not have to pass `-std=c++2c` themselves. - **`-stdlib=libc++`**: the violation handler `__handle_contract_violation_v3` is only defined in this fork's own libc++. Against the default libstdc++ the code compiles but fails to link, so anything using Execute would break. This matches the sibling `clang_notadragon_contracts_p3850`, which sets the same flag for the same reason. `group.clangx86trunk.ldPath` already covers the fork's lib dirs, so the runtime library resolves at execution time. ### Verification Test-installed the actual S3 artifact (`clang-cppa-contracts-p4324-20260821.tar.xz`) with `ce_install --dest`, rather than eyeballing the config: - `1 packages installed OK, 0 skipped, 0 failed`; `check_exe` passes. - `clang version 24.0.0git (https://github.com/cppalliance/clang c0d0594f6...)`, matching the head of the `p4324` branch. - `ldd` shows only system libraries, so nothing is missing from the tarball. - A program with `pre` / `contract_assert` that `#include`s real headers compiles, links and runs; violating the precondition aborts with `bad.cpp:2: pre(i >= 0) failed`. `npm run test:props` passes. /cc @cor3ntin Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>gh-18966 |
||
|
|
b024d90279 |
Rust 1.98.0 (#9038)
Infra: https://github.com/compiler-explorer/infra/pull/2316 Signed-off-by: Miguel Ojeda <ojeda@kernel.org>gh-18961 |
||
|
|
5925ab6c42 | Recompile when the options field is edited without a keystroke (#9025) gh-18935 | ||
|
|
feaa3ad149 |
Add library Pileus (#9031)
Also see https://github.com/compiler-explorer/infra/pull/2308gh-18932 |
||
|
|
a48c64fd53 | Fix "DROPDOWN: Option boundary provided type undefined" TypeError (#9003) gh-18927 | ||
|
|
4abca35b4e | Redirect old browsers, not just IE11, to the noscript site (#9011) gh-18926 | ||
|
|
b0c6715a89 | Fix blank right-hand pane in tree shortlink layouts (#9028) gh-18925 | ||
|
|
95b77dbec7 |
Add Compiler Explorer to the official MCP Registry (#9030)
Lists CE's public MCP endpoint (`https://godbolt.org/mcp`) in the [official MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.compiler-explorer/compiler-explorer`. ### What's here - `server.json` — the registry record. Validated with `mcp-publisher validate` against the live registry. - `docs/MCP.md` — a "Registry listing" section covering how and when to re-publish. ### Notes for review **Publishing is deliberately not wired to a deploy.** The registry stores metadata only — it records where the endpoint is, not what's running behind it. Nothing in the record changes when the site updates, and the registry rejects a repeat of an existing version, so a publish on every deploy would simply fail. `server.json`'s `version` identifies the *metadata record*; it's unrelated to `gh-NNNNN` build numbers. Re-publish by hand on the rare occasion the file changes (documented in `docs/MCP.md`). No CI workflow, and no infra changes. **The namespace comes from GitHub org ownership**, not DNS — `io.github.compiler-explorer/*` is granted to Owners/admins of the org, so no TXT records or `.well-known` files are involved. It was chosen over `org.godbolt/*` because the GitHub identity has exactly one name, sidestepping the godbolt.org / compiler-explorer.com question. **`name` is the one field that can't be changed later.** The URL, description and icon all live in a versioned record and can be updated by bumping the version and re-publishing — worth a second look at that line specifically. Not yet published — that needs a `mcp-publisher login github` device-code auth from an org admin. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>gh-18922 |
||
|
|
58d1561e2e | Pass CUDAToolkit_ROOT for cuda clang compilers (#9023) gh-18912 | ||
|
|
500c09675b |
MCP: proxy compiles for remotely-hosted compilers (#9016)
cc @mattgodbolt — this is in the MCP endpoint from #8644. ## The problem `compile` in the MCP tool calls `baseCompiler.compile()` directly, so a compiler served by a sub-server gets attempted on whichever node handled the MCP request. There's no compiler binary there to launch, so every remotely-hosted compiler fails through `/mcp`: ``` runChild():486 Launching child process failed ``` Reproducible on production right now — `vcpp_v19_51_VS18_6_x64` through `compiler-explorer.com/mcp` fails, while the same id and options through `/api/compiler/<id>/compile` works. It affects any remote, not just the Windows ones. `CompileHandler.handle` has the branch that makes this work for REST: ```ts const remote = compiler.getRemote(); if (remote) { req.url = remote.path; this.proxy.web(req, res, {target: remote.target, changeOrigin: true}, ...); return; } ``` There's no equivalent anywhere in `lib/mcp` — `git log -S"getRemote" -- lib/mcp` is empty, so this has been the case since the endpoint landed. ## The change Check `getRemote()` and, when it's set, POST an equivalent request to `remote.target + remote.path` rather than compiling locally. A tool call has no `req`/`res` to hand to `http-proxy`, hence an outbound `fetch` instead of the proxy. The sub-server returns the same JSON shape `compile()` returns locally, so truncation, `buildResult` and `execResult` handling below are untouched. One wart: `result` is annotated `Awaited<ReturnType<typeof baseCompiler.compile>>` rather than `CompilationResult`, because the declared wire type has `asm?: string | ParsedAsmResultLine[]` and `truncateLines` wants the array form — typing it as `CompilationResult` doesn't compile. There's a cast on the remote branch with a comment explaining why. Happy to do this differently if you'd rather. ## Testing Unit tests: the existing fake compiler had no `getRemote`, so it's added there; two new cases cover the remote path posting to the sub-server (and never calling `compile()` locally) and a failing sub-server response surfacing as a tool error. Manually, against a local instance configured with the `gpu` and `winprod` remotes: | compiler | before | after | | --- | --- | --- | | `vcpp_v19_51_VS18_6_x64` `/O2` | `runChild():486` | `code 0`, `lea eax, DWORD PTR [rcx+1]` | | `vcpp_v19_51_VS18_6_x86` `/O2 /std:c++20` | — | `code 0`, `mov eax, DWORD PTR _x$[esp-4]` | | `clang-cl2216-v19_50_VS18_2` `/O2` | — | `code 0` | Compile errors propagate too: a deliberate typo returns `code 2` with `<source>(1): error C2065: 'nope': undeclared identifier`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5 <noreply@anthropic.com>gh-18908 |
||
|
|
406b628a11 |
Load C as well as C++ for the Cypress frontend tests (#9021)
The Cypress harness starts the dev server with `--language c++`, so the browser only ever sees C++ and CMake. Any spec that needs to exercise behaviour *across* two languages therefore cannot run at all. This blocks the chained-compiler tests in #8678, whose entire purpose is compiling one pane's output as a different language. Its `beforeEach` selects C for the downstream pane, and on a C++-only server it times out looking for an option that does not exist. The suite does not merely fail, it is **skipped wholesale**, because the failure happens in the hook rather than in a test. That includes the one test written specifically to answer a question asked during review, so the review has been stuck waiting on an answer the harness could never produce. `--language` is variadic (`--language <languages...>`), so adding C is a one word change. ### Why nobody has noticed `test-frontend.yml` is `on: [push]` and guarded by `if: github.repository_owner == 'compiler-explorer'`. For a pull request from a fork the push event fires in the fork, where the owner check fails, and the workflow does not run for pull requests in this repo at all. So Cypress has never run against #8678. The failure would first appear on main, after merge. That guard is worth a separate look, but it is not what this PR changes. ### Verification Ran the full suite locally against this branch with the new flag, using the same command the workflow uses: ``` 14 specs, 91 tests, 91 passing, 0 failing (8m23s) ``` And against #8678's branch, the chained-compiler spec goes from 2 passing / 1 failing / 5 skipped to **8 passing** once C is available. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>gh-18907 |
||
|
|
b34b873577 |
Add the aburi compiler (#9019)
Supersedes #8872. Thanks to @likecrazy1, whose `AburiCompiler` class is taken from that PR unchanged and who is credited as co-author — the reason this is a new PR rather than an edit is that the properties needed rewriting from scratch once upstream changed direction. @serjective has [confirmed](https://github.com/compiler-explorer/compiler-explorer/pull/8872#issuecomment-) that `godbolt` is the live branch and the pinned `atta-mills` classic version is abandoned, so this configures the nightly built from `godbolt`. ## What changed from #8872, and why **It is not an aarch64 Darwin cross compiler any more.** The new build reports `Target: x86_64-unknown-linux-gnu`, so the group is plain `aburi` with `instructionSet=amd64` rather than "Aburi (aarch64 Apple Darwin)". **No `--sysroot`.** This is the important one. On Linux, aburi's `resolve_effective_stdlib` treats an explicit `--sysroot` as a different root filesystem and **switches off Adinkra**, its own C++ standard library. That is exactly why the previous configuration compiled CE's header-free `square` example byte-perfectly and then failed on the first `#include`. For a Linux target aburi takes its C headers from the host root and its C++ headers from Adinkra, so it wants no sysroot at all. **`-std=c++20` is required**, not optional — Adinkra `#error`s below C++20, so a bare C++ compile fails outright. **Nightly shape:** `isNightly=true` and `semver=(trunk)` instead of a pinned `0.1.1`, since it now tracks a moving branch. **Binary, binary object and execution are off.** Linking does work (I built and ran a C++ executable against the shipped artifact), but nothing has exercised those paths on the site, and they need `-L`/`-Wl,-rpath` pointing at the bundled libc++abi to link at all. Advertising a control that hard-fails is the exact trap this compiler fell into last time, so I would rather turn them on as a follow-up once someone can try them for real. ## Testing Everything below was run against the artifact that is actually on S3 (`aburi-godbolt-20260814.tar.xz`), installed through the infra installable: - `--version` and `--help` both exit 0 (a non-zero version command silently drops a compiler from the dropdown) - C++ `-S` emits x86-64 assembly - C compiles, links and runs - `--emit-llvm` alone emits valid LLVM IR, which is what `AburiCompiler` uses for the IR view. Note it rejects `--emit-llvm` combined with `-S`, and the class already strips `-S` on that path - `-g` is accepted, which the class always passes - a TU using `<vector>`, `<string>` and a thrown-and-caught exception compiles, links and runs — the case the old `--sysroot` broke `npm run test:props` (90 passed), `npm run ts-check` and `npm run lint-check` all clean. ## Merge order This should land after, and only after, the compiler is installed: - compiler-explorer/misc-builder#142, #143 (builder) — merged - compiler-explorer/infra#2294 (nightly installable) - compiler-explorer/compiler-workflows#76 (daily build) Co-Authored-By: likecrazy1 <157763655+likecrazy1@users.noreply.github.com> Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com> Co-authored-by: likecrazy1 <157763655+likecrazy1@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>gh-18904 |
||
|
|
d895487d2d |
Add MinGW GCC 16.2 (#9014)
Requires: https://github.com/compiler-explorer/infra/pull/2291gh-18903 |
||
|
|
4ce38e0067 |
[odin] fix llvm for past two versions and assembly for current version (#9012)
The most recent Odin versions have had an issue where the `output.ll` filename is actually duplicated to `outputoutput.ll`, resulting in the LLVM IR view not finding the file. Additionally, `dev-2026-08` fixed an output assembly naming issue that caused the `.S` extension to always be uppercase, regardless of filename. This broke the assembly view though since the filenames now no longer matched. Both of these issues were fixed by adding explicit version checks with the corresponding correct codepaths.gh-18902 |
||
|
|
62d87f264d |
Enable clang-tidy for Clang-CUDA builds (#8996)
## Summary - enable clang-tidy for Clang-CUDA compiler groups in the default and production CUDA configurations - resolve clang-tidy from the selected Clang-CUDA toolchain while preserving version suffixes - add focused tests for CUDA and non-CUDA executable selection Closes #6944 ## Test plan - [x] `npm run test:props` (90 tests) - [x] `npm run ts-check` - [x] `cross-env SKIP_EXPENSIVE_TESTS=true npx vitest related --run` (39 tests) ## AI assistance AI assistance was used for codebase navigation and drafting. The final diff was reviewed and the listed checks were run locally.gh-18899 |
||
|
|
6c459b89bf |
Add the clang std::init and std::core_ub profile compilers (#9018)
Companion to https://github.com/compiler-explorer/clang-builder/pull/118, which has the background on both profiles. Adds two entries to the x86-64 clang group: | Dropdown | Default options | |---|---| | x86-64 clang (std::init profile - P4222) | `-std=c++26 -fprofiles` | | x86-64 clang (std::core_ub profile - P4317) | `-std=c++26 -fprofiles` | `-fprofiles` turns the framework on but enforces nothing by itself — a profile has to be asked for in the source with `[[profiles::enforce(...)]];`. Without that the compilers look identical to trunk, so each notification says as much.gh-18895 |
||
|
|
4e7dc23462 |
Kokkos: updating properties for version 5.2.0 (#9009)
@JBludau Bumping up the versions for kokkos and kokkos-cuda after the latest release. See [Kokkos 5.2.0](https://github.com/kokkos/kokkos/releases/tag/5.2.0) and infra PR [#2285](https://github.com/compiler-explorer/infra/pull/2285) Signed-off-by: Luc Berger-Vergiat <lberge@sandia.gov>gh-18888 |
||
|
|
781d7d16d3 |
Bump @hono/node-server and @modelcontextprotocol/sdk (#8961)
Bumps [@hono/node-server](https://github.com/honojs/node-server) to 2.0.12 and updates ancestor dependency [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk). These dependencies need to be updated together. Updates `@hono/node-server` from 1.19.14 to 2.0.12 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/honojs/node-server/releases">@hono/node-server's releases</a>.</em></p> <blockquote> <h2>v2.0.12</h2> <h2>What's Changed</h2> <ul> <li>test: replace supertest by <a href="https://github.com/BlankParticle"><code>@BlankParticle</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/379">honojs/node-server#379</a></li> <li>fix(response): copy headers when init is a foreign Response by <a href="https://github.com/yusukebe"><code>@yusukebe</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/382">honojs/node-server#382</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/honojs/node-server/compare/v2.0.11...v2.0.12">https://github.com/honojs/node-server/compare/v2.0.11...v2.0.12</a></p> <h2>v2.0.11</h2> <h2>What's Changed</h2> <ul> <li>test: use a custom helper for path traversal tests by <a href="https://github.com/BlankParticle"><code>@BlankParticle</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/377">honojs/node-server#377</a></li> <li>perf(request): fast-path QUERY methods by <a href="https://github.com/usualoma"><code>@usualoma</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/376">honojs/node-server#376</a></li> <li>perf(request): fast-path PATCH method by <a href="https://github.com/yusukebe"><code>@yusukebe</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/380">honojs/node-server#380</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/honojs/node-server/compare/v2.0.10...v2.0.11">https://github.com/honojs/node-server/compare/v2.0.10...v2.0.11</a></p> <h2>v2.0.10</h2> <h2>Security fixes</h2> <p>This release includes a fix for the following security issue:</p> <h3>Unauthenticated memory-leak DoS via aborted WebSocket handshake</h3> <p>Affects: <code>upgradeWebSocket</code>. A WebSocket upgrade request with a missing or malformed <code>Sec-WebSocket-Key</code> header leaked the request's <code>IncomingMessage</code> and left a promise pending, even though no connection was established. Since the route is reachable pre-handshake without authentication, an attacker could flood it to gradually exhaust memory. <a href="https://github.com/honojs/node-server/security/advisories/GHSA-9mqv-5hh9-4cgg">GHSA-9mqv-5hh9-4cgg</a></p> <hr /> <p>Users of <code>upgradeWebSocket</code> are encouraged to upgrade to this version.</p> <h2>v2.0.9</h2> <h2>What's Changed</h2> <ul> <li>fix(websocket): polyfill missing ErrorEvent global by <a href="https://github.com/otnc"><code>@otnc</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/371">honojs/node-server#371</a></li> <li>fix(serve-static): correct Range header parsing edge cases by <a href="https://github.com/otnc"><code>@otnc</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/372">honojs/node-server#372</a></li> <li>fix: recover complete request bodies after client disconnect by <a href="https://github.com/usualoma"><code>@usualoma</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/375">honojs/node-server#375</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/otnc"><code>@otnc</code></a> made their first contribution in <a href="https://redirect.github.com/honojs/node-server/pull/371">honojs/node-server#371</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/honojs/node-server/compare/v2.0.8...v2.0.9">https://github.com/honojs/node-server/compare/v2.0.8...v2.0.9</a></p> <h2>v2.0.8</h2> <h2>What's Changed</h2> <ul> <li>ci(release): add <code>--no-git-checks</code> option for <code>pnpm stage publish</code> by <a href="https://github.com/yusukebe"><code>@yusukebe</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/369">honojs/node-server#369</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/honojs/node-server/compare/v2.0.7...v2.0.8">https://github.com/honojs/node-server/compare/v2.0.7...v2.0.8</a></p> <h2>v2.0.7</h2> <h2>What's Changed</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/honojs/node-server/commit/a813b6cdaa15baac3ead84e9e6ed5b72b2353c96"><code>a813b6c</code></a> 2.0.12</li> <li><a href="https://github.com/honojs/node-server/commit/caf48bafd4638bac5c338166b8858b72bcf79257"><code>caf48ba</code></a> fix(response): copy headers when init is a foreign Response (<a href="https://redirect.github.com/honojs/node-server/issues/382">#382</a>)</li> <li><a href="https://github.com/honojs/node-server/commit/3b1dd6875812e0b5aee43ec3fac66c191fd6251f"><code>3b1dd68</code></a> test: replace supertest (<a href="https://redirect.github.com/honojs/node-server/issues/379">#379</a>)</li> <li><a href="https://github.com/honojs/node-server/commit/834e54f15cf12b80cf82823c845b2bab41056cf0"><code>834e54f</code></a> 2.0.11</li> <li><a href="https://github.com/honojs/node-server/commit/ba72bcd8c563fbe1e9678e7ef27794a0aa4a6158"><code>ba72bcd</code></a> perf(request): fast-path PATCH method (<a href="https://redirect.github.com/honojs/node-server/issues/380">#380</a>)</li> <li><a href="https://github.com/honojs/node-server/commit/962baa463879da394008f27510d68dc90b640e99"><code>962baa4</code></a> perf(request): fast-path QUERY methods (<a href="https://redirect.github.com/honojs/node-server/issues/376">#376</a>)</li> <li><a href="https://github.com/honojs/node-server/commit/62284d659380cb0354510d0359c160c8d970764d"><code>62284d6</code></a> test: use a custom helper for path traversal tests (<a href="https://redirect.github.com/honojs/node-server/issues/377">#377</a>)</li> <li><a href="https://github.com/honojs/node-server/commit/7c1457ed5536c02fdd2f001129fae67bcbca54a1"><code>7c1457e</code></a> 2.0.10</li> <li><a href="https://github.com/honojs/node-server/commit/3a21938c418340e980cb7ffa88e78369f78392d1"><code>3a21938</code></a> Merge commit from fork</li> <li><a href="https://github.com/honojs/node-server/commit/98420217e53a17a238ef1aa1a6bef0b2b70136c5"><code>9842021</code></a> 2.0.9</li> <li>Additional commits viewable in <a href="https://github.com/honojs/node-server/compare/v1.19.14...v2.0.12">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for <code>@hono/node-server</code> since your current version.</p> </details> <br /> Updates `@modelcontextprotocol/sdk` from 1.29.0 to 1.30.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/modelcontextprotocol/typescript-sdk/releases">@modelcontextprotocol/sdk's releases</a>.</em></p> <blockquote> <h2>1.30.0</h2> <h2>What's Changed</h2> <ul> <li>fix(server): prioritize zod issues and format them by <a href="https://github.com/mozmo15"><code>@mozmo15</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/pull/1503">modelcontextprotocol/typescript-sdk#1503</a></li> <li>chore(ci): switch publish to OIDC trusted publishing by <a href="https://github.com/felixweinberger"><code>@felixweinberger</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/pull/1839">modelcontextprotocol/typescript-sdk#1839</a></li> <li>Add end-to-end test suite by <a href="https://github.com/felixweinberger"><code>@felixweinberger</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/pull/2167">modelcontextprotocol/typescript-sdk#2167</a></li> <li>v1 stdio buffer limit by <a href="https://github.com/KKonstantinov"><code>@KKonstantinov</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/pull/2239">modelcontextprotocol/typescript-sdk#2239</a></li> <li>fix: support Zod 3.25 method literals by <a href="https://github.com/mattzcarey"><code>@mattzcarey</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/pull/2368">modelcontextprotocol/typescript-sdk#2368</a></li> <li>Validate Content-Type by parsed media type instead of substring match (v1.x) by <a href="https://github.com/felixweinberger"><code>@felixweinberger</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/pull/2444">modelcontextprotocol/typescript-sdk#2444</a></li> <li>fix: send SSE keep-alive comment frames from Streamable HTTP server transport (v1.x) by <a href="https://github.com/mattzcarey"><code>@mattzcarey</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/pull/2538">modelcontextprotocol/typescript-sdk#2538</a></li> <li>fix(deps): widen <code>@hono/node-server</code> past GHSA-frvp-7c67-39w9 by <a href="https://github.com/arimu1"><code>@arimu1</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/pull/2549">modelcontextprotocol/typescript-sdk#2549</a></li> <li>Fix SSE keep-alive timer lifecycle in Streamable HTTP server transport (v1.x) by <a href="https://github.com/felixweinberger"><code>@felixweinberger</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/pull/2547">modelcontextprotocol/typescript-sdk#2547</a></li> <li>chore: bump version to 1.30.0 by <a href="https://github.com/felixweinberger"><code>@felixweinberger</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/pull/2563">modelcontextprotocol/typescript-sdk#2563</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/mozmo15"><code>@mozmo15</code></a> made their first contribution in <a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/pull/1503">modelcontextprotocol/typescript-sdk#1503</a></li> <li><a href="https://github.com/arimu1"><code>@arimu1</code></a> made their first contribution in <a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/pull/2549">modelcontextprotocol/typescript-sdk#2549</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.29.0...1.30.0">https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.29.0...1.30.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/modelcontextprotocol/typescript-sdk/commit/2d889f2b329e46680ec9bdd565de4616c497825a"><code>2d889f2</code></a> chore: bump version to 1.30.0 (<a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/issues/2563">#2563</a>)</li> <li><a href="https://github.com/modelcontextprotocol/typescript-sdk/commit/e3f3daa12cc2603919939b72136ce9d9e800b868"><code>e3f3daa</code></a> Fix SSE keep-alive timer lifecycle in Streamable HTTP server transport (v1.x)...</li> <li><a href="https://github.com/modelcontextprotocol/typescript-sdk/commit/bb5a718cbf90796bacbf62218b359196d210426b"><code>bb5a718</code></a> fix(deps): widen <code>@hono/node-server</code> past GHSA-frvp-7c67-39w9 (<a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/issues/2549">#2549</a>)</li> <li><a href="https://github.com/modelcontextprotocol/typescript-sdk/commit/1dad2634ce5799fb386283d14291d1b4935a9a52"><code>1dad263</code></a> fix: send SSE keep-alive comment frames from Streamable HTTP server transport...</li> <li><a href="https://github.com/modelcontextprotocol/typescript-sdk/commit/69749aa5081ddfe675d36da8d96c7e27d83742b8"><code>69749aa</code></a> Validate Content-Type by parsed media type instead of substring match (v1.x) ...</li> <li><a href="https://github.com/modelcontextprotocol/typescript-sdk/commit/369513df7b0e9d8a979c86f68ba1930e0d5f27f0"><code>369513d</code></a> fix: support Zod 3.25 method literals (<a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/issues/2368">#2368</a>)</li> <li><a href="https://github.com/modelcontextprotocol/typescript-sdk/commit/e7ee57c2f33b8290a78a3cefa27ab635fe67fbff"><code>e7ee57c</code></a> v1 stdio buffer limit (<a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/issues/2239">#2239</a>)</li> <li><a href="https://github.com/modelcontextprotocol/typescript-sdk/commit/c36e1ef5bb3b07b0c23fc6d28d4a6b56ebdd9512"><code>c36e1ef</code></a> Add end-to-end test suite (<a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/issues/2167">#2167</a>)</li> <li><a href="https://github.com/modelcontextprotocol/typescript-sdk/commit/bf1e022bd219f678b3865093d58595c6c8a67f1a"><code>bf1e022</code></a> chore(ci): switch publish to OIDC trusted publishing (<a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/issues/1839">#1839</a>)</li> <li><a href="https://github.com/modelcontextprotocol/typescript-sdk/commit/9edbab7a09f31a288a27df3220edbebff45dbb6c"><code>9edbab7</code></a> fix(server): prioritize zod issues and format them (<a href="https://redirect.github.com/modelcontextprotocol/typescript-sdk/issues/1503">#1503</a>)</li> <li>See full diff in <a href="https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.29.0...1.30.0">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for <code>@modelcontextprotocol/sdk</code> since your current version.</p> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/compiler-explorer/compiler-explorer/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>gh-18882 |
||
|
|
d74f6a8e17 |
Bump ip-address from 10.2.0 to 10.4.0 (#8985)
Bumps [ip-address](https://github.com/beaugunderson/ip-address) from 10.2.0 to 10.4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/beaugunderson/ip-address/releases">ip-address's releases</a>.</em></p> <blockquote> <h2>v10.4.0</h2> <h2>What's Changed</h2> <ul> <li>Add GitHub Actions CI by <a href="https://github.com/beaugunderson"><code>@beaugunderson</code></a> in <a href="https://redirect.github.com/beaugunderson/ip-address/pull/213">beaugunderson/ip-address#213</a></li> <li>Keep the package loadable on node 12, and enforce it by <a href="https://github.com/beaugunderson"><code>@beaugunderson</code></a> in <a href="https://redirect.github.com/beaugunderson/ip-address/pull/216">beaugunderson/ip-address#216</a></li> <li>Validate the byte arrays Address6 is given by <a href="https://github.com/beaugunderson"><code>@beaugunderson</code></a> in <a href="https://redirect.github.com/beaugunderson/ip-address/pull/217">beaugunderson/ip-address#217</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/beaugunderson/ip-address/compare/v10.3.1...v10.4.0">https://github.com/beaugunderson/ip-address/compare/v10.3.1...v10.4.0</a></p> <h2>v10.3.1</h2> <p><strong>Full Changelog</strong>: <a href="https://github.com/beaugunderson/ip-address/compare/v10.3.0...v10.3.1">https://github.com/beaugunderson/ip-address/compare/v10.3.0...v10.3.1</a></p> <h2>v10.3.0</h2> <p><strong>Full Changelog</strong>: <a href="https://github.com/beaugunderson/ip-address/compare/v10.2.2...v10.3.0">https://github.com/beaugunderson/ip-address/compare/v10.2.2...v10.3.0</a></p> <h2>v10.2.2</h2> <p><strong>Full Changelog</strong>: <a href="https://github.com/beaugunderson/ip-address/compare/v10.2.1...v10.2.2">https://github.com/beaugunderson/ip-address/compare/v10.2.1...v10.2.2</a></p> <h2>v10.2.1</h2> <p><strong>Full Changelog</strong>: <a href="https://github.com/beaugunderson/ip-address/compare/v10.2.0...v10.2.1">https://github.com/beaugunderson/ip-address/compare/v10.2.0...v10.2.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/beaugunderson/ip-address/commit/fbb8db28f1559842b7191cab7d8ea6408ed82f7b"><code>fbb8db2</code></a> 10.4.0</li> <li><a href="https://github.com/beaugunderson/ip-address/commit/45a2b11ec254a2e5620de66e248adcb33d16e669"><code>45a2b11</code></a> Validate the byte arrays Address6 is given (<a href="https://redirect.github.com/beaugunderson/ip-address/issues/217">#217</a>)</li> <li><a href="https://github.com/beaugunderson/ip-address/commit/bac8810b3935cab123316a4bc5ebaa22db140299"><code>bac8810</code></a> Keep the package loadable on node 12, and enforce it (<a href="https://redirect.github.com/beaugunderson/ip-address/issues/216">#216</a>)</li> <li><a href="https://github.com/beaugunderson/ip-address/commit/9b3d8488d15e6bfe5f5503867b088ce056723e08"><code>9b3d848</code></a> Add a security policy and a README section on security posture</li> <li><a href="https://github.com/beaugunderson/ip-address/commit/e84a7b381d02cb97ed114023e44133efae151254"><code>e84a7b3</code></a> Order the README API reference Address4, Address6, AddressError</li> <li><a href="https://github.com/beaugunderson/ip-address/commit/015160b85ee60b39548219817a5de3c4e828a6d6"><code>015160b</code></a> Collapse each class in the README API reference</li> <li><a href="https://github.com/beaugunderson/ip-address/commit/34061a897d526b7a063c3605402cd30a8363a035"><code>34061a8</code></a> Pin checkout and setup-node to commits in the release job</li> <li><a href="https://github.com/beaugunderson/ip-address/commit/c5fae5d9bdfe8ded7f4ca01a3d3ea8d97f8f1277"><code>c5fae5d</code></a> Pin action-gh-release to a commit and move it to 3.0.2</li> <li><a href="https://github.com/beaugunderson/ip-address/commit/e0ef0484193218b0d28cfbb53795bc44ddb3cc21"><code>e0ef048</code></a> Replace CircleCI with GitHub Actions</li> <li><a href="https://github.com/beaugunderson/ip-address/commit/5e3ceb779aee6ad3f33264e66225e8e7584ab612"><code>5e3ceb7</code></a> Add GitHub Actions CI across Node 20, 22, 24 and 25 (<a href="https://redirect.github.com/beaugunderson/ip-address/issues/213">#213</a>)</li> <li>Additional commits viewable in <a href="https://github.com/beaugunderson/ip-address/compare/v10.2.0...v10.4.0">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for ip-address since your current version.</p> </details> <details> <summary>Install script changes</summary> <p>This version adds <code>prepare</code> script that runs during installation. Review the package contents before updating.</p> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/compiler-explorer/compiler-explorer/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>gh-18881 |