pisyn version
pisyn dev (schema v1)
Affected platform
GitLab CI
What happened?
Problem
IRJob in pkg/pisyn/ir.go doesn't include FetchDepth. Round-tripping through pipeline.json (via pisyn build → pisyn graph/pisyn run) loses the fetch depth setting.
Suggested Fix
Add FetchDepth int to IRJob, and update jobToIR() and irJobToJob() to map it.
Files
pkg/pisyn/ir.go — IRJob, jobToIR(), irJobToJob()
Expected behavior
FetchDepth gets included in the pipeline.json
Steps to reproduce
Actual output
pisyn version
pisyn dev (schema v1)
Affected platform
GitLab CI
What happened?
Problem
IRJobinpkg/pisyn/ir.godoesn't includeFetchDepth. Round-tripping throughpipeline.json(viapisyn build→pisyn graph/pisyn run) loses the fetch depth setting.Suggested Fix
Add
FetchDepth inttoIRJob, and updatejobToIR()andirJobToJob()to map it.Files
pkg/pisyn/ir.go—IRJob,jobToIR(),irJobToJob()Expected behavior
FetchDepth gets included in the pipeline.json
Steps to reproduce
Actual output