ci: add workflow for agentic issue triage#19839
Conversation
5dd8337 to
298d56a
Compare
05d51b4 to
1d8cff2
Compare
mafredri
left a comment
There was a problem hiding this comment.
I haven't tested the scripts but looks good and fairly simple. Nice work!
| echo "- **Context Key:** ${CONTEXT_KEY}"; | ||
| echo "- **Workspace:** ${WORKSPACE_NAME}"; | ||
| echo "- **Archive URL:** ${ARCHIVE_URL}" | ||
| } >> "${GITHUB_STEP_SUMMARY}" |
There was a problem hiding this comment.
Could we also output here how to utilize the artifact?
PS. What's the difference of throwing it into step summary vs just outputting to stdout?
There was a problem hiding this comment.
GITHUB_STEP_SUMMARY will let you emit markdown that's visible in the job execution log
ref: https://github.blog/news-insights/product-news/supercharging-github-actions-with-job-summaries/
There was a problem hiding this comment.
Regarding the "how-to" -- I think we will want to add some level of automation around this in the associated template. Something like the below:
data "coder_parameter" "resume_context_key" {
name = "resume_context_key"
type = "string"
default = ""
}
locals {
archive_url = "gs://${var.gcp_bucket}/traiage/${context_key}"
}
resource "coder_script" "fetch_context" { ... }
| return | ||
| fi | ||
|
|
||
| OPENSSH_CONFIG_FILE="${TEMPDIR}/coder-ssh.config" |
There was a problem hiding this comment.
Suggestion: Could set CODER_SSH_CONFIG_FILE instead and avoid passing the flag, but perhaps the more explicit file access is warranted here considering how it's used.
There was a problem hiding this comment.
Yep, to the best of my knowledge a --flag will always override an environment variable, hence my usage of a flag instead.
4246e08 to
b4d9010
Compare
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
b4d9010 to
56e3a11
Compare
thanks I hate it |
Adds a GH workflow to start a workspace with a pre-determined template, perform a first pass over a given GitHub issue, and persist the changes in a GCS bucket for later refining. Tested locally with
nektos/act.Note: "traiage" is not a typo.