{"url":"https://api.github.com/repos/OpenCyphal/CETL/pulls/207","id":4681181883,"node_id":"PR_kwDOI8qz588AAAABFwUquw","html_url":"https://github.com/OpenCyphal/CETL/pull/207","diff_url":"https://github.com/OpenCyphal/CETL/pull/207.diff","patch_url":"https://github.com/OpenCyphal/CETL/pull/207.patch","issue_url":"https://api.github.com/repos/OpenCyphal/CETL/issues/207","commits_url":"https://api.github.com/repos/OpenCyphal/CETL/pulls/207/commits","review_comments_url":"https://api.github.com/repos/OpenCyphal/CETL/pulls/207/comments","review_comment_url":"https://api.github.com/repos/OpenCyphal/CETL/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenCyphal/CETL/issues/207/comments","statuses_url":"https://api.github.com/repos/OpenCyphal/CETL/statuses/25c7deed5c7a0941549ed5822021439642024361","number":207,"state":"closed","locked":false,"title":"Fix exceptions from allocator-taking VLA move construction","user":{"login":"thirtytwobits","id":19180861,"node_id":"MDQ6VXNlcjE5MTgwODYx","avatar_url":"https://avatars.githubusercontent.com/u/19180861?v=4","gravatar_id":"","url":"https://api.github.com/users/thirtytwobits","html_url":"https://github.com/thirtytwobits","followers_url":"https://api.github.com/users/thirtytwobits/followers","following_url":"https://api.github.com/users/thirtytwobits/following{/other_user}","gists_url":"https://api.github.com/users/thirtytwobits/gists{/gist_id}","starred_url":"https://api.github.com/users/thirtytwobits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thirtytwobits/subscriptions","organizations_url":"https://api.github.com/users/thirtytwobits/orgs","repos_url":"https://api.github.com/users/thirtytwobits/repos","events_url":"https://api.github.com/users/thirtytwobits/events{/privacy}","received_events_url":"https://api.github.com/users/thirtytwobits/received_events","type":"User","user_view_type":"public","site_admin":false},"body":"An allocator-taking VLA move can allocate new storage when the allocators differ. Its unconditional `noexcept` currently turns an allocation failure into `std::terminate`, preventing the caller from catching `std::bad_alloc`.\n\nAllow exceptions to propagate through the allocating base constructor and make both the generic and packed-bool public constructors' exception specifications match the existing allocator dispatch. Ordinary moves and the existing unconditional storage-transfer paths retain `noexcept`.\n\nAdd regression tests for allocation failure, preservation and subsequent reuse of the source, equal-allocator moves without allocation, and the exception specifications for all allocator-trait combinations. Capacity bookkeeping and partial-construction cleanup remain tracked separately in #205 and #37.\n\nCloses #204.\n\nValidation:\n\n- The new compile-time regression checks fail on the original implementation for both `int` and `bool`.\n- The original issue reproducer now catches `std::bad_alloc` and exits successfully.\n- All seven VLA suites pass in C++14 under GCC 13.4 and Clang 22.1.8, in Debug and exceptions-disabled ReleaseEP configurations (existing compiler/platform skips retained).\n- Both affected test translation units pass C++17, C++20, and C++23 compilation under GCC and Clang, with exceptions enabled and disabled.\n- Formatting checks for the changed regions and `git diff --check` pass.\n","labels":[],"milestone":null,"active_lock_reason":null,"created_at":"2026-09-29T18:45:55Z","updated_at":"2026-10-05T21:13:15Z","closed_at":"2026-10-05T21:13:12Z","merged_at":"2026-10-05T21:13:11Z","merge_commit_sha":"c14f871e965612183850def127d8e1950b2f9821","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"head":{"label":"OpenCyphal:codex/fix-vla-allocator-move-noexcept","ref":"codex/fix-vla-allocator-move-noexcept","repo":{"id":600486887,"node_id":"R_kgDOI8qz5w","name":"CETL","full_name":"OpenCyphal/CETL","owner":{"login":"OpenCyphal","id":10167381,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTY3Mzgx","avatar_url":"https://avatars.githubusercontent.com/u/10167381?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenCyphal","html_url":"https://github.com/OpenCyphal","followers_url":"https://api.github.com/users/OpenCyphal/followers","following_url":"https://api.github.com/users/OpenCyphal/following{/other_user}","gists_url":"https://api.github.com/users/OpenCyphal/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenCyphal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenCyphal/subscriptions","organizations_url":"https://api.github.com/users/OpenCyphal/orgs","repos_url":"https://api.github.com/users/OpenCyphal/repos","events_url":"https://api.github.com/users/OpenCyphal/events{/privacy}","received_events_url":"https://api.github.com/users/OpenCyphal/received_events","type":"Organization","user_view_type":"public","site_admin":false},"private":false,"fork":false,"archived":false,"disabled":false,"description":"Cyphal Embedded Template Library","homepage":"","language":"C++","visibility":"public","is_template":false,"topics":[],"forks_count":4,"forks":4,"stargazers_count":18,"watchers_count":18,"watchers":18,"open_issues_count":34,"open_issues":34,"size":1439,"default_branch":"main","has_issues":true,"has_projects":false,"has_wiki":false,"has_pages":true,"has_downloads":false,"has_discussions":false,"has_pull_requests":true,"pushed_at":"2026-10-07T16:37:54Z","created_at":"2023-02-11T16:41:07Z","updated_at":"2026-10-06T21:39:53Z","allow_forking":true,"web_commit_signoff_required":false,"pull_request_creation_policy":"all","license":{"key":"mit","name":"MIT License","url":"https://api.github.com/licenses/mit","spdx_id":"MIT","node_id":"MDc6TGljZW5zZTEz"},"url":"https://api.github.com/repos/OpenCyphal/CETL","html_url":"https://github.com/OpenCyphal/CETL","archive_url":"https://api.github.com/repos/OpenCyphal/CETL/{archive_format}{/ref}","assignees_url":"https://api.github.com/repos/OpenCyphal/CETL/assignees{/user}","blobs_url":"https://api.github.com/repos/OpenCyphal/CETL/git/blobs{/sha}","branches_url":"https://api.github.com/repos/OpenCyphal/CETL/branches{/branch}","collaborators_url":"https://api.github.com/repos/OpenCyphal/CETL/collaborators{/collaborator}","comments_url":"https://api.github.com/repos/OpenCyphal/CETL/comments{/number}","commits_url":"https://api.github.com/repos/OpenCyphal/CETL/commits{/sha}","compare_url":"https://api.github.com/repos/OpenCyphal/CETL/compare/{base}...{head}","contents_url":"https://api.github.com/repos/OpenCyphal/CETL/contents/{+path}","contributors_url":"https://api.github.com/repos/OpenCyphal/CETL/contributors","deployments_url":"https://api.github.com/repos/OpenCyphal/CETL/deployments","downloads_url":"https://api.github.com/repos/OpenCyphal/CETL/downloads","events_url":"https://api.github.com/repos/OpenCyphal/CETL/events","forks_url":"https://api.github.com/repos/OpenCyphal/CETL/forks","git_commits_url":"https://api.github.com/repos/OpenCyphal/CETL/git/commits{/sha}","git_refs_url":"https://api.github.com/repos/OpenCyphal/CETL/git/refs{/sha}","git_tags_url":"https://api.github.com/repos/OpenCyphal/CETL/git/tags{/sha}","git_url":"git://github.com/OpenCyphal/CETL.git","issue_comment_url":"https://api.github.com/repos/OpenCyphal/CETL/issues/comments{/number}","issue_events_url":"https://api.github.com/repos/OpenCyphal/CETL/issues/events{/number}","issues_url":"https://api.github.com/repos/OpenCyphal/CETL/issues{/number}","keys_url":"https://api.github.com/repos/OpenCyphal/CETL/keys{/key_id}","labels_url":"https://api.github.com/repos/OpenCyphal/CETL/labels{/name}","languages_url":"https://api.github.com/repos/OpenCyphal/CETL/languages","merges_url":"https://api.github.com/repos/OpenCyphal/CETL/merges","milestones_url":"https://api.github.com/repos/OpenCyphal/CETL/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenCyphal/CETL/notifications{?since,all,participating}","pulls_url":"https://api.github.com/repos/OpenCyphal/CETL/pulls{/number}","releases_url":"https://api.github.com/repos/OpenCyphal/CETL/releases{/id}","ssh_url":"git@github.com:OpenCyphal/CETL.git","stargazers_url":"https://api.github.com/repos/OpenCyphal/CETL/stargazers","statuses_url":"https://api.github.com/repos/OpenCyphal/CETL/statuses/{sha}","subscribers_url":"https://api.github.com/repos/OpenCyphal/CETL/subscribers","subscription_url":"https://api.github.com/repos/OpenCyphal/CETL/subscription","tags_url":"https://api.github.com/repos/OpenCyphal/CETL/tags","teams_url":"https://api.github.com/repos/OpenCyphal/CETL/teams","trees_url":"https://api.github.com/repos/OpenCyphal/CETL/git/trees{/sha}","clone_url":"https://github.com/OpenCyphal/CETL.git","mirror_url":null,"hooks_url":"https://api.github.com/repos/OpenCyphal/CETL/hooks","svn_url":"https://github.com/OpenCyphal/CETL"},"sha":"25c7deed5c7a0941549ed5822021439642024361","user":{"login":"OpenCyphal","id":10167381,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTY3Mzgx","avatar_url":"https://avatars.githubusercontent.com/u/10167381?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenCyphal","html_url":"https://github.com/OpenCyphal","followers_url":"https://api.github.com/users/OpenCyphal/followers","following_url":"https://api.github.com/users/OpenCyphal/following{/other_user}","gists_url":"https://api.github.com/users/OpenCyphal/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenCyphal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenCyphal/subscriptions","organizations_url":"https://api.github.com/users/OpenCyphal/orgs","repos_url":"https://api.github.com/users/OpenCyphal/repos","events_url":"https://api.github.com/users/OpenCyphal/events{/privacy}","received_events_url":"https://api.github.com/users/OpenCyphal/received_events","type":"Organization","user_view_type":"public","site_admin":false}},"base":{"label":"OpenCyphal:main","ref":"main","repo":{"id":600486887,"node_id":"R_kgDOI8qz5w","name":"CETL","full_name":"OpenCyphal/CETL","owner":{"login":"OpenCyphal","id":10167381,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTY3Mzgx","avatar_url":"https://avatars.githubusercontent.com/u/10167381?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenCyphal","html_url":"https://github.com/OpenCyphal","followers_url":"https://api.github.com/users/OpenCyphal/followers","following_url":"https://api.github.com/users/OpenCyphal/following{/other_user}","gists_url":"https://api.github.com/users/OpenCyphal/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenCyphal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenCyphal/subscriptions","organizations_url":"https://api.github.com/users/OpenCyphal/orgs","repos_url":"https://api.github.com/users/OpenCyphal/repos","events_url":"https://api.github.com/users/OpenCyphal/events{/privacy}","received_events_url":"https://api.github.com/users/OpenCyphal/received_events","type":"Organization","user_view_type":"public","site_admin":false},"private":false,"fork":false,"archived":false,"disabled":false,"description":"Cyphal Embedded Template Library","homepage":"","language":"C++","visibility":"public","is_template":false,"topics":[],"forks_count":4,"forks":4,"stargazers_count":18,"watchers_count":18,"watchers":18,"open_issues_count":34,"open_issues":34,"size":1439,"default_branch":"main","has_issues":true,"has_projects":false,"has_wiki":false,"has_pages":true,"has_downloads":false,"has_discussions":false,"has_pull_requests":true,"pushed_at":"2026-10-07T16:37:54Z","created_at":"2023-02-11T16:41:07Z","updated_at":"2026-10-06T21:39:53Z","allow_forking":true,"web_commit_signoff_required":false,"pull_request_creation_policy":"all","license":{"key":"mit","name":"MIT License","url":"https://api.github.com/licenses/mit","spdx_id":"MIT","node_id":"MDc6TGljZW5zZTEz"},"url":"https://api.github.com/repos/OpenCyphal/CETL","html_url":"https://github.com/OpenCyphal/CETL","archive_url":"https://api.github.com/repos/OpenCyphal/CETL/{archive_format}{/ref}","assignees_url":"https://api.github.com/repos/OpenCyphal/CETL/assignees{/user}","blobs_url":"https://api.github.com/repos/OpenCyphal/CETL/git/blobs{/sha}","branches_url":"https://api.github.com/repos/OpenCyphal/CETL/branches{/branch}","collaborators_url":"https://api.github.com/repos/OpenCyphal/CETL/collaborators{/collaborator}","comments_url":"https://api.github.com/repos/OpenCyphal/CETL/comments{/number}","commits_url":"https://api.github.com/repos/OpenCyphal/CETL/commits{/sha}","compare_url":"https://api.github.com/repos/OpenCyphal/CETL/compare/{base}...{head}","contents_url":"https://api.github.com/repos/OpenCyphal/CETL/contents/{+path}","contributors_url":"https://api.github.com/repos/OpenCyphal/CETL/contributors","deployments_url":"https://api.github.com/repos/OpenCyphal/CETL/deployments","downloads_url":"https://api.github.com/repos/OpenCyphal/CETL/downloads","events_url":"https://api.github.com/repos/OpenCyphal/CETL/events","forks_url":"https://api.github.com/repos/OpenCyphal/CETL/forks","git_commits_url":"https://api.github.com/repos/OpenCyphal/CETL/git/commits{/sha}","git_refs_url":"https://api.github.com/repos/OpenCyphal/CETL/git/refs{/sha}","git_tags_url":"https://api.github.com/repos/OpenCyphal/CETL/git/tags{/sha}","git_url":"git://github.com/OpenCyphal/CETL.git","issue_comment_url":"https://api.github.com/repos/OpenCyphal/CETL/issues/comments{/number}","issue_events_url":"https://api.github.com/repos/OpenCyphal/CETL/issues/events{/number}","issues_url":"https://api.github.com/repos/OpenCyphal/CETL/issues{/number}","keys_url":"https://api.github.com/repos/OpenCyphal/CETL/keys{/key_id}","labels_url":"https://api.github.com/repos/OpenCyphal/CETL/labels{/name}","languages_url":"https://api.github.com/repos/OpenCyphal/CETL/languages","merges_url":"https://api.github.com/repos/OpenCyphal/CETL/merges","milestones_url":"https://api.github.com/repos/OpenCyphal/CETL/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenCyphal/CETL/notifications{?since,all,participating}","pulls_url":"https://api.github.com/repos/OpenCyphal/CETL/pulls{/number}","releases_url":"https://api.github.com/repos/OpenCyphal/CETL/releases{/id}","ssh_url":"git@github.com:OpenCyphal/CETL.git","stargazers_url":"https://api.github.com/repos/OpenCyphal/CETL/stargazers","statuses_url":"https://api.github.com/repos/OpenCyphal/CETL/statuses/{sha}","subscribers_url":"https://api.github.com/repos/OpenCyphal/CETL/subscribers","subscription_url":"https://api.github.com/repos/OpenCyphal/CETL/subscription","tags_url":"https://api.github.com/repos/OpenCyphal/CETL/tags","teams_url":"https://api.github.com/repos/OpenCyphal/CETL/teams","trees_url":"https://api.github.com/repos/OpenCyphal/CETL/git/trees{/sha}","clone_url":"https://github.com/OpenCyphal/CETL.git","mirror_url":null,"hooks_url":"https://api.github.com/repos/OpenCyphal/CETL/hooks","svn_url":"https://github.com/OpenCyphal/CETL"},"sha":"b369f20c67f5569bef9d5a4f3d9451e5f9c58447","user":{"login":"OpenCyphal","id":10167381,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTY3Mzgx","avatar_url":"https://avatars.githubusercontent.com/u/10167381?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenCyphal","html_url":"https://github.com/OpenCyphal","followers_url":"https://api.github.com/users/OpenCyphal/followers","following_url":"https://api.github.com/users/OpenCyphal/following{/other_user}","gists_url":"https://api.github.com/users/OpenCyphal/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenCyphal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenCyphal/subscriptions","organizations_url":"https://api.github.com/users/OpenCyphal/orgs","repos_url":"https://api.github.com/users/OpenCyphal/repos","events_url":"https://api.github.com/users/OpenCyphal/events{/privacy}","received_events_url":"https://api.github.com/users/OpenCyphal/received_events","type":"Organization","user_view_type":"public","site_admin":false}},"_links":{"comments":{"href":"https://api.github.com/repos/OpenCyphal/CETL/issues/207/comments"},"commits":{"href":"https://api.github.com/repos/OpenCyphal/CETL/pulls/207/commits"},"statuses":{"href":"https://api.github.com/repos/OpenCyphal/CETL/statuses/25c7deed5c7a0941549ed5822021439642024361"},"html":{"href":"https://github.com/OpenCyphal/CETL/pull/207"},"issue":{"href":"https://api.github.com/repos/OpenCyphal/CETL/issues/207"},"review_comments":{"href":"https://api.github.com/repos/OpenCyphal/CETL/pulls/207/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenCyphal/CETL/pulls/comments{/number}"},"self":{"href":"https://api.github.com/repos/OpenCyphal/CETL/pulls/207"}},"author_association":"MEMBER","auto_merge":null,"stack":{"base":{"ref":"main","sha":null},"id":1575761,"number":210,"position":1,"size":2},"draft":false,"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"thirtytwobits","id":19180861,"node_id":"MDQ6VXNlcjE5MTgwODYx","avatar_url":"https://avatars.githubusercontent.com/u/19180861?v=4","gravatar_id":"","url":"https://api.github.com/users/thirtytwobits","html_url":"https://github.com/thirtytwobits","followers_url":"https://api.github.com/users/thirtytwobits/followers","following_url":"https://api.github.com/users/thirtytwobits/following{/other_user}","gists_url":"https://api.github.com/users/thirtytwobits/gists{/gist_id}","starred_url":"https://api.github.com/users/thirtytwobits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thirtytwobits/subscriptions","organizations_url":"https://api.github.com/users/thirtytwobits/orgs","repos_url":"https://api.github.com/users/thirtytwobits/repos","events_url":"https://api.github.com/users/thirtytwobits/events{/privacy}","received_events_url":"https://api.github.com/users/thirtytwobits/received_events","type":"User","user_view_type":"public","site_admin":false},"comments":0,"review_comments":6,"maintainer_can_modify":false,"commits":2,"additions":191,"deletions":5,"changed_files":3}