Refresh GitHub issues after creation (#3018)

Implements the no-cache GitHub issue list refresh path described in docs/refresh-github-issues-after-create.md.

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo Hong
2026-05-28 21:14:58 -04:00
committed by GitHub
co-authored by Orca
parent bf51593706
commit 153fd863c6
16 changed files with 347 additions and 29 deletions
+9 -2
View File
@@ -10,7 +10,8 @@ const RepoSelector = z.object({
const WorkItemsList = RepoSelector.extend({
limit: OptionalFiniteNumber,
query: OptionalString,
before: OptionalString
before: OptionalString,
noCache: z.boolean().optional()
})
const IssuesList = RepoSelector.extend({
@@ -283,7 +284,13 @@ export const GITHUB_METHODS: RpcMethod[] = [
name: 'github.listWorkItems',
params: WorkItemsList,
handler: async (params, { runtime }) =>
runtime.listRepoWorkItems(params.repo, params.limit, params.query, params.before)
runtime.listRepoWorkItems(
params.repo,
params.limit,
params.query,
params.before,
params.noCache
)
}),
defineMethod({
name: 'github.listIssues',