Skip to content

Commit cb8e818

Browse files
Copilotpelikhan
andauthored
Add temporary ID support for create_issue safe output (#4698)
* Initial plan * Add temporary ID support for create_issue safe output - Generate 12-char hex temporary IDs for issues created via safe outputs - Store temporary_id -> issue_number mapping in job output - Replace #temp:ID references in issue body with resolved issue numbers - Support parent field referencing temporary IDs for sub-issue linking - Pass temporary_id_map to add-comment job for reference resolution - Add comprehensive tests for temporary ID functionality Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Extract temporary ID functions to shared utility module - Create temporary_id.cjs with shared functions for temporary ID handling - Update create_issue.cjs and add_comment.cjs to use shared utility - Add temporary_id.cjs to embedded JavaScript sources for bundling - Add comprehensive tests for temporary_id.cjs module Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Change temporary ID pattern to use aw_ prefix Updated the temporary ID format from #temp:XXXXXXXXXXXX to #aw_XXXXXXXXXXXX as requested. The new format: - Generated IDs: aw_ prefix + 12 hex characters (e.g., aw_abc123def456) - Reference pattern: #aw_XXXXXXXXXXXX (e.g., #aw_abc123def456) - Case-insensitive matching for references Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent 9e19e6c commit cb8e818

41 files changed

Lines changed: 2575 additions & 87 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/archie.lock.yml

Lines changed: 43 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/brave.lock.yml

Lines changed: 43 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)