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

Keep quoted string contents intact in CI condition expressions

クローズ 初心者向け
#998 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

@erenbati がすでに取り組んでいます。

2026年10月25日 から。

  • #1050 @erenbati による — マージ済み

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python

調査の方向性

tools/ci/common.py:39 から始め、提供された evaluate() の再現を a!b に対して実行します。引用符で囲まれたリテラルと実際の演算子がどのように処理されるかを追跡し、記載された演算子、関数、コンテキストの表記に対して、肯定ケースと否定ケースに絞った回帰テストを追加します。完了の基準は、引用符で囲まれた同一の文字列が等しく比較されつつ、真偽値演算子、コンテキスト参照、短絡評価が引き続き機能することです。

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

説明

bug ci good first issue

Problem

The plan evaluator rewrites operators and function spellings before parsing quoted strings. Equality against the identical values a!b, a&&b, a||b, and always() returns false. Context-looking text inside a string needs the same protection.

Starting point: tools/ci/common.py:39.

Validation

Audited canonical Wave 540728c2eb6cc12f5c69c3fb3fdb96e07ba059a4 (0.0.1-alpha-dev), whose tree matches the local checkout. Validation: Executed Python evaluate() reproductions. Executed compiler probes use the matching checkout-built compiler and std on Linux amd64 (Rust 1.89.0 / LLVM 21.1.8). Source/header or mocked checks are not native execution on another OS.

from tools.ci.common import evaluate
print(evaluate("inputs.value == 'a!b'", {"inputs.value": "a!b"}))
# False; the comparison should be True.

Scope

Make expression token handling respect quoted literals while preserving the existing small checked expression language; do not broaden it into unrestricted evaluation.

Completion criteria

  • Identical quoted strings containing operators/function/context spellings compare equal.
  • Actual boolean operators, context lookup and short-circuiting retain their behavior.
  • Add focused positive/negative evaluator regressions.

This is a bounded, unassigned task with the starting point and focused checks above. Keep unrelated refactoring out of the change.

主要言語
Rust
スター
56
フォーク
21
平均マージ
7時間 19分
マージ済み PR(30日)
61

環境構築

はじめの一歩

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

wavefnd/Wave のほかの issue

wavefnd/Wave の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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