-
Notifications
You must be signed in to change notification settings - Fork 1
Fix/codex log issues #1484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/codex log issues #1484
Changes from 7 commits
b8121ff
926a8dc
24d84ec
00365f4
089bc23
b271e22
371370e
6f5e110
99b3d52
b09ca72
52bd354
ffda552
e053e6d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -905,6 +905,7 @@ jobs: | |||||||||||||||||||||||||||||||
| if gh_output: | ||||||||||||||||||||||||||||||||
| with open(gh_output, 'a', encoding='utf-8') as handle: | ||||||||||||||||||||||||||||||||
| handle.write(f"task_id={start_info['task']['id'] if start_info['task'] else ''}\n") | ||||||||||||||||||||||||||||||||
| handle.write(f"task_title={start_info['task']['title'] if start_info['task'] else ''}\n") | ||||||||||||||||||||||||||||||||
| handle.write(f"task_status={start_info['task']['current_status'] if start_info['task'] else ''}\n") | ||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
| with open(gh_output, 'a', encoding='utf-8') as handle: | |
| handle.write(f"task_id={start_info['task']['id'] if start_info['task'] else ''}\n") | |
| handle.write(f"task_title={start_info['task']['title'] if start_info['task'] else ''}\n") | |
| handle.write(f"task_status={start_info['task']['current_status'] if start_info['task'] else ''}\n") | |
| # Prepare safe, single-line task fields for GitHub outputs | |
| task = start_info['task'] or {} | |
| task_id = task.get('id', '') if task else '' | |
| task_title = task.get('title', '') if task else '' | |
| # Sanitize title to avoid breaking GITHUB_OUTPUT parsing | |
| task_title = task_title.replace('\r', ' ').replace('\n', ' ') | |
| task_status = task.get('current_status', '') if task else '' | |
| with open(gh_output, 'a', encoding='utf-8') as handle: | |
| handle.write(f"task_id={task_id}\n") | |
| handle.write(f"task_title={task_title}\n") | |
| handle.write(f"task_status={task_status}\n") |
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -905,6 +905,7 @@ jobs: | |||||||||||
| if gh_output: | ||||||||||||
| with open(gh_output, 'a', encoding='utf-8') as handle: | ||||||||||||
| handle.write(f"task_id={start_info['task']['id'] if start_info['task'] else ''}\n") | ||||||||||||
| handle.write(f"task_title={start_info['task']['title'] if start_info['task'] else ''}\n") | ||||||||||||
|
||||||||||||
| handle.write(f"task_title={start_info['task']['title'] if start_info['task'] else ''}\n") | |
| title = start_info['task']['title'] if start_info['task'] else '' | |
| handle.write("task_title<<TASK_TITLE_EOF\n") | |
| handle.write(f"{title}\n") | |
| handle.write("TASK_TITLE_EOF\n") |
Uh oh!
There was an error while loading. Please reload this page.