Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[exec] on/continues_on hits __not_a_scheduler diagnostics under the debug environment when STDEXEC_ENABLE_EXTRA_TYPE_CHECKING=ON

クローズ
#2,274 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp
領域
backend

調査の方向性

-DSTDEXEC_ENABLE_EXTRA_TYPE_CHECKING=ON を使用して、exec::any_sequence_sender と exec::on または exec::continues_on での失敗を再現する。追加の型チェック用デバッグ環境と、その scheduler-query の検索を追跡する。これらの変換が __not_a_scheduler 診断を生成しなくなり、scheduler queries が引き続きラップされた環境に到達すれば完了とする。

索引モデルが issue の本文から書いたものです。

説明

Requested by @ericniebler in #2271 — follow-up found while verifying that PR with -DSTDEXEC_ENABLE_EXTRA_TYPE_CHECKING=ON. Fails on pristine main, so it is separate from the fix in #2271.

Description

Pipelines that transform sequence senders with exec::on / exec::continues_on produce __not_a_scheduler diagnostics under extra type checking. The debug environment injected by the extra-type-checking machinery appears to shadow or alter scheduler-related queries, so the transformation's scheduler lookup sees the debug proxy environment instead of the real one and concludes there is no scheduler.

Reproduction

Compose an exec::any_sequence_sender with exec::on / exec::continues_on and build with -DSTDEXEC_ENABLE_EXTRA_TYPE_CHECKING=ON.

Suggested fix direction

Make the debug env forwarding query-aware for scheduler queries (forward get_scheduler / get_delegatee_scheduler to the wrapped environment), or exclude scheduler queries from the debug proxy.

主要言語
C++
スター
2.4k
フォーク
274
平均マージ
1日 13時間
マージ済み PR(30日)
38

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/stdexec のほかの issue

NVIDIA/stdexec の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。