instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
team-attention__tide__99
team-attention/tide
99
defect
01ceb55a1316077035824937ed6134b7e3991db0
f2df9f84cb814e079e2ed0338d66c6c2c1e63d4b
Add Workspace rename in tide-app
Closes #98. ## Summary Workspaces can now be renamed. Users right-click a Workspace rail item → **Rename**, edit the inline input, **Enter** to commit (**Escape** to cancel). Wrapped Agents do the same via the new `tide_rename_workspace` MCP tool. Before this PR, `Workspace.name` was assigned exactly once — at creat...
diff --git a/crates/tide-app/src/adapter/inward/cli_adapter/commands.rs b/crates/tide-app/src/adapter/inward/cli_adapter/commands.rs index 17022ef0..ce1bb240 100644 --- a/crates/tide-app/src/adapter/inward/cli_adapter/commands.rs +++ b/crates/tide-app/src/adapter/inward/cli_adapter/commands.rs @@ -128,6 +128,7 @@ impl ...
1
1
0
[{"id": "G0", "claim": "complete_workspace_rename duplicates the rename-and-invalidate logic from rename_workspace, and should call rename_workspace directly to reduce duplication and ensure consistent trimming and bounds-check behavior.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope"...
null
team-mirai__mirai-gikai__366
team-mirai/mirai-gikai
366
defect
78965eb9b38255e147c25a2cafc209ce710c1c2e
e4a2abe068f95ad4a96cc6f3fdbde8e47715f3fb
refactor: admin 複製・URL構築系純粋関数の切り出し
## 概要 admin側の複製変換・URL構築ロジックを純粋関数としてshared/に切り出し、ユニットテストを追加。 ## 変更内容 ### 1. 議案複製変換 (`prepareBillForDuplication` / `prepareBillContentsForDuplication`) - `admin/src/features/bills/actions/duplicate-bill.ts` から純粋変換部分を切り出し - → `admin/src/features/bills/shared/utils/prepare-bill-for-duplication.ts` ### 2. 質問複製変換 (`prepar...
diff --git a/admin/src/features/bills/server/actions/duplicate-bill.ts b/admin/src/features/bills/server/actions/duplicate-bill.ts index 901f684c7..b6c4f8043 100644 --- a/admin/src/features/bills/server/actions/duplicate-bill.ts +++ b/admin/src/features/bills/server/actions/duplicate-bill.ts @@ -2,13 +2,17 @@ import...
6
1
1
[{"id": "G0", "claim": "The relative import '../shared/utils/is-token-valid' in server/services/preview-token-service.ts resolves to the wrong directory (server/shared/ instead of bills/shared/) and is the cause of the pipeline failure; the path needs to go up two directories.", "category": "correctness", "verdict": "s...
null
team-mirai__mirai-gikai__499
team-mirai/mirai-gikai
499
defect
2571ac1f310f113c7ab3fce397056b316eb10614
a62eb815ae12b61bb23f043b6b527dc612d889c3
feat: Archiveセクションで成立法案を優先表示
## Summary - トップページのArchiveセクションで、成立法案(status=enacted)が上位に表示されるように変更 - `findPreviousSessionBills` を2クエリ方式に変更: enacted を先に取得し、残り枠を他のステータスで埋める - DB レベルでソートを完結させるため、アプリ側での並べ替え不要 ## Test plan - [x] `pnpm lint` 通過 - [x] `pnpm typecheck` 通過 - [x] `pnpm test` 全635テスト通過 - [ ] ローカルでトップページを表示し、Archiveセクションで成立法案が先頭に表示されることを確認 �...
diff --git a/web/src/features/bills/server/repositories/bill-repository.ts b/web/src/features/bills/server/repositories/bill-repository.ts index 89e67ecdf..d38fc8a0a 100644 --- a/web/src/features/bills/server/repositories/bill-repository.ts +++ b/web/src/features/bills/server/repositories/bill-repository.ts @@ -212,7 +...
1
1
0
[{"id": "G0", "claim": "findPreviousSessionBills should return [] early when limit <= 0 to avoid unnecessary queries and make boundary behavior explicit.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
team-mirai__mirai-gikai__545
team-mirai/mirai-gikai
545
defect
4e8fc844d09f27ab842c267104dfefd66f7b17ea
c371bd0009f090f6d65c1f64dd98c6b1eaa32f06
feat: admin内部ルート定義を一元化し、リンク切れを防止
## Summary - `admin/src/lib/routes.ts` に全ルートヘルパー関数を集約し、内部リンクの一元管理を実現 - `routes.test.ts` で `app/` の `page.tsx` と `routes.ts` の同期を自動検証するテストを追加 - 既存の全リンク(約30箇所)を `routes.xxx()` 呼び出しに移行 - `topic-analysis-header.tsx` の404バグも修正(存在しない `/bills/${id}` → `routes.bills()`) - CLAUDE.md にルート直書き禁止ルールを追加 ## 背景 `topic-analysis-header...
diff --git a/AGENTS.md b/AGENTS.md index c96943a3c..7127b9fcb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -92,6 +92,10 @@ Repository レイヤーの詳細は [docs/repository-layer.md](docs/repository-l - **ボタン**: `<button>` タグの使用は禁止です。必ず `@/components/ui/button` の `Button` コンポーネントを使用してください。 - **色**: インラインカラーコード(`text-[#xxx]`, `bg-[#x...
3
1
0
[{"id": "G0", "claim": "Add `import \"server-only\";` right after `\"use server\";` in admin/src/features/bills-edit/server/actions/create-bill.ts so the server-side boundary is explicit.", "category": "security", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Escape dynamic ...
null
team-mirai__mirai-gikai__561
team-mirai/mirai-gikai
561
defect
eb8965afc88f735a1d4979844007b1b32bb94aeb
526752272081990ffac6fff5f1a7ed54d1ac572b
chore: テストガイドライン仕組み化(統合テスト・セルフレビューエージェント追加)
## Summary - AGENTS.md の DB function テストルールを具体化(テストファイルの配置先 `tests/supabase/db-function/` とファイル名規則を明記) - `get_interview_statistics` DB function の統合テスト(9ケース)を追加 - `.claude/agents/test-guidelines-checker.md` セルフレビューエージェントを追加(テストガイドライン遵守チェック用) ## 仕組み化サマリ ### コード修正 - [x] `get_interview_statistics` DB function の統合テストを作成(...
diff --git a/.claude/agents/test-guidelines-checker.md b/.claude/agents/test-guidelines-checker.md new file mode 100644 index 000000000..91e80231f --- /dev/null +++ b/.claude/agents/test-guidelines-checker.md @@ -0,0 +1,47 @@ +# test-guidelines-checker + +変更差分に対してテストガイドライン(CLAUDE.md Testing Guidelines)の遵守状況をチェックするセルフレビ...
2
1
1
[{"id": "G0", "claim": "The migration grants no REVOKE/GRANT, so by default the admin aggregate function get_interview_statistics is executable by public/anon/authenticated; execution should be restricted to service_role only, as with get_admin_users().", "category": "security", "verdict": "supported", "priority": "P0"...
null
team-mirai__mirai-gikai__593
team-mirai/mirai-gikai
593
defect
f5878753c350141b5e407a12a70bd0468e9f6221
d04c788d55d0205410b2b00bcc8636119dc9191a
feat: インタビューレポートにモデレーションスコアを追加
## Summary - インタビューレポート保存時にAIで不適切コンテンツを0-100でスコアリングする機能を追加 - OK(0-29)/WARNING(30-69)/NG(70-100)の3段階でステータスを分類 - スコア保存のみで公開制御は行わない(今後admin側で活用予定) - モデレーション失敗時もレポート保存はブロックしない(graceful degradation) ## 変更内容 - **DBマイグレーション**: `interview_report` に `moderation_score`(INTEGER) と `moderation_status`(ENUM) カラムを追加 - **純粋関数**: 閾値判...
diff --git a/packages/supabase/types/supabase.types.ts b/packages/supabase/types/supabase.types.ts index fc1ea7996..859e17aa1 100644 --- a/packages/supabase/types/supabase.types.ts +++ b/packages/supabase/types/supabase.types.ts @@ -452,6 +452,10 @@ export type Database = { interview_session_id: string ...
5
3
2
[{"id": "G0", "claim": "Consider structured logging or a proper log level instead of console.log, because the output can contain sensitive flagged_categories in production.", "category": "security", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider including context infor...
null
team-mirai__mirai-gikai__595
team-mirai/mirai-gikai
595
defect
8d71ad06905e5de8acf1206027ee0e84ceaa6fe8
3370109c911ee728f9f4b927d9cf1b6ae6761463
feat: bill-chat-system-normalプロンプトをソースコード管理に移行
## Summary - `bill-chat-system-normal` プロンプトをLangfuseからソースコード管理に移行 - `top-chat-system`(#591)と同様のパターンで、TypeScriptテンプレートリテラル関数として実装 - 変数(billName, billTitle, billSummary, billContent)はキー存在チェックで検証(空文字列は許容) - `bill-chat-system-hard` は引き続きLangfuseから取得 ## 変更内容 - **新規**: `web/src/lib/prompt/source-code/templates/bill-chat-sy...
diff --git a/web/src/lib/prompt/composite/composite-prompt-provider.test.ts b/web/src/lib/prompt/composite/composite-prompt-provider.test.ts index 8a775c7a9..1d9ef89b1 100644 --- a/web/src/lib/prompt/composite/composite-prompt-provider.test.ts +++ b/web/src/lib/prompt/composite/composite-prompt-provider.test.ts @@ -18,...
4
2
0
[{"id": "G0", "claim": "Add `import \"server-only\";` on line 1 of web/src/lib/prompt/source-code/templates/bill-chat-system-normal.ts, as the coding guidelines require for server-side files, to prevent unintended client-side loading of this server-side prompt template.", "category": "security", "verdict": "opposed", "...
null
team-mirai__mirai-gikai__627
team-mirai/mirai-gikai
627
defect
3cdfa332fb6db6be72f9d7c267f159cf7d8d6bc0
246e63bb97f32667c1c949cab58240a2e003ac01
fix: リアクションボタンの楽観的更新が元に戻る問題を修正
## Summary - リアクションボタンを押すと一瞬反映されるがすぐ元に戻る問題を修正 - `useOptimistic` + `useTransition` から `useState` ベースの楽観的更新に変更 - 共通ロジックを `useReactionToggle` カスタムhookに集約 ## 原因 `useOptimistic` はトランジション完了時に `initialData`(Server Componentからのprops)に戻る設計。サーバーアクション(`toggleReaction`)に `revalidatePath` がなかったため、`initialData` が更新されず楽観的更新が巻き戻っていた。...
diff --git a/web/src/features/report-reaction/client/components/reaction-buttons-inline.tsx b/web/src/features/report-reaction/client/components/reaction-buttons-inline.tsx index 7c5e5ba9f..9d0c78181 100644 --- a/web/src/features/report-reaction/client/components/reaction-buttons-inline.tsx +++ b/web/src/features/repor...
3
3
3
[{"id": "G0", "claim": "The success-case test cannot verify that the UI updates immediately on click, because the mocked promise resolves before toggle() is awaited; add a case that calls toggle() while the promise is still pending and asserts data is updated before the resolve.", "category": "testing", "verdict": "sup...
null
team-mirai__mirai-gikai__671
team-mirai/mirai-gikai
671
defect
b8c98f8a8ce75800d9322b737b9aaf284e0a6a93
8b95a86beea867b0249a75e34472e102949f6c54
fix: CJK太字レンダリング修正・代表意見の引用符削除・余白調整
## Summary - CommonMarkのフランキングルールにより、CJK文字に隣接する`**`がboldとして認識されない問題を修正 - thin space(U+2009, Unicodeカテゴリ Zs)を`**`前後に挿入して回避 - 代表意見の冗長な`"`引用符を削除 - blockquoteの上下余白を`py-0`に縮小 - step4/step5プロンプト: 太字は短いキーワードにのみ使うよう制約追加 ## Test plan - [x] トピック分析テスト全パス(4ファイル, 66テスト) - [x] ローカルでbold表示・引用余白を確認済み 🤖 Generated with [Claude Code...
diff --git a/admin/src/features/topic-analysis/client/components/analysis-report.tsx b/admin/src/features/topic-analysis/client/components/analysis-report.tsx index 01e533528..b284695d0 100644 --- a/admin/src/features/topic-analysis/client/components/analysis-report.tsx +++ b/admin/src/features/topic-analysis/client/co...
2
1
1
[{"id": "G0", "claim": "The test name says it inserts ZWS while the implementation inserts thin space (U+2009); the test name should be corrected to say thin space.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The fixCjkBold regex `.+?` does not match...
null
team-mirai__mirai-gikai__735
team-mirai/mirai-gikai
735
defect
390aa2b527b17593f430ba65dee48fb1da1a1a92
5d1b7a1f29d33284ebb863093203c4104e26d3a1
法案記事にレビューステータス機能を追加
## Summary - `bills` テーブルに `is_review_completed` カラムを追加(デフォルト: `false`、既存の公開済み議案は `true` に設定) - レビュー未完了時: 記事ヘッダー上部にインフォバナー「この記事は複数有識者によるレビューが完了していません。今後内容が変更されることがあります。」を表示 - レビュー完了時: タイトル末尾に緑チェックマーク(ホバー/タップでツールチップ「この記事は複数有識者によるレビューが完了しています」を表示) - TOPページのカード一覧(BillCard・CompactBillCard)にもレビュー完了バッジを表示 - admin: 議案編集フォームに「...
diff --git a/admin/src/features/bills-edit/client/components/bill-create-form.tsx b/admin/src/features/bills-edit/client/components/bill-create-form.tsx index 8976c08fb..e9de541fc 100644 --- a/admin/src/features/bills-edit/client/components/bill-create-form.tsx +++ b/admin/src/features/bills-edit/client/components/bill...
1
1
1
[{"id": "G0", "claim": "prepareBillForDuplication must reset is_review_completed to false (and add a test asserting it), because a duplicated bill should start as new, unreviewed content instead of inheriting the original's review state.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "i...
null
team-mirai__mirai-gikai__773
team-mirai/mirai-gikai
773
defect
baa52be96df2a8e47aaf870f83c0cab08d8e705d
0cb0afc0d89a3c7fdd20a9f96d8bb4d30c651593
Supabase認証キーをlegacyから新形式へ移行
## Summary - Supabaseの認証キーを旧形式(JWT)から新形式(Publishable/Secret)へ移行 - `SUPABASE_SERVICE_ROLE_KEY` → `SUPABASE_SECRET_KEY` - `NEXT_PUBLIC_SUPABASE_ANON_KEY` → `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY` - アプリコード・テストヘルパー・CI・ドキュメントを一括更新 - CIでは実キーをハードコードせず、`supabase status -o env` から動的に取得(GitHub Secret Scanning対策) ## 移行手順(マージ後...
diff --git a/.env.example b/.env.example index b9d3dea42..0f1a3b37f 100644 --- a/.env.example +++ b/.env.example @@ -1,9 +1,11 @@ #--- Common --- # npx supabase statusで確認できる情報を設定してください SUPABASE_URL=http://127.0.0.1:54421 -SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwi...
1
1
0
[{"id": "G0", "claim": "Resolve the dotenv-linter UnorderedKey warning in web/.env.example by placing NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY before NEXT_PUBLIC_SUPABASE_URL.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
team-mirai__mirai-gikai__776
team-mirai/mirai-gikai
776
defect
bf5496fc61f3b082b021957f59e55d6ef4d5b31e
bf3d840ec1b5f449a625a4d15a8d3421a1baba98
MCPのupdate_tagツールをPATCH方式に変更
## Summary - MCP `update_tag` ツールを PATCH 方式に変更。省略したフィールドは既存値を維持し、明示的に `null` を渡した場合のみクリアされるようにした - 従来は `description ?? null` で未指定フィールドが `null` に変換されており、tag rename 時に `description` と `featured_priority` が消失するバグがあった - リポジトリ層の `updateTagRecord` を型安全な `TagUpdate` 型に変更し、空 update のガード処理を追加 ## Changes - `admin/src/features/m...
diff --git a/admin/src/features/mcp/server/tools/register-tags-tools.ts b/admin/src/features/mcp/server/tools/register-tags-tools.ts index 33d429992..9390b64f2 100644 --- a/admin/src/features/mcp/server/tools/register-tags-tools.ts +++ b/admin/src/features/mcp/server/tools/register-tags-tools.ts @@ -64,23 +64,23 @@ exp...
1
1
0
[{"id": "G0", "claim": "Add an explicit branch for the EMPTY_UPDATE error code in mapTagDbError(), because it is an application-level rather than DB error and currently falls through to the default branch.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
team-mirai__mirai-gikai__795
team-mirai/mirai-gikai
795
defect
06012a8a142c1ae97a3eccf45475f0cdecf4cd4f
8ad6f3f92340f6ccbc5a362a066fc97112b94ea0
AIインタビュー設定を他法案へ複製できるようにする
## Summary - AI インタビュー config を別の法案にコピーできるようにする。 - 既存の同 bill 内複製はそのまま残し、`duplicateInterviewConfig` に `options.targetBillId` を追加して挙動を切り替える。 - `/bills/[id]/interview` の各 config 行に「他法案へ複製」アイコン(FolderInput)を追加。クリックで bill 検索ダイアログを開き、検索 → 選択 → 「複製する」で別 bill 配下に同名+`(コピー)`の config(status=closed、質問もコピー)を新規作成 → コピー先の編集画面に遷移する。 ...
diff --git a/admin/src/app/(protected)/bills/[id]/interview/page.tsx b/admin/src/app/(protected)/bills/[id]/interview/page.tsx index 02e24f2f3..303f550bf 100644 --- a/admin/src/app/(protected)/bills/[id]/interview/page.tsx +++ b/admin/src/app/(protected)/bills/[id]/interview/page.tsx @@ -2,6 +2,7 @@ import { ArrowLeft ...
3
3
2
[{"id": "G0", "claim": "selectedBillId is kept even when it falls outside `filtered`, so the copy can be submitted to a bill no longer visible in the list; a selection not present in `filtered` should be cleared.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
team-telnyx__telnyx-node__257
team-telnyx/telnyx-node
257
defect
467519ffc61127bf2a7059d99b0c1b2224d0898c
df6317ebbdbc8389477e5e9ccfd081a535b1ec98
release: 5.1.0
Automated Release PR --- ## 5.1.0 (2026-01-13) Full Changelog: [v5.0.0...v5.1.0](https://github.com/team-telnyx/telnyx-node/compare/v5.0.0...v5.1.0) ### Features * Add widget_settings to AI Assistant and import_ids to ImportAssistant… ([caf118b](https://github.com/team-telnyx/telnyx-node/commit/caf118b27c5c376e5b3...
diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 32dbe0e2b..9d5573ce6 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.0.0" + ".": "5.0.1" } diff --git a/.stats.yml b/.stats.yml index 50dd11aaa..da4996c20 100644 --- a/.stats.y...
2
2
1
[{"id": "G0", "claim": "The mcp-server source and test files import from a non-existent './tools/index' module (packages/mcp-server/src/tools.ts re-exports from a directory never committed), which will break the build and make all of the new tests fail.", "category": "correctness", "verdict": "supported", "priority": "...
null
teambit__bit__10038
teambit/bit
10,038
defect
64c5ae8baa7c35e7f256164d62e6e5132a2180c3
4343101f45baef44a3b4de46ea9b835b2ca0177e
feat (deps): add dependencies detector for Astro
## Proposed Changes - Add [dependencies detector](https://bit.cloud/frontend/astro/deps-detectors/detective-astro) for `.astro` files - Convert dependent functions to Async as the Astro compiler only has async functions
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 279bcceae919..a06a5da5450e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -80,6 +80,9 @@ importers: '@dagrejs/dagre': specifier: ^1.1.2 version: 1.1.4 + '@frontend/astro.deps-detectors.detective-astro': + specifier: ^0.0.1 + ...
2
2
1
[{"id": "G0", "claim": "Running the per-file dependency-tree builds in parallel via Promise.all is unsafe/wasteful and it is safer to run them one by one (pmap or a for loop), because it is a heavy operation that potentially reads lots of files from node_modules and relies on serial execution to reuse its cache and avo...
null
teambit__bit__10207
teambit/bit
10,207
defect
59211240e632dfd0b9131bdc9669ee80eaa59760
e5145dd589f1d42bd4c5fa8794c1af03aba271ff
fix(fs): handle EEXIST errors gracefully in createLinkOrSymlink
When a concurrent process creates a link at the same destination between removeSync and linkSync/symlinkSync, the EEXIST error is now caught and verified — if the existing link already points to the intended source, the operation succeeds silently instead of throwing. ## Proposed Changes - - -
diff --git a/scopes/toolbox/fs/link-or-symlink/create-link-or-symlink.spec.ts b/scopes/toolbox/fs/link-or-symlink/create-link-or-symlink.spec.ts new file mode 100644 index 000000000000..b06fd943a871 --- /dev/null +++ b/scopes/toolbox/fs/link-or-symlink/create-link-or-symlink.spec.ts @@ -0,0 +1,96 @@ +import { expect } ...
7
2
1
[{"id": "G0", "claim": "The new spec should use the Jest-style assertions used by other tests under scopes/toolbox/fs instead of Chai's expect, to keep the test runner consistent and avoid depending on Chai.", "category": "testing", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim":...
null
teambit__bit__10256
teambit/bit
10,256
defect
4e66d372edae2230da8c3990810fe83b569f50d4
f833a20d7dbb4c941270991eea4a90f59cbe932a
feat(deps): add `bit deps circular` command
Circular dependency detection was hidden behind `bit insights circular` — a private command users would never discover on their own. This adds `bit deps circular` as a proper subcommand alongside `diagnose`, `blame`, and `usage`. - Add `DependenciesCircularCmd` with `--json` and `--include-deps` options - Extract `ren...
diff --git a/components/component-issues/circular-dependencies.ts b/components/component-issues/circular-dependencies.ts index 5ed17aa9fa57..7f9182f054da 100644 --- a/components/component-issues/circular-dependencies.ts +++ b/components/component-issues/circular-dependencies.ts @@ -2,7 +2,7 @@ import { ComponentIssue, ...
6
4
1
[{"id": "G0", "claim": "The `--include-deps` option description ('include all dependencies, not just components') does not match the option's actual behavior and could mislead users into expecting package-level dependency cycles; update the description to reflect what the flag does.", "category": "documentation", "verd...
null
teambit__bit__10259
teambit/bit
10,259
defect
e835f1f43b72e7dfc4df9b4300c7060a9cf55ea8
d22da8bae2aa1dd0971a1fb66d178b0c1c76b164
feat(snapping): add batchId to correlate versions from same snap/tag operation
## Summary Generate a shared UUID per snap/tag operation and store it as a `batchId` property on every Version object created in that batch. This enables Bit Cloud to index and query all component versions from a single operation for rollback and history features. **Changes:** - Add `batchId` to `VersionProps` type, ...
diff --git a/scopes/component/snapping/snapping.main.runtime.ts b/scopes/component/snapping/snapping.main.runtime.ts index 36f6e30e17b7..30514e53d0d2 100644 --- a/scopes/component/snapping/snapping.main.runtime.ts +++ b/scopes/component/snapping/snapping.main.runtime.ts @@ -970,17 +970,22 @@ another option, in case thi...
3
3
1
[{"id": "G0", "claim": "The new `snapId` field on `Version` is easy to confuse with the existing meaning of \"snap id\" (snap hash/ref) across the codebase, so rename it to something unambiguous like `snapOperationId`/`batchId` (propagated through serialization), or at minimum clarify in a comment that it is an operati...
null
tebeka__selenium__118
tebeka/selenium
118
defect
6a80d8bc1bcda5ef9c53bf3dba09a97109b02b1a
57e105f1e6a1e9a283a4bc59c59e0bca5652eba0
Expose the frame buffer and allow the user to specify options when creating a frame buffer.
I want to be able to save my runs as MP4 files, and that means that I need to know the X11 display number so I can pass it to `avconv`. I also want to be able to specify the screen size so that my tests can run against multiple resolutions. This commit: 1. Exposes the frame buffer so that users can determine the...
diff --git a/service.go b/service.go index 46d9998..b7803b4 100644 --- a/service.go +++ b/service.go @@ -17,6 +17,10 @@ import ( // ServiceOption configures a Service instance. type ServiceOption func(*Service) error +// FrameBufferOptionScreenSize is the option for the frame buffer screen size. +// This is of the ...
8
7
1
[{"id": "G0", "claim": "Add a condition so that options is not inspected when it is nil.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Have the convenience wrappers pass nil to the with-options functions instead of creating an empty map.", "categor...
null
tebeka__selenium__243
tebeka/selenium
243
defect
4a1a40ceb3d285f7ca459a14f215a96e0803a8b4
a2aaf4fc35f2000b48fae3f28a83cda80da5be29
Add W3C Actions
This PR adds the PerformActions and ReleaseActions functions along with ways to build and store different actions. I have kept the original KeyUp and KeyDown functionality as I didn't want to introduce breaking changes. Functions like MoveTo should also be phased out as it doesn't work in Firefox or Chrome.
diff --git a/example_test.go b/example_test.go index 1e5fceb..6f21d13 100644 --- a/example_test.go +++ b/example_test.go @@ -104,9 +104,50 @@ func Example() { } fmt.Printf("%s", strings.Replace(output, "\n\n", "\n", -1)) - // Example Output: // Hello WebDriver! // // Program exited. + + //Actions example ...
16
16
1
[{"id": "G0", "claim": "In the example, combine the PerformActions assignment and error check into one statement, `if err := wd.PerformActions(); err != nil {`, and likewise below.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add comments desc...
null
tebeka__selenium__249
tebeka/selenium
249
defect
4a1a40ceb3d285f7ca459a14f215a96e0803a8b4
dbd598a9a35f9a6ed79f68d700b341b58cd5c4f5
Add GetProperty function
The GetProperty method is needed for Chrome 91, because the behavior of GetAttribute has changed. Issue: https://github.com/tebeka/selenium/issues/248 This pull request also fixes the formatting in `selenium_test.go`
diff --git a/internal/seleniumtest/seleniumtest.go b/internal/seleniumtest/seleniumtest.go index e225928..f02ca85 100644 --- a/internal/seleniumtest/seleniumtest.go +++ b/internal/seleniumtest/seleniumtest.go @@ -155,6 +155,8 @@ func RunCommonTests(t *testing.T, c Config) { t.Run("IsSelected", runTest(testIsSelected,...
3
3
2
[{"id": "G0", "claim": "The new GetProperty doc comment is indistinguishable from GetAttribute's and says it returns an attribute, so the reviewer asks that the two methods' comments be differentiated.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":...
null
tebeka__selenium__49
tebeka/selenium
49
defect
74049c452b046a52fad667fea1557a4873195d01
09f97e4011d10c28f7b2d91dd801b0a55feec1db
Make WebElement can be used as param of execScript
Make WebElement can be used as a parameter of execScript method. Related detail information, please see - [WebDriver Elements Section](https://www.w3.org/TR/webdriver/#elements) on W3C - Source code of org.openqa.selenium.remote.internal.WebElementToJsonConverter class of Java
diff --git a/remote.go b/remote.go index 62cebce..ffcfc3e 100644 --- a/remote.go +++ b/remote.go @@ -844,6 +844,14 @@ func (wd *remoteWD) SetAlertText(text string) error { } func (wd *remoteWD) execScriptRaw(script string, args []interface{}, suffix string) ([]byte, error) { + for index, value := range args { + if...
3
3
1
[{"id": "G0", "claim": "Simplify remoteWE.toMap to return a map literal instead of building the map with make and separate assignments.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a test that demonstrates a trivial script can make effecti...
null
tebeka__selenium__91
tebeka/selenium
91
defect
4adf11e6b4d1766e60690ab8453487eaf898d4cc
dc50884fa141248b18fe92eeb7d780a6c3b946fe
Explicit waits basic implementation
Explicit waits implementation for this binding. I've tested it with this example (this is slightly changed example from this library), check this out: ```go package main import ( "time" "fmt" "github.com/tebeka/selenium" ) func tillContentChange(wd selenium.WebDriver) (bool, error) { outputDiv, ...
diff --git a/remote.go b/remote.go index 96e977e..d870df6 100644 --- a/remote.go +++ b/remote.go @@ -44,6 +44,16 @@ var remoteErrors = map[int]string{ 32: "invalid selector", } +// Alias for a type that is passed as an argument for selenium.Wait +type Condition func(wd WebDriver) (bool, error) + +// Default pollin...
11
10
1
[{"id": "G0", "claim": "Put the two default constants (DefaultWaitInterval and DefaultWaitTimeout) into a single const block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Condition type's doc comment should start with the identifier's name...
null
techfort__LokiJS__529
techfort/LokiJS
529
defect
72b2c4abda70a9adc6a24fb0aa2e02cc0504016c
9621f3630782c3046d83f03db1458be1713fbc4b
Added support for throttlesave
Batch saveDatabase requests so we don't access disk so often and prevent an error with async callbacks saving and renaming the exported db. Note: I got all tests to pass but one. I need someone to run them and see if they can spot the issue. The errors come from the test:node execution and from the test.spec.js ...
diff --git a/spec/generic/persistence.spec.js b/spec/generic/persistence.spec.js index 40bf8a7c..d13a010c 100644 --- a/spec/generic/persistence.spec.js +++ b/spec/generic/persistence.spec.js @@ -236,18 +236,18 @@ describe('testing adapter functionality', function () { ddb.saveDatabase(function(err) { expect...
10
9
3
[{"id": "G0", "claim": "The initial implementation never calls the callbacks of saveDatabase requests that arrive while a save is already queued, so callers get no completion or error notification.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Beca...
null
techfort__LokiJS__710
techfort/LokiJS
710
defect
c3a5d0d5d2162c774199e25d3882c2a6464a0664
11b85222ead4bf62afa846b6205e0346d7c11a57
Precompile $regex filters recursively
`find({ "name": { $not: { $regex: '^S' }}})` would result in a "b.test is not a function" error, because $regex would not have been compiled.
diff --git a/src/lokijs.js b/src/lokijs.js index b021abd2..8a95368e 100644 --- a/src/lokijs.js +++ b/src/lokijs.js @@ -3328,15 +3328,28 @@ throw new Error('Do not know what you want to do.'); } - // for regex ops, precompile - if (operator === '$regex') { - if (Array.isArray(value)) {...
3
3
0
[{"id": "G0", "claim": "The precompile helper should be moved out of Resultset.prototype.find, because defining it there creates a new function object on every find() call, which is unnecessarily slow in JS engines that do not optimize that case.", "category": "performance", "verdict": "supported", "priority": "P2", "s...
null
teeworlds__teeworlds__2960
teeworlds/teeworlds
2,960
defect
e6f2c98993c5b250a9bbca15185c67c7ff3a750d
e4223b712f448c28a9b929e50464c47643175cf4
Add max_count parameter to str_utf8_stats
This will be used by the new text editing support to fix UTF8 inputs not being limited to the maximum number of characters (e.g. the name/clan input when adding a friend accepts ASCII-only names longer than otherwise supported, temporarily breaking the friend menu).
diff --git a/src/base/system.c b/src/base/system.c index 7199cb1701..d48c3fce36 100644 --- a/src/base/system.c +++ b/src/base/system.c @@ -2705,20 +2705,17 @@ void str_utf8_copy_num(char *dst, const char *src, int dst_size, int num) str_copy(dst, src, cursor < dst_size ? cursor+1 : dst_size); } -void str_utf8_stat...
1
1
0
[{"id": "G0", "claim": "The `*count >= max_count` check inside the loop body is redundant because count and max_count never change since the start check of the loop.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
tegnike__aituber-kit__399
tegnike/aituber-kit
399
defect
20967b3e5f0c2674fe670d838883fd94bb21ffa2
57c67437c5840397d273cbf34c5081b2a2e7c6ae
Devin/1748207756 add llm models
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **新機能** - 複数のAIサービス・モデルに対してマルチモーダル対応かどうかをより詳細に判定できるようになりました。 - 設定画面で新たに「lmstudio」と「ollama」用APIキーの入力欄を追加しました。 - **改善** - モデル選択やスライド変換などの機能で、AIサービスごとにマルチモーダル対応モデルを明確に区別するようになりました。 - 設定やメニュー画面のモバイル判定・UI表示の条件判定...
diff --git a/src/components/menu.tsx b/src/components/menu.tsx index de98092d3..445685c29 100644 --- a/src/components/menu.tsx +++ b/src/components/menu.tsx @@ -3,9 +3,7 @@ import { useTranslation } from 'react-i18next' import homeStore from '@/features/stores/home' import menuStore from '@/features/stores/menu' -i...
15
5
4
[{"id": "G0", "claim": "The multiline isMultiModalModel call in youtube.tsx fails Prettier formatting in CI and should be inlined to one line.", "category": "style", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The multiline isMultiModalModel call in slide.tsx's disabled prop...
null
teimurjan__blazediff__52
teimurjan/blazediff
52
defect
1ad2b500f0c28bad281ac25f2d648961140c7920
d6169b716b317f3280fd90dfd9e62249b276b14f
feat(release): distribute packages to JSR alongside NPM
## Summary - Dual-publish 10 TypeScript packages to JSR alongside the existing NPM release flow, via per-package `deno.json` + a root `deno.json` workspace. - Release workflow chains `pnpm run release` (NPM → Rust → JSR) — one command, no extra CI step. - `@blazediff/core-native` publishes as pure TS; its six platform...
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 45cb33c3..12205835 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,10 @@ jobs: release: name: Release runs-on: ubuntu-latest + permissions: + contents: write + id-token:...
5
3
1
[{"id": "G0", "claim": "The hard-coded JSR_PACKAGES list in scripts/sync-jsr-versions.js duplicates the package list in the root deno.json workspace and can drift over time, so consider deriving the list from the workspace config (or globbing packages/*/deno.json) to keep a single source of truth.", "category": "mainta...
null
tekaratzas__RustGPT__14
tekaratzas/RustGPT
14
defect
97ba6c9bb631f3918ffb1e2a4392f177150037dc
a71083ef7b37c136ee1779a05f6f171030b74a74
Feature/count total parameters
Added a count total parameters method to LLM. The methodology for the calculation was based off the following blog article by Michael Wornow: [Transformer Math (Part 1) - Counting Model Parameters](https://michaelwornow.net/2024/01/18/counting-params-in-transformer?utm_source=chatgpt.com). This was a great artic...
diff --git a/src/embeddings.rs b/src/embeddings.rs index 65f5f7ed..1d366855 100644 --- a/src/embeddings.rs +++ b/src/embeddings.rs @@ -134,4 +134,8 @@ impl Layer for Embeddings { // Return gradient to propagate further back grads.to_owned() } + + fn parameters(&self) -> usize { + self.t...
1
1
1
[{"id": "G0", "claim": "Counting total parameters in llm.rs from architecture constants and layer_type() string matching is a layering issue; a parameters() method should be added to the Layer trait so each layer reports its own count and llm.rs just sums the values.", "category": "design", "verdict": "supported", "pri...
null
tekaratzas__RustGPT__2
tekaratzas/RustGPT
2
defect
a4183dc8bbc653dd65d54779ba1f9cdd86e0c2b6
4c84326b0cefe8dfec278091db97be20e2335df3
Isolate data loading
Isolated data loading and later loading data from csv/json
diff --git a/Cargo.lock b/Cargo.lock index d62639fa..4219d18d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,45 +4,80 @@ version = 4 [[package]] name = "autocfg" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d...
6
6
0
[{"id": "G0", "claim": "The use statements inside the Dataset loader functions should be kept at the top of the file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The chain of iterators passed inline to llm.train should be stored in a variable...
null
tektoncd__cli__1117
tektoncd/cli
1,117
defect
c17189bda12012ae9a3d5f9fa60cb9e23b22b38f
ef445abe5c6aee463fdc1bce24d8775ce74112b9
Fix the display of 0 Value for Timeout with tkn tr/pr describe
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes <!-- Describe your changes here- ideally you can get that description straight from your descriptive commit message(s)! --> Fixes #1106. The pull request fixes the display of 0 Value for Timeout with `tkn tr/pr describe` by removing the description o...
diff --git a/pkg/cmd/pipelinerun/describe_test.go b/pkg/cmd/pipelinerun/describe_test.go index 2fb8fd34c6..56e0656fc0 100644 --- a/pkg/cmd/pipelinerun/describe_test.go +++ b/pkg/cmd/pipelinerun/describe_test.go @@ -1735,3 +1735,41 @@ func TestPipelineRunDescribe_v1beta1_with_results(t *testing.T) { } golden.Assert(...
1
1
1
[{"id": "G0", "claim": "Unit tests should be added for both the tkn tr desc and tkn pr desc cases of the 0-timeout display change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
tektoncd__cli__1241
tektoncd/cli
1,241
defect
91cb887d56654b043aaa3dc5603a5bb01e09d405
c26cb98d050093366b9f380fbc380b14c8942c6b
Add --all-namespaces flag to tkn condition list command
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes This PR adds support for `--all-namespaces` flag for `tkn condition list` command as mentioned in issue #785. <!-- Describe your changes here- ideally you can get that description straight from your descriptive commit message(s)! --> # Submitter Checkl...
diff --git a/docs/cmd/tkn_condition_list.md b/docs/cmd/tkn_condition_list.md index 1f3f733dd2..8ec88d6ac9 100644 --- a/docs/cmd/tkn_condition_list.md +++ b/docs/cmd/tkn_condition_list.md @@ -17,6 +17,7 @@ Lists Conditions in a namespace ### Options ``` + -A, --all-namespaces list Conditions from all...
1
1
0
[{"id": "G0", "claim": "The stray test-data pattern comments in the test (\"// Testdata patterne\" and \"// Testdata pattern4.\") can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
tektoncd__cli__1353
tektoncd/cli
1,353
defect
d5a5cbf5de83adff49eac468c221025e3d09b91f
bdff7757eeb04600e867265c0cc2352dce763c82
Auto-select EventListener in describe if only one is present
# Changes - When only one EventListener is present on the cluster then it should be auto-selected when executing the `eventlistener describe` command. - When there are more than one EventListener then user will get an interactive option to select and describe it. - Created a package `pkg/eventlistener/eventl...
diff --git a/pkg/cmd/eventlistener/describe.go b/pkg/cmd/eventlistener/describe.go index 82cd25f698..9a4b327ec7 100644 --- a/pkg/cmd/eventlistener/describe.go +++ b/pkg/cmd/eventlistener/describe.go @@ -25,7 +25,9 @@ import ( "github.com/spf13/cobra" "github.com/tektoncd/cli/pkg/cli" + "github.com/tektoncd/cli/pk...
1
1
1
[{"id": "G0", "claim": "In the new TestEventListener_List test the body should call the package's List function instead of GetAllEventListenerNames, since the test is meant to exercise List.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
tektoncd__cli__1359
tektoncd/cli
1,359
defect
29e3aa819e421b94acecfa8dea096b6f4f8e82e7
cf50c378b1979a7d1bf59987acf06d483232b07d
Add create command for task and clustertask
# Changes Since `Task` and `ClusterTask` shares the same spec, there can be a usecase where user want to convert the Task to ClusterTask which they have built so that it can be used ClusterWide. In this PR:- - Add an create subcommand for `task` which can be executed as:- `tkn task create tname --from-cluste...
diff --git a/docs/cmd/tkn_clustertask.md b/docs/cmd/tkn_clustertask.md index 0c37a5ad3c..0ff308d484 100644 --- a/docs/cmd/tkn_clustertask.md +++ b/docs/cmd/tkn_clustertask.md @@ -26,6 +26,7 @@ Manage ClusterTasks ### SEE ALSO * [tkn](tkn.md) - CLI for tekton pipelines +* [tkn clustertask create](tkn_clustertask_cr...
9
7
1
[{"id": "G0", "claim": "The patch deviates from the workgroup recommendation in tektoncd/cli#642: its command creates a new ClusterTask and deletes the existing Task from the namespace, and the reviewer questions whether deleting the Task is really needed in this use case.", "category": "design", "verdict": "supported"...
null
tektoncd__cli__1532
tektoncd/cli
1,532
defect
068ec1a9a57b47deebea60d4dcdcefbbab0d06ba
a3a49986352804057091f07a382c7997237c73ad
fix error while deleting pr without status
Issue: tkn gives nil pointer error while deleting a pr which do not have status.condition with `--ignore-running` flag This fixes the issue by put a check before checking condition and avoid deleting the resource with `--ignore-running` flag Signed-off-by: Pradeep Kumar <pradkuma@redhat.com> <!-- 🎉🎉🎉 Tha...
diff --git a/pkg/cmd/pipelinerun/delete.go b/pkg/cmd/pipelinerun/delete.go index e017a1190c..e549d2a511 100644 --- a/pkg/cmd/pipelinerun/delete.go +++ b/pkg/cmd/pipelinerun/delete.go @@ -259,6 +259,9 @@ func allPipelineRunNames(cs *cli.Clients, keep, since int, ignoreRunning bool, l if ignoreRunning { var pipeline...
2
1
1
[{"id": "G0", "claim": "Unit tests should be added for the pull request's new handling of PipelineRuns whose Status.Conditions are nil.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "Skipping only PipelineRuns whose Status.Conditions are nil is not enou...
null
tektoncd__cli__1533
tektoncd/cli
1,533
defect
068ec1a9a57b47deebea60d4dcdcefbbab0d06ba
e9f5a5bc22d7d56386630014f5c48036ef29fb5b
Support --keep and --keep-since together in tr/pr delete
While deleting a TaskRun/PipelineRun, this adds support of using --keep and --keep-since together. Also fix pipelineRun/Taskrun deletion when few pr/tr is in running state and `--keep-since` is used along with `--ignore-running=false` Closes: #1471 #1552 Signed-off-by: divyansh42 <diagrawa@redhat.com> <!--...
diff --git a/pkg/cmd/taskrun/delete.go b/pkg/cmd/taskrun/delete.go index 3bbb26fbd6..01c184e223 100644 --- a/pkg/cmd/taskrun/delete.go +++ b/pkg/cmd/taskrun/delete.go @@ -106,6 +106,10 @@ or opts.ParentResourceName = deleteOpts.TaskName } + if opts.Keep < 0 && opts.KeepSince < 0 { + return fmt.Errorf("k...
2
2
0
[{"id": "G0", "claim": "The new error message should say \"keep and keep-since option should not be lower than 0\" instead of \"keep and since option should not be lower than 0\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The v1alpha1 TaskRun...
null
tektoncd__cli__1601
tektoncd/cli
1,601
defect
b7f7bbeb9f292d49bf740581ebcf2e22aa3a3eb6
d0c92278c8b6bc7d68bc1acbf548d1121d745349
Show Timeouts in PipelineRun describe cmd and deprecate Timeout
# Changes With TEP-0046 a new section of timeouts was introduced and existing timeout field was deprecated. Existing `tkn pr describe` command shows only the timeout field. This PR adds support to show the timeouts in the describe command of PipelineRun. This PR also deprecates the existing Timeout section whi...
diff --git a/pkg/cmd/pipelinerun/describe_test.go b/pkg/cmd/pipelinerun/describe_test.go index 76f47481b3..d2bfe3b821 100644 --- a/pkg/cmd/pipelinerun/describe_test.go +++ b/pkg/cmd/pipelinerun/describe_test.go @@ -2697,3 +2697,196 @@ func TestPipelineRunDescribe_cancelled_pipelinerun_multiple_taskrun(t *testing.T } ...
3
2
0
[{"id": "G0", "claim": "The describe output now shows the deprecated timeout as `Timeout(Deprecated)`; the author asks whether to keep that label or revert to the plain `Timeout`.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added template helper f...
null
tektoncd__cli__346
tektoncd/cli
346
defect
d2515607e3238b785a234b493f7f1682ded5b0da
f29b6ef6551f4d8f1bcb8f31790914c5e3153b4a
Add delete condition command
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes Add deleting the condition feature for https://github.com/tektoncd/cli/issues/341. # Submitter Checklist These are the criteria that every PR should meet, please check them off as you review them: - [ ] Includes [tests](https://github.com/tektoncd/c...
diff --git a/docs/cmd/tkn_condition.md b/docs/cmd/tkn_condition.md index 2cf505f8a8..2ae9d3102f 100644 --- a/docs/cmd/tkn_condition.md +++ b/docs/cmd/tkn_condition.md @@ -20,5 +20,6 @@ Manage conditions ### SEE ALSO * [tkn](tkn.md) - CLI for tekton pipelines +* [tkn condition delete](tkn_condition_delete.md) - De...
3
3
0
[{"id": "G0", "claim": "The delete-confirmation logic (checkOptions) should be extracted into its own package, since more than one command will need it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "As a follow-up, the new CheckDeleteOptions helper shou...
null
tektoncd__cli__419
tektoncd/cli
419
defect
78d07aacffd33c104391b3841027b293bf52e554
6f44ca7f58e0ee16894fbe764c086c6597a0d416
Modify delete command to using delete options
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes This is a refactoring PR for delete commands. Related issue https://github.com/tektoncd/cli/issues/390 # Submitter Checklist These are the criteria that every PR should meet, please check them off as you review them: - [ ] Includes [tests](https://...
diff --git a/pkg/cmd/clustertask/delete.go b/pkg/cmd/clustertask/delete.go index ab6f573299..cd52ba320f 100644 --- a/pkg/cmd/clustertask/delete.go +++ b/pkg/cmd/clustertask/delete.go @@ -15,23 +15,18 @@ package clustertask import ( - "bufio" "fmt" - "strings" "github.com/spf13/cobra" "github.com/tektoncd/cl...
2
2
1
[{"id": "G0", "claim": "The old deleteOptions struct left in pkg/cmd/pipelinerun/delete.go is unused dead code and must be removed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "As a follow-up, explicit tests for pkg/helper/options/options.go would...
null
tektoncd__dashboard__2909
tektoncd/dashboard
2,909
defect
eb63f1b26a3535c429b7dfca0f179004e2518a73
4e0cb638e28fb997292dcd3ffb7fbd9717ece1bb
Send start and completion time to external logs proxy
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes <!-- Describe your changes here- ideally you can get that description straight from your descriptive commit message(s)! --> Fixes https://github.com/tektoncd/dashboard/issues/2908 Include the `startTime` and `completionTime` of the TaskRun when callin...
diff --git a/src/api/index.js b/src/api/index.js index d238d01c1e..ca6199de54 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -185,9 +185,19 @@ export function getExternalLogURL({ container, externalLogsURL, namespace, - podName + podName, + startTime, + completionTime }) { - return `${externalLo...
3
3
0
[{"id": "G0", "claim": "Keep the destructured parameters of getExternalLogURL sorted alphabetically, with the new params placed above `container`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use URLSearchParams to build the query string inste...
null
tektoncd__dashboard__3334
tektoncd/dashboard
3,334
defect
312f1e2091063c5dcab2406e2d154c6e7a9e6ee8
da942f0e694db922d2695181d113db805b28c52a
Add support for configuring default namespace
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes <!-- Describe your changes here- ideally you can get that description straight from your descriptive commit message(s)! --> Resolves https://github.com/tektoncd/dashboard/issues/3297 When the Dashboard deployment's `--default-namespace` arg is set, this...
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go index f2114e466b..042a8cfc30 100644 --- a/cmd/dashboard/main.go +++ b/cmd/dashboard/main.go @@ -34,12 +34,13 @@ var ( kubeConfigPath = flag.String("kube-config", "", "Path to kube config file") portNumber = flag.Int("port", 8080, "Dashboard port...
2
2
0
[{"id": "G0", "claim": "The 'All Namespaces' wording in the --default-namespace flag help string in cmd/dashboard/main.go should be wrapped in single quotes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'All Namespaces' wording in the --defa...
null
tektoncd__dashboard__4297
tektoncd/dashboard
4,297
defect
e54c5c9d6ca1cfdc78c6041b976e3e35f9602a30
1fa09cb08f20127e9ebf0b2d6a8c031105c9e116
show error notification for failed runs
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes show the error notification in the case of failed runs <img width="1483" height="376" alt="image" src="https://github.com/user-attachments/assets/86df61ff-cfd0-4b2a-9dc1-fb1cf6d7e91f" /> <img width="1465" height="353" alt="image" src="https://github.com/us...
diff --git a/packages/components/src/components/PipelineRun/PipelineRun.jsx b/packages/components/src/components/PipelineRun/PipelineRun.jsx index 7e014a7f61..fe83126175 100644 --- a/packages/components/src/components/PipelineRun/PipelineRun.jsx +++ b/packages/components/src/components/PipelineRun/PipelineRun.jsx @@ -8...
4
4
1
[{"id": "G0", "claim": "The error-notification title should be handled as two separate instances of intl.formatMessage, one per branch, instead of a single call whose id and defaultMessage are each chosen by a ternary.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"...
null
tektoncd__dashboard__4607
tektoncd/dashboard
4,607
defect
09765b4eada0b728c336699fc2ec1cbffed30756
c1f31a29ba6f784691b4325e84467f4cad031371
add scroll to top/bottom buttons to all pages
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes <!-- Describe your changes here- ideally you can get that description straight from your descriptive commit message(s)! --> Resolves https://github.com/tektoncd/dashboard/issues/4561 # Submitter Checklist As the author of this PR, please check off th...
diff --git a/packages/components/src/components/Log/Log.jsx b/packages/components/src/components/Log/Log.jsx index f26a0b139..3505b1d5b 100644 --- a/packages/components/src/components/Log/Log.jsx +++ b/packages/components/src/components/Log/Log.jsx @@ -13,17 +13,15 @@ limitations under the License. /* istanbul ignore ...
4
4
1
[{"id": "G0", "claim": "Use CSS logical properties (inset-inline-end/inset-block-end) instead of physical right/bottom for positioning the scroll buttons.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use the logical property inset-inline-end i...
null
tektoncd__dashboard__4826
tektoncd/dashboard
4,826
defect
c70f4cf3b8f9fc50816e66ac4efe1a16f6dbdb16
3895950975b6741cf3688c1907e86ba6a7af26bd
Fix browser back button not working on PipelineRun detail page
# Changes This fixes #4783. When a task is selected on the PipelineRun detail page, `TaskRunDetails` auto-sets the `view=logs` query param via a `useEffect`. This was pushing a new history entry each time, creating an infinite back-button loop: pressing back removed the param, which triggered the effect to re-ad...
diff --git a/packages/components/src/components/PipelineRun/PipelineRun.jsx b/packages/components/src/components/PipelineRun/PipelineRun.jsx index ef35ce7fd0..247004d29a 100644 --- a/packages/components/src/components/PipelineRun/PipelineRun.jsx +++ b/packages/components/src/components/PipelineRun/PipelineRun.jsx @@ -3...
2
2
1
[{"id": "G0", "claim": "Removing the auto-select onTaskSelected call from the PipelineRun component would be a breaking change for consumers since it is part of the component's API; it still needs to be called, probably from a useEffect instead of directly on render.", "category": "design", "verdict": "supported", "pri...
null
tektoncd__pipeline__3390
tektoncd/pipeline
3,390
defect
da7a7895f383723cceee5a4a243c8764929f3aa5
ebdb86dc3a053906027aa0d86c183beb97993cba
access execution status of any task in finally
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes Introducing a variable which can be used to access the execution status of any `pipelineTask` in a `pipeline`. This can be used in any `finally` task (and limited to `finally` tasks for the first iteration). Use `$(tasks.<pipelineTask>.status)` as param ...
diff --git a/docs/pipelines.md b/docs/pipelines.md index bb38fa97bc3..58f408e562b 100644 --- a/docs/pipelines.md +++ b/docs/pipelines.md @@ -731,6 +731,42 @@ Overall, `PipelineRun` state transitioning is explained below for respective sce Please refer to the [table](pipelineruns.md#monitoring-execution-status) under M...
4
4
1
[{"id": "G0", "claim": "The example's finally task should fail if the reported execution status isn't what the example expects, so a future bug would be caught.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The design (mapping execution states to a sta...
null
tektoncd__pipeline__6889
tektoncd/pipeline
6,889
defect
95863061aa91033ca5562d7778bf3e364e0b51d8
1e913d297322201361968224220cb2fd2685795c
[TEP-0137] Restructure customrun event controller
# Dependencies: - [x] #6883 - [x] #6884 Once dependencies are merged, the PR will contain 1 commit only # Changes [TEP-0137] Restructure customrun event controller The events controllers for different resources (CustomRun, TaskRun and PipelineRun) will be almost identical, with only the resource type ...
diff --git a/cmd/controller/main.go b/cmd/controller/main.go index aa80e20387d..1d16850027e 100644 --- a/cmd/controller/main.go +++ b/cmd/controller/main.go @@ -26,7 +26,6 @@ import ( "github.com/tektoncd/pipeline/pkg/apis/pipeline" "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1" - "github.com/tektoncd/p...
11
11
0
[{"id": "G0", "claim": "The generated docs/pipeline-api.md section documenting RunObjectWithRetries (misprinted as \"RunObject is implemented by Run and CustomRun\") should be deleted.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The IsSuccessfu...
null
tektoncd__pipeline__7407
tektoncd/pipeline
7,407
defect
89ac5c2cbfeb8cd664de9db9ddd80f32698eb30e
e7c0f6aea6138463e7edb2eebdcb95b256189083
don't return validation error when final tasks failed/skipped
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes This commit closes #6139, in previous fix PR: https://github.com/tektoncd/pipeline/pull/6395, only dagTasks statuses are considered and final tasks are missing. This PR fixes this. /kind bug Signed-off-by: Yongxuan Zhang yongxuanzhang@google.com ...
diff --git a/examples/v1/pipelineruns/6139-regression.yaml b/examples/v1/pipelineruns/6139-regression.yaml index 0d9baf321f1..4fc16c0ed1a 100644 --- a/examples/v1/pipelineruns/6139-regression.yaml +++ b/examples/v1/pipelineruns/6139-regression.yaml @@ -7,6 +7,8 @@ spec: params: - name: say-hello de...
3
1
0
[{"id": "G0", "claim": "Add a doc string for the new GetPipelineFinalTaskStatus function.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Refactor GetPipelineFinalTaskStatus because its code is very similar to GetPipelineTaskStatus.", "category": "...
null
tektoncd__pipeline__7460
tektoncd/pipeline
7,460
defect
a1792269bf91f3e44924be6a9d92b4241c12c238
42f08477d20bf22ea35b2a9a5bab17e152a0a1f6
change ResultRef.ResultsIndex from int to *int
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes This commit closes #7392. When we introduced array results, we added validation funciton to check if the result reference is out of the array bound, in the cases of refercing a whole array and that array is empty, the resolved array index is 0, so the validat...
diff --git a/examples/v1/pipelineruns/beta/7392-regression.yaml b/examples/v1/pipelineruns/beta/7392-regression.yaml new file mode 100644 index 00000000000..c15369ffdc0 --- /dev/null +++ b/examples/v1/pipelineruns/beta/7392-regression.yaml @@ -0,0 +1,51 @@ +apiVersion: tekton.dev/v1 +kind: Task +metadata: + name: task...
2
2
0
[{"id": "G0", "claim": "The parseExpression docstring should clarify what the Result[*] example's output means (the reviewer read it as possibly the case of referencing an empty array).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There should b...
null
tektoncd__pipeline__7722
tektoncd/pipeline
7,722
defect
a9d8a9b1c7459b64190bd0f73014cee6e56e2df1
c600657179f46f92e6e7bbf6ede64e41da16c653
fix: avoid panic when used pipelineRef or pipelineSpec in pipeline task
fix #7720 This issue has been present since v0.52 https://github.com/tektoncd/pipeline/commit/61501916eae6f682cadf422134724304b0019ba8 Currently, the `pipelineRef` and `pipelineSpec` are only in preview mode and not yet supported. If a user has configured this field and enabled alpha features, it might bypass va...
diff --git a/pkg/reconciler/pipelinerun/resources/pipelinerunresolution.go b/pkg/reconciler/pipelinerun/resources/pipelinerunresolution.go index f6eaff52f7b..b55421e19e7 100644 --- a/pkg/reconciler/pipelinerun/resources/pipelinerunresolution.go +++ b/pkg/reconciler/pipelinerun/resources/pipelinerunresolution.go @@ -656...
1
1
0
[{"id": "G0", "claim": "The e2e integration-test job failed with a 403 expired-request error while resolving image references, which the author suspects is an environment or dependent-image issue rather than this change, and asks which repository to check.", "category": "testing", "verdict": "supported", "priority": "P...
null
tektoncd__pipeline__7887
tektoncd/pipeline
7,887
defect
de643de9d9958e346b6b54db68cb09995c2b485e
80a5b772f65dde7d919f4c06fe0e6f1da42bc802
fix: resolve pod creation failure on retry when using `workspace.<name>.volume`
fix #7886 Change the naming method of the workspace volume from completely random to hashed, ensuring that the name generated during a single taskRun lifecycle is consistent each time, and is unique within all current workspaces. This way, we can reuse the logic of retrieving the taskSpec from the status, and als...
diff --git a/pkg/reconciler/taskrun/resources/apply_test.go b/pkg/reconciler/taskrun/resources/apply_test.go index 6d657d8c20f..9601df0b4bf 100644 --- a/pkg/reconciler/taskrun/resources/apply_test.go +++ b/pkg/reconciler/taskrun/resources/apply_test.go @@ -1141,29 +1141,29 @@ func TestApplyWorkspaces(t *testing.T) { ...
2
1
0
[{"id": "G0", "claim": "GenerateHashedName has nothing specific to volumes or workspaces and could have lived in pkg/names instead of pkg/workspace.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Using GenerateHashedName with a different prefix and lengt...
null
tektoncd__pipeline__8024
tektoncd/pipeline
8,024
defect
7ac2ca6e92dc858cf7bc866066a72e8d0a789efe
68336fc53578516f33dd3aff5f22dff3fb2e9ed4
feat(matrix): Fix matrix param type mismatch problem for ref array result from customrun scenario
fix #8022 <!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes Adjust `resolveCustomResultRef` implementation in Tekton to handle array results from CustomRun tasks correctly. This change resolves a type mismatch issue when using array results as matrix parameters, ensuring compatibility and proper functi...
diff --git a/pkg/reconciler/pipelinerun/resources/resultrefresolution.go b/pkg/reconciler/pipelinerun/resources/resultrefresolution.go index 73d7f9cf29a..5fa2217072d 100644 --- a/pkg/reconciler/pipelinerun/resources/resultrefresolution.go +++ b/pkg/reconciler/pipelinerun/resources/resultrefresolution.go @@ -17,6 +17,7 ...
1
1
0
[{"id": "G0", "claim": "The test comparison in resultrefresolution_test.go should use `cmp` instead of `reflect.DeepEqual`, following the project's coding conventions.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
tektoncd__pipeline__8072
tektoncd/pipeline
8,072
defect
89ff1377c163e393473ab8e969ab553c12f91ceb
2ca940207c5370c1f0f51a5f5738f6701c722001
Fix error message when a PipelineRun param is missing
# Changes Closes #8062 Fix the error message that is thrown when a param is missing from being passed in a PipelineRun. 1. In case the pipelinerun is using a ref, the referenced pipeline entity's name would be used 2. Else, the pipeline entity name would be same as the pipelinerun's name. This is consistent wi...
diff --git a/pkg/reconciler/pipelinerun/pipelinerun.go b/pkg/reconciler/pipelinerun/pipelinerun.go index 2caea94bd0e..b1031e56550 100644 --- a/pkg/reconciler/pipelinerun/pipelinerun.go +++ b/pkg/reconciler/pipelinerun/pipelinerun.go @@ -489,8 +489,8 @@ func (c *Reconciler) reconcile(ctx context.Context, pr *v1.Pipeline...
1
1
0
[{"id": "G0", "claim": "The new missing-parameter message should include the Pipeline's namespace, since other flows like the type-mismatch message print it, and it is unclear whether that should be standardized.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
tektoncd__pipeline__8171
tektoncd/pipeline
8,171
defect
dd36119baf9247382675cece422157480ee8d404
652e718d168a6efda8b7eeab2792716e94584524
fix(taskrun): resolve issue with TaskRun not failing promptly after Pod OOM
fix #8170 When an OOM occurs in a Pod related to TaskRun, the TaskRun should be marked as failed immediately instead of waiting for it to timeout. This issue has been present in several recent LTS versions, including v0.53, v0.56, v0.59, and v0.62 <!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes ...
diff --git a/pkg/pod/status.go b/pkg/pod/status.go index d823f229f51..6354f9aaec1 100644 --- a/pkg/pod/status.go +++ b/pkg/pod/status.go @@ -125,7 +125,9 @@ func MakeTaskRunStatus(ctx context.Context, logger *zap.SugaredLogger, tr v1.Tas sortPodContainerStatuses(pod.Status.ContainerStatuses, pod.Spec.Containers) ...
2
1
0
[{"id": "G0", "claim": "The conditions in the complete expression could each be placed on their own line.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "DidTaskRunFail() already accounts for pod.Status.Phase == corev1.PodFailed, so the explicit ...
null
tektoncd__pipeline__8487
tektoncd/pipeline
8,487
defect
3bc3fab94678537df53fbc537fa0066855e27a14
d4c465d788bd229251f4c54776e1884c3d174f5e
fix: avoid fan out matrix task failed due to result ref
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> fix #8324 Continuing development based on this PR: https://github.com/tektoncd/pipeline/pull/8327 # Changes <!-- Describe your changes here- ideally you can get that description straight from your descriptive commit message(s)! --> # Submitter Checklist As ...
diff --git a/pkg/apis/pipeline/v1/matrix_types.go b/pkg/apis/pipeline/v1/matrix_types.go index f51a0ac4af4..17cdc65b29f 100644 --- a/pkg/apis/pipeline/v1/matrix_types.go +++ b/pkg/apis/pipeline/v1/matrix_types.go @@ -236,7 +236,9 @@ func (m *Matrix) countGeneratedCombinationsFromParams() int { } count := 1 for _,...
4
1
0
[{"id": "G0", "claim": "The newly supported usage of a matrix param whose string value holds a result reference ($(tasks...results.str[*])) might bypass the DefaultMaxMatrixCombinationsCount limit.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
tektoncd__pipeline__8603
tektoncd/pipeline
8,603
defect
aec465ee5898db53bbf26320408d40dca6e6e446
e365ea3db59718672ed5ce46491bad7322dbce81
cleanup: [TEP-0135] remove deprecated disable-affinity-assistant feature flag
fix #8587 This field has been deprecated for about a year and half. So this is "removing" this feature flag from the codebase. The field is kept in the go code to provide a backward compatibility for client code (like chains, …) but it will be disallowed by the webhook. It will also be completely ignore by the re...
diff --git a/config/config-feature-flags.yaml b/config/config-feature-flags.yaml index 0fbc9ecbd55..c1b3f387e8a 100644 --- a/config/config-feature-flags.yaml +++ b/config/config-feature-flags.yaml @@ -21,17 +21,6 @@ metadata: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-pipelines dat...
3
2
1
[{"id": "G0", "claim": "The sentence stating the Affinity Assistant modes were previously also controlled by the deprecated `disable-affinity-assistant` flag (removed after v0.68) should go into a note rather than the body text of docs/affinityassistants.md.", "category": "documentation", "verdict": "supported", "prior...
null
tektoncd__pipeline__8641
tektoncd/pipeline
8,641
defect
781c2800649e24e1c098daaad95eba4016b86def
9b08ee7840b201e0865db8f8b88725adf52973e9
fix: Fix remote task params default-value substitution
Fixes #8637 When substituting Params in a StepAction was initially implemented, the defaults were taken from the `TaskRun.Spec.TaskSpec.Params`. This works when the Task is defined in place, however if the TaskRun does not define the Task inline and instead references a remote Task from `TaskRun.Spec.TaskRef`, then ...
diff --git a/pkg/reconciler/taskrun/resources/taskref.go b/pkg/reconciler/taskrun/resources/taskref.go index 8b493cbf7e1..2a1e9d8ca9b 100644 --- a/pkg/reconciler/taskrun/resources/taskref.go +++ b/pkg/reconciler/taskrun/resources/taskref.go @@ -138,7 +138,7 @@ func GetTaskFunc(ctx context.Context, k8s kubernetes.Interf...
1
1
0
[{"id": "G0", "claim": "Add an example in the examples/ directory demonstrating this fix.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
tektoncd__pipeline__8685
tektoncd/pipeline
8,685
defect
6c1020d3e472188244d2da1837bc5c66c8d7e8d3
d8104b678063c46b93f909129c3c2baeeb2df9d6
Move Steps and Sidecars validation to `container_validation.go`.
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes Move step and sidecar validation functions with their call chain to `container_validation.go` and fix small typos. Create [ `validateSidecar`](https://github.com/tektoncd/pipeline/pull/8685/files#diff-b41c2729625c811236fb6518d146e398c9732a46a6df67651fa00...
diff --git a/pkg/apis/pipeline/v1/container_validation.go b/pkg/apis/pipeline/v1/container_validation.go index ec55189bc32..4450999604b 100644 --- a/pkg/apis/pipeline/v1/container_validation.go +++ b/pkg/apis/pipeline/v1/container_validation.go @@ -21,13 +21,29 @@ import ( "errors" "fmt" "regexp" + "slices" "st...
2
1
0
[{"id": "G0", "claim": "Asks whether the tests for the validation code moved into container_validation.go also have to be moved as well (e.g. into container_validation_test.go).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether the drop in tes...
null
tektoncd__pipeline__8996
tektoncd/pipeline
8,996
defect
8669ca1ac86d86ac6448dcf0a58e84dc98a154d0
8f5df0efc4d5daceb883a5742134fbcd394f74bd
accept featureFlags.EnableTektonOCIBundles to fix unknown field error
# Changes - fixes https://github.com/tektoncd/pipeline/issues/8359 - EnableTektonOCIBundles removed on https://github.com/tektoncd/pipeline/pull/7789/files#diff-43c816abe932bdd16552907bcaac8c510320e205a874f5ff04dea69553e1bc7cR187, and EnableTektonOCIBundles becomes unknown field, To fix this issue. EnableTektonOCIB...
diff --git a/config/300-crds/300-pipelinerun.yaml b/config/300-crds/300-pipelinerun.yaml index bd89cccf07f..bb755a64d34 100644 --- a/config/300-crds/300-pipelinerun.yaml +++ b/config/300-crds/300-pipelinerun.yaml @@ -2205,6 +2205,8 @@ spec: enableStepActions: descript...
2
1
0
[{"id": "G0", "claim": "The new DeprecatedEnableTektonOCIBundles field should carry an explanation comment and its yaml tag casing should be fixed to `enableTektonOCIBundles`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The field `ScopeWhenExpr...
null
tektoncd__pipeline__9011
tektoncd/pipeline
9,011
defect
0cb253c2ce96a075e0a5e64cd3441d3153a65e0f
c1731a20c00a65fb8d2c746f55afbbfedf047497
fix: allow finalizer updates on completed TaskRun and PipelineRuns
# Changes fixes #8824 the validation webhook was blocking all updates when PipelineRun.IsDone() returned true, preventing from clearing finalizers to make sure that we don't have old obj default drift we are adding a fast path check for spec equality and are normalizing the old spec with current defaults befo...
diff --git a/pkg/apis/pipeline/v1/pipelinerun_validation.go b/pkg/apis/pipeline/v1/pipelinerun_validation.go index ce1a7027d21..0848851b5e5 100644 --- a/pkg/apis/pipeline/v1/pipelinerun_validation.go +++ b/pkg/apis/pipeline/v1/pipelinerun_validation.go @@ -138,17 +138,32 @@ func (ps *PipelineRunSpec) ValidateUpdate(ctx...
1
1
1
[{"id": "G0", "claim": "TaskRun has the same finalizer-update restriction in its webhook validation and needs the same handling the pull request applies to PipelineRun.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
tektoncd__pipeline__9039
tektoncd/pipeline
9,039
defect
d97e81a331e2899d64fb65bfb4d06e7b0e00a0bd
bb65aa89487feb9ee1795f6165ab2f79a026db0c
fix(taskrun): ensure status steps are ordered correctly when using StepAction
# Context When a `TaskRun` references `StepActions`, `TaskRun.Status.Steps` is partially populated during resolution (to capture provenance). Later, pod-based status processing appends inline steps, which can result in `StepAction` steps being shown first and inline steps last, regardless of the real pod order. T...
diff --git a/pkg/pod/status.go b/pkg/pod/status.go index 357665bc715..2b6ea7b5d45 100644 --- a/pkg/pod/status.go +++ b/pkg/pod/status.go @@ -269,7 +269,8 @@ func setTaskRunStatusBasedOnStepStatus(ctx context.Context, logger *zap.SugaredL } // Continue with extraction of termination messages - for _, s := range st...
3
3
0
[{"id": "G0", "claim": "The provenance lookup in setTaskRunStatusBasedOnStepStatus should use a map instead of the nested loop over trs.Steps.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The updateTaskRunProvenance call for inline steps should ...
null
tektoncd__pipeline__9045
tektoncd/pipeline
9,045
defect
d97e81a331e2899d64fb65bfb4d06e7b0e00a0bd
cbab5ca2502aad87e3465c022dd9da028dce279e
fix: validate taskRef.apiVersion format for custom tasks
# Changes add validation to ensure taskRef.apiVersion follows the correct format (group/version) when specified. Previously, invalid apiVersion values like 'invalid-api-version' were accepted, causing PipelineRuns to create unhandled CustomRuns that would timeout. Now Pipeline creation fails immediately with a clear...
diff --git a/pkg/apis/pipeline/v1/pipeline_types_test.go b/pkg/apis/pipeline/v1/pipeline_types_test.go index f9e00a0213d..d97913425b7 100644 --- a/pkg/apis/pipeline/v1/pipeline_types_test.go +++ b/pkg/apis/pipeline/v1/pipeline_types_test.go @@ -483,6 +483,46 @@ func TestPipelineTask_ValidateCustomTask(t *testing.T) { ...
3
2
1
[{"id": "G0", "claim": "The two apiVersion-format validation blocks in validateCustomTask (taskRef and taskSpec) are a duplicated check and should be collapsed into one using a suggestion that keeps only the taskRef block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
tektoncd__pipeline__9141
tektoncd/pipeline
9,141
defect
55dcf3820332560612fc53819fe1db1ba58072e9
21c9a60f755454648746e3b62da6fe73fe41d48e
fix: update default tracing endpoint to http protobuf endpoint
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes currently the otel sdk is used to export metrics in the protobuf format, for the sake of consistency this commit makes sure that we use 4318 with /v1/traces as the default jaegar tracing endpoint use port 4318 with /v1/traces for the default jaegar tracin...
diff --git a/config/config-tracing.yaml b/config/config-tracing.yaml index 1dcefba4cbe..43273ae1c27 100644 --- a/config/config-tracing.yaml +++ b/config/config-tracing.yaml @@ -41,6 +41,6 @@ data: # # API endpoint to send the traces to # (optional): The default value is given below - endpoint: "http:/...
2
1
1
[{"id": "G0", "claim": "The reviewer asks whether ports 14268 and 4318 serve different purposes rather than one superseding the other, questioning whether the new OTLP endpoint is a correct replacement for the old Jaeger collector endpoint.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "...
null
tektoncd__pipeline__9143
tektoncd/pipeline
9,143
defect
5fb1bf06de7ff6ef639e202ebc58e69f1243aaec
57888910fc2ffeb847952a6e8921dc615a9c6209
Fix: Add useHttpPath to support multiple Git credentials on same host
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes <!-- Describe your changes here- ideally you can get that description straight from your descriptive commit message(s)! --> This PR fixes a bug where multiple Git repositories on the same host could not use different credentials. When users linked multiple...
diff --git a/pkg/credentials/gitcreds/basic.go b/pkg/credentials/gitcreds/basic.go index 7c56d137633..9075e4295de 100644 --- a/pkg/credentials/gitcreds/basic.go +++ b/pkg/credentials/gitcreds/basic.go @@ -110,7 +110,10 @@ type basicEntry struct { } func (be *basicEntry) configBlurb(u string) string { - return fmt.S...
4
4
4
[{"id": "G0", "claim": "Adding useHttpPath = true to every credential entry would break the existing behavior when one secret is authorized on multiple repositories, so it should only be set when appropriate (per the thread's agreed approach, only when the annotation URL includes a path).", "category": "correctness", "...
null
tektoncd__pipeline__9184
tektoncd/pipeline
9,184
defect
b1f8f6264a054593aa02d96812480478ba4cde20
1d9debfa084730c873cc33dc361cd50c3f006f60
fix: Populate step statuses before TaskRun timeout handling
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes This prevent some race condition where timeout fires before pod status fetch. TestTaskRunTimeout validates that steps are terminated, but it can be not populated from time to time (in my test 4/5 times out of 25). Fixes #731 This should reduce *a lot* flakes ...
diff --git a/pkg/reconciler/taskrun/taskrun.go b/pkg/reconciler/taskrun/taskrun.go index 27c8f852f79..5e37114d386 100644 --- a/pkg/reconciler/taskrun/taskrun.go +++ b/pkg/reconciler/taskrun/taskrun.go @@ -184,6 +184,11 @@ func (c *Reconciler) ReconcileKind(ctx context.Context, tr *v1.TaskRun) pkgrecon // Check if the...
1
1
1
[{"id": "G0", "claim": "A test should be added that would trigger the race condition the PR fixes, to verify the fix.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
tektoncd__pipeline__9197
tektoncd/pipeline
9,197
defect
ad5317e203c4600551b6e3b05bab484955766949
256002d712152f883e3c51deb68bbfa03d2b69c3
fix: Detect pod configuration errors early instead of timeout
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes <!-- Describe your changes here- ideally you can get that description straight from your descriptive commit message(s)! --> - Fail fast on missing ConfigMaps/Secrets used in env variables, using `valueFrom`, within seconds of detection - Show actionable...
diff --git a/pkg/apis/pipeline/v1/taskrun_types.go b/pkg/apis/pipeline/v1/taskrun_types.go index 2e36ecf3fc1..4ec6351d4a2 100644 --- a/pkg/apis/pipeline/v1/taskrun_types.go +++ b/pkg/apis/pipeline/v1/taskrun_types.go @@ -212,6 +212,10 @@ const ( TaskRunReasonResolvingStepActionRef = "ResolvingStepActionRef" // Task...
10
8
2
[{"id": "G0", "claim": "Because users may rely on a ConfigMap/Secret being provisioned around the same time as the run, the new fail-fast should have a configurable timeout or at least a configurable on/off switch.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
tektoncd__pipeline__9202
tektoncd/pipeline
9,202
defect
ad5317e203c4600551b6e3b05bab484955766949
661ed4ea26b62da6de31bd158bfa51f6d66feb05
fix: Prevent excessive reconciliation when timeout disabled
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes - Stop immediate requeue loops when default-timeout-minutes is "0" - Remove redundant hasCondition checks (Knative already deduplicates) This adds an e2e tests that looks at pipeline logs to see how much reconciler loop there is. If you run it before ...
diff --git a/pkg/reconciler/pipelinerun/pipelinerun.go b/pkg/reconciler/pipelinerun/pipelinerun.go index 259ce609e69..c02eb8258ad 100644 --- a/pkg/reconciler/pipelinerun/pipelinerun.go +++ b/pkg/reconciler/pipelinerun/pipelinerun.go @@ -25,7 +25,6 @@ import ( "reflect" "regexp" "strings" - "time" "k8s.io/apim...
6
4
1
[{"id": "G0", "claim": "The newly introduced timeout checks and the existing ones below are quite similar; keep the style consistent between them and use early returns so the code is easier to understand.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
tektoncd__pipeline__9227
tektoncd/pipeline
9,227
defect
51ddc9846c0dfc6eeb849d003071841d9b03df56
f0cc983228e2af3d8065e50a953d6b0b2f2aee5d
Add hostUsers field support to PodTemplate
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes <!-- Describe your changes here- ideally you can get that description straight from your descriptive commit message(s)! --> This PR adds support for the Kubernetes `hostUsers` field in Tekton's `PodTemplate`, enabling users to control whether TaskRun/Pipel...
diff --git a/config/300-crds/300-pipelinerun.yaml b/config/300-crds/300-pipelinerun.yaml index b99b9062dde..21a9eca5345 100644 --- a/config/300-crds/300-pipelinerun.yaml +++ b/config/300-crds/300-pipelinerun.yaml @@ -337,6 +337,18 @@ spec: hostNetwork: description: HostNetwor...
4
2
0
[{"id": "G0", "claim": "The HostUsers doc comment wrongly says the field is alpha-level; it should be clarified to say the field depends on the UserNamespacesSupport feature gate, which is enabled by default starting in kubernetes 1.33, and copy the 'more info' block.", "category": "documentation", "verdict": "supporte...
null
tektoncd__pipeline__9278
tektoncd/pipeline
9,278
defect
9a1835d0742235249e47aacdecf44767978cad46
22c432dbfb0e494c61e0a288af4297bcb193f4f7
feat: Add SHA-256 support for Git resolver revision validation
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes Added SHA-256 hash support to the Git resolver's `IsImmutable` method to future-proof for Git v3+, which uses SHA-256 commit hashes (64 characters) <!-- Describe your changes here- ideally you can get that description straight from your descriptive commit m...
diff --git a/pkg/remoteresolution/resolver/git/resolver.go b/pkg/remoteresolution/resolver/git/resolver.go index 4e410f53b80..44a90e19564 100644 --- a/pkg/remoteresolution/resolver/git/resolver.go +++ b/pkg/remoteresolution/resolver/git/resolver.go @@ -112,7 +112,7 @@ func (r *Resolver) Validate(ctx context.Context, re...
2
2
1
[{"id": "G0", "claim": "The manual character-by-character hex validation loop in IsImmutable could be dropped entirely and replaced with hex.DecodeString(revision) to check that the string is hexadecimal.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "...
null
tektoncd__pipeline__9282
tektoncd/pipeline
9,282
defect
9a1835d0742235249e47aacdecf44767978cad46
296d08346dd4ef9ba6f003182fa8f23c960486bd
fix: Align cache configstore with framework implementation
Remove the custom Config struct and NewConfigFromConfigMap function in the resolver cache package. Instead, use the standard map[string]string pattern and DataFromConfigMap from the resolution framework. This aligns the cache configuration handling with other Tekton resolvers for better consistency and maintainabili...
diff --git a/pkg/remoteresolution/resolver/framework/cache/configstore.go b/pkg/remoteresolution/resolver/framework/cache/configstore.go index d3c75475ab9..32752e8c2f2 100644 --- a/pkg/remoteresolution/resolver/framework/cache/configstore.go +++ b/pkg/remoteresolution/resolver/framework/cache/configstore.go @@ -23,8 +2...
2
2
0
[{"id": "G0", "claim": "Bring the unit tests together into one TestOnCacheConfigMapChanged which covers all the cases.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the release note, setting it to NONE, since this is not a user-facing ch...
null
tektoncd__pipeline__9295
tektoncd/pipeline
9,295
defect
bb030794808d2f525b746581b8ed53478d831c3a
6e759e22f654b109673f9bb9383152979578a647
fix(pipelinerun): fix the issue of massive invalid status updates caused by unordered arrays, which will greatly impact the resource load and stability of the apiserver.
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes We deployed Tekton/Pipeline in a full DevOps environment, creating/deleting approximately four million resources weekly. As business complexity grows, the cluster accumulates large PipelineRun objects (Child TaskRuns > 64), causing severe stability issues w...
diff --git a/pkg/reconciler/pipelinerun/pipelinerun.go b/pkg/reconciler/pipelinerun/pipelinerun.go index 1ca2ed0c598..dfbffa5718f 100644 --- a/pkg/reconciler/pipelinerun/pipelinerun.go +++ b/pkg/reconciler/pipelinerun/pipelinerun.go @@ -24,6 +24,7 @@ import ( "path/filepath" "reflect" "regexp" + "sort" "strings...
1
1
1
[{"id": "G0", "claim": "Remove cmpopts.SortSlices from pkg/reconciler/pipelinerun/pipelinerun_updatestatus_test.go, since with the PR's sorting of ChildReferences it is no longer needed and will act as a test mask.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
tektoncd__pipeline__9419
tektoncd/pipeline
9,419
defect
becdc2ac0cb5f328589e4d4923e79c81f0518f46
aac11ca22e3cd17891a89606f668943e4c5e53ef
fix: propagate PipelineRun tasks/finally timeout to child TaskRuns
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes When a PipelineRun specifies `spec.timeouts.tasks` (or `spec.timeouts.finally`) but no per-task timeout is set via `pipeline.spec.tasks[].timeout` or `pipelineRun.spec.taskRunSpecs[].timeout`, the created TaskRun/CustomRun receives no explicit timeout. The...
diff --git a/pkg/reconciler/pipelinerun/pipelinerun.go b/pkg/reconciler/pipelinerun/pipelinerun.go index dfbffa5718f..e417510b886 100644 --- a/pkg/reconciler/pipelinerun/pipelinerun.go +++ b/pkg/reconciler/pipelinerun/pipelinerun.go @@ -1172,6 +1172,8 @@ func (c *Reconciler) createTaskRun(ctx context.Context, taskRunNa...
4
3
0
[{"id": "G0", "claim": "Repurposing the PipelineRun-level timeouts.tasks field as a default timeout for each individual task looks wrong; consider using a dedicated default task timeout smaller than the overall pipeline timeout instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
tektoncd__pipeline__9464
tektoncd/pipeline
9,464
defect
838e536a53a1bd7d47e0cf1d0c156cabff4b14a6
6efc4fb8767b6ff28454f724d6893d241d8293a3
Add pending status support for TaskRun (parity with PipelineRun)
# Changes Adds **pending status** support for `TaskRun` to match the existing `PipelineRun` pending behavior. Fixes #9376. - Introduces `TaskRunPending` (`spec.status: TaskRunPending`) in both v1 and v1beta1 APIs. - Adds `TaskRunReasonPending` and an `IsPending()` helper. - Updates validation to: - Allow ...
diff --git a/docs/taskruns.md b/docs/taskruns.md index 5f24233f578..3de4800b2f2 100644 --- a/docs/taskruns.md +++ b/docs/taskruns.md @@ -34,6 +34,7 @@ weight: 202 - [Monitoring `Steps`](#monitoring-steps) - [Steps](#steps) - [Monitoring `Results`](#monitoring-results) +- [Pending `TaskRun`s](#pending-tas...
3
2
0
[{"id": "G0", "claim": "The pending check may be placed after prepare() and the HasTimedOut check in ReconcileKind, so pending TaskRuns would run the full prepare path on every resync; the reviewer asks whether it should be moved earlier as in pipelinerun.go.", "category": "performance", "verdict": "opposed", "priority...
null
tektoncd__pipeline__9485
tektoncd/pipeline
9,485
defect
42a6789865cce80c61fc6318cba4e3fd40a7ec65
52336950aead71f6fcf93aae73ae31fbd4fa97d0
Fix running_taskruns metric overcounting TaskRuns with no condition
Replace !tr.IsDone() with an explicit nil + ConditionUnknown check so that newly created TaskRuns (before their first reconcile) are no longer counted as running. This aligns with the pipelinerunmetrics behavior and eliminates the inconsistency where sub-metrics were gated on ConditionUnknown while the top-level count ...
diff --git a/pkg/taskrunmetrics/metrics.go b/pkg/taskrunmetrics/metrics.go index 2ed48a2883f..b2682992bb9 100644 --- a/pkg/taskrunmetrics/metrics.go +++ b/pkg/taskrunmetrics/metrics.go @@ -326,25 +326,25 @@ func (r *Recorder) observeRunningTaskRuns(ctx context.Context, o metric.Observer var trsWaitResolvingTaskRef in...
2
2
0
[{"id": "G0", "claim": "The pull request has no release-note entry; @bot4us is asked to update the RN (release notes) for this change.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "pipelinerunmetrics has the same latent bug: succeedCondition.IsUn...
null
tektoncd__pipeline__9528
tektoncd/pipeline
9,528
defect
bf12c8d1fe09f345659b419b0233345e7490c2bc
3741246ae627d0a24ff884e81c6bf46397c3280d
fix: use hashed volume names to prevent credential volume name collisions
# Changes When a namespace has many (118+) secrets annotated for Tekton credential injection, the generated volume names could collide because the naming scheme didn't guarantee uniqueness for secrets with similar prefixes. The old scheme sanitized the secret name, prepended a fixed prefix, then truncated to 57 chara...
diff --git a/pkg/pod/creds_init.go b/pkg/pod/creds_init.go index c40674cf56f..977d5d528c8 100644 --- a/pkg/pod/creds_init.go +++ b/pkg/pod/creds_init.go @@ -20,7 +20,6 @@ import ( "context" "errors" "fmt" - "regexp" "strings" "github.com/tektoncd/pipeline/pkg/apis/config" @@ -40,12 +39,12 @@ import ( ) ...
4
2
0
[{"id": "G0", "claim": "The credential volume name prefix constant should be made much smaller, to leave more room for the rest of the volume name.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "credentialVolumeNameHashLength should be set to a higher va...
null
tektoncd__pipeline__9529
tektoncd/pipeline
9,529
defect
cf5b657450ba625825442721bc85c7249d78a7ee
4873724a0ed00ea68bffa8ba9cb52b78044c99ef
fix: surface clear errors when completed tasks miss referenced results
# Changes When a PipelineTask references results from a completed task that didn't emit those results, the referencing task was silently marked as "ValidationFailed" with a generic count-only message. Users had no indication of which result was missing from which task, and no Kubernetes Warning event was emitted (unli...
diff --git a/pkg/reconciler/pipelinerun/pipelinerun.go b/pkg/reconciler/pipelinerun/pipelinerun.go index 41e062b0999..3ce4ebf6317 100644 --- a/pkg/reconciler/pipelinerun/pipelinerun.go +++ b/pkg/reconciler/pipelinerun/pipelinerun.go @@ -920,14 +920,26 @@ func (c *Reconciler) runNextSchedulableTask(ctx context.Context, ...
3
3
2
[{"id": "G0", "claim": "Iterating over the map[string]string facts.ValidationFailedErrors produces non-deterministic ordering, so the status condition message varies between reconciliation loops, causing status churn and order-dependent test assertions; the keys should be sorted before building the message.", "category...
null
tektoncd__pipeline__9530
tektoncd/pipeline
9,530
defect
bf12c8d1fe09f345659b419b0233345e7490c2bc
301c6083d6c0c29c1397215687b2db52177ee770
fix: convert pod latency metric to histogram and remove pod label
# Changes The `tekton_pipelines_controller_taskruns_pod_latency_milliseconds` metric was a `Float64Gauge` which cannot be used with Prometheus `rate()` or `histogram_quantile()`. The hardcoded `pod` label created a unique time series per TaskRun, causing 1.2M+ active series on large clusters and Prometheus scrape time...
diff --git a/pkg/taskrunmetrics/metrics.go b/pkg/taskrunmetrics/metrics.go index 2ed48a2883f..699f2955be5 100644 --- a/pkg/taskrunmetrics/metrics.go +++ b/pkg/taskrunmetrics/metrics.go @@ -59,7 +59,7 @@ type Recorder struct { runningTRsWaitingOnTaskResolutionGauge metric.Int64ObservableGauge runningTRsThrottledByQu...
1
1
0
[{"id": "G0", "claim": "The new pod latency histogram metric should also be added to the documentation in docs/metrics.md.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
tektoncd__pipeline__9594
tektoncd/pipeline
9,594
defect
cf5b657450ba625825442721bc85c7249d78a7ee
f18e86fba7eac24281c298d1885e1ec840216e8a
fix: replace silent "default" namespace fallback with explicit error in GetNameAndNamespace
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes - Replace the silent `"default"` namespace fallback in `GetNameAndNamespace` with an explicit error. The fallback is dead code in production (all callers provide a namespace via the owning TaskRun/PipelineRun), but if ever reached it would silently create a Res...
diff --git a/pkg/resolution/resource/name.go b/pkg/resolution/resource/name.go index dd025937761..032314ac7f2 100644 --- a/pkg/resolution/resource/name.go +++ b/pkg/resolution/resource/name.go @@ -50,7 +50,8 @@ func GenerateDeterministicName(prefix, base string, params v1.Params) (string, e } // GetNameAndNamespace...
3
3
1
[{"id": "G0", "claim": "The doc comment on GetNameAndNamespace is misleading about the fallback behaviour, and the name and namespace fallbacks should be separated so that an empty namespace falls back to the owning object's namespace before an error is returned.", "category": "documentation", "verdict": "supported", "...
null
tektoncd__pipeline__9596
tektoncd/pipeline
9,596
defect
22c300ce75f773b8b6b7fea20a9e84bfcc7cee2d
2fe5408c542ae2cbcde4444a916d37a0d27a2691
Extract memberOfLookup from createChildResourceLabels to reduce nested loop
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes This PR resolves [#9575](https://github.com/tektoncd/pipeline/issues/9575) by implementing the logic to propagate the tekton.dev/memberOf label from a PipelineRun to its child resources (TaskRun/CustomRun/PipelineRun). It adds a helper function in `pkg...
diff --git a/pkg/reconciler/pipelinerun/pipelinerun.go b/pkg/reconciler/pipelinerun/pipelinerun.go index 4a6243fe3b5..e511b6b04fd 100644 --- a/pkg/reconciler/pipelinerun/pipelinerun.go +++ b/pkg/reconciler/pipelinerun/pipelinerun.go @@ -1622,23 +1622,26 @@ func createChildResourceLabels(pr *v1.PipelineRun, pipelineTask...
3
2
1
[{"id": "G0", "claim": "Would it be ok to include a unit test for the new memberOfLookup function?", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The newly added functions violate formatting: there should be a blank line gap between function declaration...
null
tektoncd__pipeline__9600
tektoncd/pipeline
9,600
defect
cf5b657450ba625825442721bc85c7249d78a7ee
333fe6223ca576f8fa55774198b13761052d6c63
fix: make step-init symlink creation idempotent
# Changes When a container restarts within a pod (OOM, eviction, kubelet restart), the entrypoint's `step-init` subcommand runs again but the symlinks it created during the previous run still exist on the shared emptyDir volume. `os.Symlink` fails with "file exists", producing: ``` init error: symlink /tekton/run/0/s...
diff --git a/cmd/entrypoint/subcommands/init_test.go b/cmd/entrypoint/subcommands/init_test.go index 65ec6ba4b28..84477987933 100644 --- a/cmd/entrypoint/subcommands/init_test.go +++ b/cmd/entrypoint/subcommands/init_test.go @@ -64,6 +64,12 @@ func TestEntrypointInit(t *testing.T) { t.Errorf("expected permissions <=...
2
2
1
[{"id": "G0", "claim": "stepInit should check errors with os.IsExist/os.IsNotExist(err) instead of errors.Is(err, os.ErrNotExist), because the os.Is* functions also account for some syscall errors.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
tektoncd__pipeline__9677
tektoncd/pipeline
9,677
defect
5b6ec37a10cb5df6a39d7589ecbc576c67a5241a
bcc62318ca5a800abdd8f1d9ea4c6b8742b3c99a
[TEP-0137] Move PipelineRun notifications to events controller
# Dependencies (stacked): - [x] #9674 - [x] #6914 - [x] #6889 Once the dependency is merged, the PR will contain 1 commit only. # Future PRs - [ ] Deprecate `send-cloudevents-for-runs` config flag - [ ] Add `formats` to `config-events`, in preparation for additional event formats - [ ] Add CDEvents supp...
diff --git a/cmd/events/main.go b/cmd/events/main.go index b55ae41d8a7..89bcc7ed71a 100644 --- a/cmd/events/main.go +++ b/cmd/events/main.go @@ -22,6 +22,7 @@ import ( "os" "github.com/tektoncd/pipeline/pkg/reconciler/notifications/customrun" + "github.com/tektoncd/pipeline/pkg/reconciler/notifications/pipelineru...
1
1
0
[{"id": "G0", "claim": "The TestEmit test does not need to use a table-driven test structure anymore.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
tektoncd__pipeline__9681
tektoncd/pipeline
9,681
defect
1b4a94556e39c114bf8ebc698b53aa5aaaf194ca
5cca2935843685c5c38e604106518810a47ee693
test: add e2e test for TaskRun pending status
<!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> # Changes Add `TestTaskRunPending` e2e test that mirrors the existing `TestPipelineRunPending` test for PipelineRun (#9464). The test verifies the full lifecycle: 1. Creates a TaskRun with `status: TaskRunPending` 2. Verifies it enters the Pending state with no StartTim...
diff --git a/test/taskrun_test.go b/test/taskrun_test.go index d7c1cac31e7..bce3643f8e6 100644 --- a/test/taskrun_test.go +++ b/test/taskrun_test.go @@ -708,3 +708,70 @@ spec: t.Fatalf("-got, +want: %v", d) } } + +// @test:execution=parallel +// TestTaskRunPending tests that a Pending TaskRun is not run until the...
2
2
0
[{"id": "G0", "claim": "The `@test:execution=parallel` annotation should be on the line immediately before `func TestTaskRunPending`, matching every other test in the file (and the TestPipelineRunPending convention), with the doc comment above the annotation.", "category": "maintainability", "verdict": "supported", "pr...
null
tektoncd__pipeline__9706
tektoncd/pipeline
9,706
defect
383d57b75e404e1f6f490ed62aba9d36a98a9ff6
f2b93fb25dd7eeebdfbff5cf719a6a8cfaac9d9f
perf: reduce reconcile churn for completed PipelineRuns
# Changes Three optimizations to minimize wasted work when reconciling PipelineRuns that are already done, addressing #9686. At scale (e.g., 14k completed PipelineRuns retained for dashboard visibility), every resync of a completed PipelineRun was performing unnecessary work: listing VerificationPolicies, resolving P...
diff --git a/pkg/reconciler/pipelinerun/pipelinerun.go b/pkg/reconciler/pipelinerun/pipelinerun.go index e2eb870ed1d..866a3dbd3f6 100644 --- a/pkg/reconciler/pipelinerun/pipelinerun.go +++ b/pkg/reconciler/pipelinerun/pipelinerun.go @@ -213,6 +213,18 @@ func (c *Reconciler) ReconcileKind(ctx context.Context, pr *v1.Pip...
1
1
1
[{"id": "G0", "claim": "For an LTS release it may be safer to keep the cheap SetDefaults(ctx) call on the completed-PipelineRun done path, as the TaskRun reconciler keeps it on its done path, since completed PipelineRuns from older controllers may lack defaults on the in-memory object — or, if diverging from the TaskRu...
null
tektoncd__pipeline__9774
tektoncd/pipeline
9,774
defect
033ce8e355b4f92214f797547277789fb94d993b
050b2dd7d5374e1d62bafd5253d3add051b189e3
[TEP-0137] Deprecate send-cloudevents-for-runs feature flag
# Dependencies (stacked): - [x] #9677 - [x] #9674 - [x] #6914 - [x] #6889 Once the dependency is merged, the PR will contain 1 commit only. # Future PRs - [ ] Add `formats` to `config-events`, in preparation for additional event formats - [ ] Add CDEvents support - [ ] Add Tekton v2 support (with v1 re...
diff --git a/config/config-feature-flags.yaml b/config/config-feature-flags.yaml index cd7ae32bb4e..e7bb8ea7bff 100644 --- a/config/config-feature-flags.yaml +++ b/config/config-feature-flags.yaml @@ -76,9 +76,11 @@ data: # Setting this flag will determine which gated features are enabled. # Acceptable values are...
5
3
0
[{"id": "G0", "claim": "The PR should explain why the feature is being deprecated instead of just defaulting send-cloudevents-for-runs to true, for example by describing the rationale in the PR description for historical purposes.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"},...
null
tektoncd__pipelines-as-code__1324
tektoncd/pipelines-as-code
1,324
defect
13aa6e597aa66011d5b496e9850e91e400610601
b3c3fbae9b499ac10c00609bc1a3621e03ff1273
Allow setting policies on actions
Policies is a new concept which let you allowing teams to do some actions and reject member who are not part of those teams. Current actions supported are `pull_request` and `ok_to_test` (more to come in the future) See the documentation attached to this PullRequest for more description on how to use this feat...
diff --git a/.tekton/doc.yaml b/.tekton/doc.yaml index 36e4d5b2a7..8ff738c111 100644 --- a/.tekton/doc.yaml +++ b/.tekton/doc.yaml @@ -40,7 +40,7 @@ spec: - name: source steps: - name: hugo-gen - image: registry.access.redhat.com/ubi9/python-311 # using this image since...
8
3
0
[{"id": "G0", "claim": "The doc comment on CheckPolicyAllowing is an incomplete sentence (\"check that policy is\") and should be completed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The doc title should read \"Policy on Pipelines as Code act...
null
tektoncd__pipelines-as-code__1492
tektoncd/pipelines-as-code
1,492
defect
7f0f4f0b153518ec32bb226214a8a9f3387135ef
7c0cbe764f61ebafa4585be523108cfbec46b1a5
Add a better status message
We are adding a better status message that will include the Namespace and the PipelineRun. We link the Namespace to the Namespace view in the consoles. Introducing a new setting for that `custom-console-url-namespace` that would need to be setup when using a custom console. ![image](https://github.com/openshif...
diff --git a/docs/content/docs/install/settings.md b/docs/content/docs/install/settings.md index b9a2d98a56..0eaa95e964 100644 --- a/docs/content/docs/install/settings.md +++ b/docs/content/docs/install/settings.md @@ -250,6 +250,16 @@ A few settings are available to configure this feature: Set this to the root UR...
2
2
1
[{"id": "G0", "claim": "Add an example to the custom-console-url-namespace documentation showing how the URL looks after {{ namespace }} is substituted, similar to the example given for custom-console-url-pr-details.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
tektoncd__pipelines-as-code__1494
tektoncd/pipelines-as-code
1,494
defect
7f0f4f0b153518ec32bb226214a8a9f3387135ef
899c60ee8cae915fa5a977b35917d659203a0985
Add support of remote task on remote Pipeline
We now support remote tasks on remote Pipeline, allowing to share a remote Pipeline across multiple repositories. User can override tasks from the remote pipeline by adding a task with the same name. Demo here: https://youtu.be/PetZInZTbM8?si=4P6VoYnl_dSbMAjG <!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> ...
diff --git a/docs/content/docs/guide/resolver.md b/docs/content/docs/guide/resolver.md index ef214772f6..1b01d92b06 100644 --- a/docs/content/docs/guide/resolver.md +++ b/docs/content/docs/guide/resolver.md @@ -174,18 +174,51 @@ If the object fetched cannot be parsed as a Tekton `Task` it will error out. ## Remote P...
5
2
0
[{"id": "G0", "claim": "Asks to confirm that the `task-1`/`task-2` annotation keys in the doc example are just indices and do not refer to the names of Tasks in the Pipeline.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Questions the precedence ...
null
tektoncd__pipelines-as-code__1637
tektoncd/pipelines-as-code
1,637
defect
5e4489deda5d0cef4feb6c55d3b4129bb5637259
b4f066b6eac3c15065da0d8fe8f4df042b6eddb7
Report tekton yaml validation error to the user
The validation errors occurring in PipelineRuns as reported by the tekton controller within the .tekton directory are now reported directly in the event logs of the user namespaces along with the pipelinerun name where the error has occurred, this let a user troubleshoot the issue even if she or he doesn't have access ...
diff --git a/pkg/pipelineascode/match.go b/pkg/pipelineascode/match.go index fdbc1ead64..8ea8111bd3 100644 --- a/pkg/pipelineascode/match.go +++ b/pkg/pipelineascode/match.go @@ -168,6 +168,13 @@ func (p *PacRun) getPipelineRunsFromRepo(ctx context.Context, repo *v1alpha1.Rep if err != nil { return nil, err } + ...
2
1
0
[{"id": "G0", "claim": "The reviewer asked the author to define his own nested Metadata struct with explicit yaml tags (`name`/`generateName`) instead of relying on metav1.ObjectMeta, so that generateName could be reliably handled.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introdu...
null
tektoncd__pipelines-as-code__1729
tektoncd/pipelines-as-code
1,729
defect
7bd9ed075bb630334a5512ed6e3d1a761913028f
58dc16af08a117dedf9c5420a40aa311f45be1f6
fix: Revert GitOps event_type to pull_request
Reverted the following event types to 'pull_request': * NoOpsCommentEventType * TestAllCommentEventType * TestSingleCommentEventType * RetestSingleCommentEventType * RetestAllCommentEventType * OnCommentEventType * CancelCommentSingleEventType * CancelCommentAllEventType * OkToTestCommentEv...
diff --git a/docs/content/docs/guide/authoringprs.md b/docs/content/docs/guide/authoringprs.md index e24f5531de..7b3fde6cf7 100644 --- a/docs/content/docs/guide/authoringprs.md +++ b/docs/content/docs/guide/authoringprs.md @@ -50,7 +50,7 @@ checkout the code that is being tested. | Variable | Description ...
5
3
0
[{"id": "G0", "claim": "The added sentence saying the `pipeline.tekton.dev/event-type` annotation 'on labels' indicates the type of GitOps command the pipelinerun triggered on is confusing and should be reworded more simply.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
tektoncd__pipelines-as-code__1985
tektoncd/pipelines-as-code
1,985
defect
504f3caee397f00cbccc699fed0e96933d00fa96
0f1f84726e77c9d50b343ba2b178091ee13234b9
fix: Expand "dynamic" variables in default values
This commit addresses an issue where dynamic variables used as default values in pipeline parameters are not resolved correctly. Currently, when an expandable dynamic variable is added as a default value to a parameter in a Pipeline, it is not resolved, leading to errors. For example, in the Pipeline.yaml: - name...
diff --git a/pkg/pipelineascode/match.go b/pkg/pipelineascode/match.go index c6171bd9aa..c13416b0fa 100644 --- a/pkg/pipelineascode/match.go +++ b/pkg/pipelineascode/match.go @@ -319,7 +319,7 @@ func (p *PacRun) getPipelineRunsFromRepo(ctx context.Context, repo *v1alpha1.Rep } } - err = changeSecret(pipelineRuns...
1
1
0
[{"id": "G0", "claim": "Correct the typo in the new changePipelineRun comment: 'pipelienruns' should be 'pipelineruns'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
tektoncd__pipelines-as-code__2048
tektoncd/pipelines-as-code
2,048
defect
c2b17f069656ef7c9aed8324db0e502c3b25c183
7508871bab1fe44d371ea05b03e95d392b7e03ff
fix: /ok-to-test /retest pipelineruns should not be created if last sha successful
# Changes <!-- 🎉🎉🎉 Thank you for the PR!!! 🎉🎉🎉 --> /retest and /ok-to-test should only restart failed pipelines; the changes in the PR ensure that we do not match successful pipelineruns during invocation of these gitops commands. The tests have also been updated to use /test instead wherever /retest is be...
diff --git a/pkg/pipelineascode/pipelineascode.go b/pkg/pipelineascode/pipelineascode.go index 9e6478a3e3..73a2c0e5de 100644 --- a/pkg/pipelineascode/pipelineascode.go +++ b/pkg/pipelineascode/pipelineascode.go @@ -13,6 +13,7 @@ import ( "github.com/openshift-pipelines/pipelines-as-code/pkg/formatting" "github.com/...
4
2
0
[{"id": "G0", "claim": "Rename the variable 'existingPRs' to 'existingRuns' or similar so it clearly holds PipelineRun objects.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Build the SHA label selector from the raw event SHA instead of formatt...
null
tektoncd__pipelines-as-code__2110
tektoncd/pipelines-as-code
2,110
defect
5a2151ff9bd424d99e4efa3589cf73fd80c89258
1e10453ec50bfdec3f7dfca576103213c7408b08
Disable Github comments for pipeline start/end events to reduce PR noise
* The Github webhook integration was previously generating a comment on every pipeline start and end filling pull requests with redundant updates * Hence this patch introduces a new setting to completely disable comment creation * By using `comment_strategy: disable_all`, no comments will be added for either pipe...
diff --git a/config/300-repositories.yaml b/config/300-repositories.yaml index 6cc9ca9ea1..8fab013ad7 100644 --- a/config/300-repositories.yaml +++ b/config/300-repositories.yaml @@ -355,6 +355,19 @@ spec: - disable_all type: string type: ob...
7
6
1
[{"id": "G0", "claim": "The new docs heading should spell GitHub with a capital H ('GitHub PR' instead of 'Github PR').", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docs sentence should spell GitHub with a capital H ('GitHub PR' instead of '...
null
tektoncd__pipelines-as-code__2179
tektoncd/pipelines-as-code
2,179
defect
3e8fe4c1a1c0b3a54fc8c53f1efeb86acaf67120
125daf55c497d7c20d807154e05e35d54f3d2d24
fix: Improve handling of missing .tekton directory for ok-to-test events
Before this, if a repository doesn't have .tekton directory and a pull request is opened by unauthorized user, PaC first creates a pending check but when admin is making `/ok-to-test` comment, the pending check wasn't clearing because it was returned just after `GetTektonDir` call. we had added the logic to clear pend...
diff --git a/docs/content/docs/guide/gitops_commands.md b/docs/content/docs/guide/gitops_commands.md index 30427b4c99..db7833d29a 100644 --- a/docs/content/docs/guide/gitops_commands.md +++ b/docs/content/docs/guide/gitops_commands.md @@ -262,8 +262,8 @@ Here are the possible event types: * `cancel-comment`: The event...
4
3
0
[{"id": "G0", "claim": "The paragraph the PR rewrote in gitops_commands.md has accumulated so many inline fixes that it doesn't read properly and the sentence should be rephrased.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The inline fmt.Sprin...
null
tektoncd__pipelines-as-code__2187
tektoncd/pipelines-as-code
2,187
defect
8c752e333ace7e812382ad9d358cf0f5b02db6ef
1f7deccc448e1f5dcd9986696eda698a92a209fd
refactor(triggertype): rename LabelUpdate to pull_request_labeled
## 📝 Description of the Change <!--- Take all comments into account and provide a detailed description of the change. --> Update LabelUpdate trigger constant from "label_update" to "pull_request_labeled" for better clarity and consistency with existing pull request event naming conventions. Also add missing Lab...
diff --git a/pkg/params/triggertype/types.go b/pkg/params/triggertype/types.go index 4726ea2797..743606c6d7 100644 --- a/pkg/params/triggertype/types.go +++ b/pkg/params/triggertype/types.go @@ -38,6 +38,8 @@ func StringToType(s string) Trigger { return Incoming case Comment.String(): return Comment + case Labe...
2
1
0
[{"id": "G0", "claim": "The Go variable LabelUpdate should be renamed (e.g. to PullRequestLabeled) to match the new pull_request_labeled value it now holds.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Renaming the event type string value from...
null
tektoncd__pipelines-as-code__2194
tektoncd/pipelines-as-code
2,194
defect
4ae3540f6d03bd278c64eece65ac28e4c38c587f
65b0de504df2d14c5ea8b86df836ecec9b4acc8f
fix(gitlab): use TargetProjectID for merge request comments
## 📝 Description of the Change <!--- Take all comments into account and provide a detailed description of the change. --> When PaC reports validation errors on GitLab merge requests from repository forks, it was incorrectly using `SourceProjectID` in API calls. Since merge requests are objects on the `TargetProjec...
diff --git a/pkg/provider/gitlab/gitlab.go b/pkg/provider/gitlab/gitlab.go index 7aabde0bf9..5d62c6dbfe 100644 --- a/pkg/provider/gitlab/gitlab.go +++ b/pkg/provider/gitlab/gitlab.go @@ -95,7 +95,7 @@ func (v *Provider) CreateComment(_ context.Context, event *info.Event, commit, u // List comments of the merge requ...
7
5
2
[{"id": "G0", "claim": "The pull request should add an end-to-end test (or a before/after demo) covering the TargetProjectID fix.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Move the fork-cleanup defer above the 3-second sleep so cleanup is not skipp...
null
tektoncd__pipelines-as-code__2197
tektoncd/pipelines-as-code
2,197
defect
846416e8588d95aafc1e720d7232a1b24c4f76fe
8daa0394703a30fd5d22912d269f98451e70f3be
test(sort): add more unit tests for pr sorting
This commit addresses the TODO in `pkg/sort/pipelinerun_test.go` to add more test cases and improves the overall test coverage for the sorting logic. - Adds a new test function `TestPipelineRunSortByCompletionTime_missing` to cover more scenarios for sorting by completion time: - An empty list of PipelineRuns. ...
diff --git a/pkg/sort/pipelinerun_test.go b/pkg/sort/pipelinerun_test.go index 52f38d79b4..28fd8fd309 100644 --- a/pkg/sort/pipelinerun_test.go +++ b/pkg/sort/pipelinerun_test.go @@ -16,27 +16,36 @@ func TestPipelineRunSortByCompletionTime(t *testing.T) { ns := "namespace" labels := map[string]string{} success :=...
4
2
0
[{"id": "G0", "claim": "Creating a PipelineRun with completion time 20 and then setting it to nil is confusing; the nil-completion PipelineRun should be built explicitly (or via a helper) to make the intent clearer.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"...
null
tektoncd__pipelines-as-code__2218
tektoncd/pipelines-as-code
2,218
defect
542f1a0e6056b831551ccf14da6afcc2267a347d
75709dc59eb2dfde25b29b2b00fae8fa11fe5469
refactor: optimize GHApp installation ID retrieval
- Removed listing of all installations. - Fetched the installation directly using the repository URL. - Added fallback to find the organization installation if the repository installation is not found. - Enhanced error handling for token retrieval. - Updated tests to reflect the changes. - Eliminated the matchRepo...
diff --git a/pkg/provider/github/app/token.go b/pkg/provider/github/app/token.go index 51323edb63..bb3ad44746 100644 --- a/pkg/provider/github/app/token.go +++ b/pkg/provider/github/app/token.go @@ -4,10 +4,11 @@ import ( "context" "fmt" "net/http" + "net/url" + "strings" "time" "github.com/golang-jwt/jwt/v...
5
3
0
[{"id": "G0", "claim": "The nested if statements for the fallback logic in GetAppInstallationID should be flattened to sequential fallbacks to improve readability and reduce nesting depth.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The gprov...
null
tektoncd__pipelines-as-code__2232
tektoncd/pipelines-as-code
2,232
defect
86a29ea8ffd4b3eb777f48048eac11169e1ec0c1
0280270c5c0d5aca2afdff6408b6281492ed01a5
fix: ensure cancel-in-progress targets PR PipelineRuns only
## 📝 Description of the Change - Add event-type label to selector for PR-close cancellations - Prevent accidental cancellation of push-triggered PipelineRuns that share a PR number - Extend tests to cover mixed push/PR scenarios after merge <!--- Take all comments into account and provide a detailed description ...
diff --git a/pkg/pipelineascode/cancel_pipelineruns.go b/pkg/pipelineascode/cancel_pipelineruns.go index c3b2c4289d..f8fb365c18 100644 --- a/pkg/pipelineascode/cancel_pipelineruns.go +++ b/pkg/pipelineascode/cancel_pipelineruns.go @@ -35,6 +35,7 @@ func (p *PacRun) cancelAllInProgressBelongingToClosedPullRequest(ctx co...
3
2
1
[{"id": "G0", "claim": "The new test's name is misleading because it implies on-push PipelineRuns are being cancelled while the test verifies they are not, so it should be renamed to something more descriptive.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
tektoncd__pipelines-as-code__2237
tektoncd/pipelines-as-code
2,237
defect
c5d07bbeda2823d1aa5b0f77b0c909e3e9e06a48
28aeabe0d9a15c046bb2dfebf0f4ebe47249f810
feat: Introduce error log snippet line config
* Added a new configuration option `error-log-snippet-number-of-lines`. This provides control over the number of lines displayed in error log snippets. * Set the default value for `error-log-snippet-number-of-lines` to 3. * Implemented a maximum character limit of 65536 for all error log snippets...
diff --git a/config/302-pac-configmap.yaml b/config/302-pac-configmap.yaml index 2416a39230..55436e7fd7 100644 --- a/config/302-pac-configmap.yaml +++ b/config/302-pac-configmap.yaml @@ -88,6 +88,11 @@ data: # you may want to disable this if you think your pipeline may leak some value error-log-snippet: "true" ...
10
10
5
[{"id": "G0", "claim": "The fallback value of 50 lines in getFailureSnippet doesn't match the configured default of 3 for error-log-snippet-number-of-lines and should be 3.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The byte-slice truncation cou...
null
tektoncd__pipelines-as-code__2251
tektoncd/pipelines-as-code
2,251
defect
4e5694406d9446c6847f2c0d939fb724946a69e0
747a13f0ec846e701c65be17bd8bfc8abf489a19
fix: Check source project access for GitLab PRs
## 📝 Description of the Change - Added a check to ensure the GitLab token has read access to the source repository when processing pull requests. - This addresses an issue where builds could fail if the token lacked the necessary scope to access private source repositories. <!--- Take all comments into account ...
diff --git a/pkg/provider/gitlab/gitlab.go b/pkg/provider/gitlab/gitlab.go index 5d62c6dbfe..f326bfe0b2 100644 --- a/pkg/provider/gitlab/gitlab.go +++ b/pkg/provider/gitlab/gitlab.go @@ -195,9 +195,11 @@ func (v *Provider) SetClient(_ context.Context, run *params.Run, runevent *info. } v.apiURL = apiURL - v.gitla...
4
2
1
[{"id": "G0", "claim": "The 404 error message should be made consistent with the other error message by including the same guidance about the 'read_repository' token scope in the 404 case.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The go-gi...
null
tektoncd__pipelines-as-code__2264
tektoncd/pipelines-as-code
2,264
defect
2aa7643f47430ed0b31bfb92b9ddc7110cb9c281
af8d3b76967524a6285753cc457d33973ca83d48
fix: resolve templating placeholder evaluation bug
Fix overly strict condition in ReplacePlaceHoldersVariables that prevented correct evaluation of placeholders when rawEvent or headers were nil. Changes: - body.* placeholders now work when rawEvent != nil (regardless of headers) - headers.* placeholders now work when headers != nil (regardless of rawEvent) - fi...
diff --git a/pkg/templates/templating_test.go b/pkg/templates/templating_test.go index 3f5633af82..d022766769 100644 --- a/pkg/templates/templating_test.go +++ b/pkg/templates/templating_test.go @@ -72,6 +72,128 @@ func TestReplacePlaceHoldersVariables(t *testing.T) { headers: http.Header{}, rawEvent: map[stri...
2
2
1
[{"id": "G0", "claim": "The overly strict `if rawEvent != nil && headers != nil` check wrongly prevents evaluating body, headers and files placeholders when one of the contexts is nil, and the new tests lock in that buggy output, so the check should be per-prefix and the tests should expect resolved values.", "category...
null