-
Notifications
You must be signed in to change notification settings - Fork 616
feat(assets): adopt cursor pagination in the Generated tab jobs walk #12769
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
Open
mattmillerai
wants to merge
20
commits into
main
Choose a base branch
from
matt/fe-962-fe-adopt-cursor-pagination-in-the-generated-tab-jobs-sourced
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,180
−150
Open
Changes from 10 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
cc04846
ci: add team-gated Cursor review (thin caller for github-workflows)
mattmillerai 4cadbb8
fix: resolve review feedback
mattmillerai e498c4a
ci: bump cursor-review SHA to github-workflows#9, drop judge_model ov…
mattmillerai 880582a
[automated] Apply ESLint and Oxfmt fixes
actions-user 8d23daa
fix: resolve review feedback
mattmillerai 1fee449
Merge branch 'main' into ci/cursor-review-workflow
mattmillerai 5ef89c7
feat(assets): adopt cursor pagination in the Generated tab jobs walk
mattmillerai 1f810a1
fix(assets): harden cursor pagination against review findings
mattmillerai 69a4d78
fix(assets): guard the history jobs walk against a non-advancing cursor
mattmillerai f318718
docs(assets): add JSDoc to assetsStore per review
mattmillerai 753b0b4
fix(assets): harden epoch guards and truncate JobsApiError body
mattmillerai 4290619
[automated] Apply ESLint and Oxfmt fixes
actions-user c207f56
Merge branch 'main' into matt/fe-962-fe-adopt-cursor-pagination-in-th…
mattmillerai 89fdbcd
Update src/stores/assetsStore.ts
mattmillerai c238145
Update src/platform/remote/comfyui/jobs/jobTypes.ts
mattmillerai 6f7686b
Update src/platform/remote/comfyui/jobs/fetchJobs.ts
mattmillerai 6c3ead5
Update src/stores/assetsStore.ts
mattmillerai ea0f8a9
test: add body-truncation coverage and historyError-null assertion fo…
mattmillerai 8b40f6a
fix: reset offset to 0 on cursor-recovery fallback to prevent page drift
mattmillerai e471b64
Merge remote-tracking branch 'origin/main' into HEAD
mattmillerai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| # Description: Team-gated multi-model Cursor review — a thin caller for the | ||
| # reusable workflow in Comfy-Org/github-workflows, which is the single source of | ||
| # truth for the panel, judge, prompts, and scripts. Triggered by the | ||
| # 'cursor-review' label. | ||
| # | ||
| # Access control (team-only, two layers): | ||
| # 1. Only users with triage permission or higher can apply a label in a public | ||
| # repo, so the public cannot trigger this. | ||
| # 2. The reusable workflow's secret-bearing jobs do not run on fork PRs (forks | ||
| # get no secrets), so CURSOR_API_KEY is reachable only on internal branches. | ||
| name: 'PR: Cursor Review' | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [labeled, unlabeled] | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
|
|
||
| concurrency: | ||
| # Re-labeling cancels an in-flight run for the same PR + label. | ||
| group: cursor-review-pr-${{ github.event.pull_request.number }}-${{ github.event.label.name }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| cursor-review: | ||
| if: github.event.action == 'labeled' && github.event.label.name == 'cursor-review' | ||
| # SHA-pinned per zizmor `unpinned-uses: hash-pin`. Bump this SHA to pick up | ||
| # upstream changes; keep `workflows_ref` matching so prompts/scripts load | ||
| # from the same commit as the workflow definition. | ||
| uses: Comfy-Org/github-workflows/.github/workflows/cursor-review.yml@047ca48febe3a6647608ed2e0c4331b491cb9d6a # github-workflows#9 | ||
| with: | ||
| # Overriding diff_excludes replaces the reusable default wholesale, so | ||
| # this restates the generated/vendored defaults and adds this repo's heavy | ||
| # paths (Playwright snapshots, generated manager types). | ||
| diff_excludes: >- | ||
| :!**/package-lock.json | ||
| :!**/yarn.lock | ||
| :!**/pnpm-lock.yaml | ||
| :!**/node_modules/** | ||
| :!**/.claude/** | ||
| :!**/dist/** | ||
| :!**/vendor/** | ||
| :!**/*.generated.* | ||
| :!**/*.min.js | ||
| :!**/*.min.css | ||
| :!**/*-snapshots/** | ||
| :!src/workbench/extensions/manager/types/generatedManagerTypes.ts | ||
| # Load the prompts/scripts from the same ref as `uses:`. | ||
| workflows_ref: 047ca48febe3a6647608ed2e0c4331b491cb9d6a | ||
| secrets: | ||
| CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }} | ||
| # Optional — enables start/complete Slack DMs to the triggerer. | ||
| SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.