fix: sanitize auto-pilot LangSmith env exports - #2125
Conversation
Workflow source detectedPR #2125 now has valid workflow source context (origin=sync_campaign). No linked GitHub issue is required for this PR. |
|
Post-push review sweep: no inline review comments or submitted reviews were present immediately after opening. Local focused validation passed (workflow YAML parser, template sync validator, Homebrew actionlint). GitHub checks are currently pending. |
There was a problem hiding this comment.
Pull request overview
This PR hardens the auto-pilot workflow’s LangSmith trace export handling by stripping CR/LF characters before appending trace IDs and URLs to GITHUB_ENV, reducing env-file injection risk while keeping the first-party workflow and consumer template aligned.
Changes:
- Added a small sanitizer helper for LangSmith trace values in optimize and apply steps.
- Applied the same changes to the consumer template workflow.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/agents-auto-pilot.yml |
Sanitizes optimize/apply LangSmith trace values before writing to GITHUB_ENV. |
templates/consumer-repo/.github/workflows/agents-auto-pilot.yml |
Mirrors the auto-pilot workflow sanitization in the consumer template. |
Automated Status SummaryHead SHA: 31416e1
Coverage Overview
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
|
Runner dispatch state for codex on PR #2125. Do not edit. |
Summary
Validation
Addresses sync review feedback from stranske/Inv-Man-Intake#436.