YAML generation uses manual string building in compile_gate_step_external
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- build-system, devops
Research direction
Review src/compile/filter_ir.rs and compile_gate_step_external, then compare the current manual YAML construction with the proposed serialization or escaping approach. Done means generated YAML remains valid when names contain quotes or newlines, without changing current output for the existing static names.
Written by the indexing model from the issue text.
Description
src/compile/filter_ir.rs:
step.push_str(&format!(" name: {}\n", ctx.step_name()));
step.push_str(&format!(" displayName: "{}"\n", ctx.display_name()));
These values come from &'static str constants so there's no injection risk today. But the pattern is fragile — a future GateContext variant with a display name containing " or \n would silently produce invalid YAML. Suggest serializing via serde_yaml or at minimum YAML-escaping display names.
- Dominant language
- Rust
- Stars
- 23
- Forks
- 8
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 20
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from githubnext/ado-aw
-
docs documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
githubnext/ado-aw#1766 ·
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
githubnext/ado-aw#1041 ·
-
security
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
githubnext/ado-aw#855 ·
-
agentic-workflows
Difficulty 4/5 3-5 days Newbie friendliness 35/100
githubnext/ado-aw#2212 ·
-
agentic-workflows
Difficulty 4/5 3-5 days Newbie friendliness 35/100
githubnext/ado-aw#2208 · 2 comments ·
All issues in githubnext/ado-aw
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100