Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
328 commits
Select commit Hold shift + click to select a range
460b1aa
fix(server): keep the GitLab assignee the member page never reached
Bil0000 Aug 12, 2026
847ba39
fix(web): assign again when the host listed only some of the people
Bil0000 Aug 12, 2026
17a0f6e
refactor(server): drop the offset cursor no issue host pages by
Bil0000 Aug 12, 2026
831652b
fix(web): another repository asks its own questions
Bil0000 Aug 12, 2026
f039cfe
fix(web): an empty composer is still somewhere to type
Bil0000 Aug 12, 2026
3d628e6
fix(server): close a work item by the name its template gave the state
Bil0000 Aug 12, 2026
d61b081
Merge branch 'main' into feat/issues-page
Bil0000 Aug 12, 2026
7391bf9
Merge latest main into feat/issues-page
Bil0000 Aug 12, 2026
54cd6db
Merge remote-tracking branch 'fork/feat/issues-page' into feat/issues…
Bil0000 Aug 12, 2026
8cf882a
chore: retrigger CI after runner outage
Bil0000 Aug 12, 2026
1b9b249
fix(server): make Azure error shape explicit
Bil0000 Aug 12, 2026
abe6d00
fix(source-control): gate issues and page links
Bil0000 Aug 12, 2026
4be5cba
ci: force rerun
Bil0000 Aug 12, 2026
25fba84
ci: force rerun
Bil0000 Aug 12, 2026
7046955
ci: force rerun
Bil0000 Aug 12, 2026
1281464
ci: force rerun
Bil0000 Aug 12, 2026
5e51fa2
ci: force rerun
Bil0000 Aug 12, 2026
7d65672
fix(web): prevent issue row collisions
Bil0000 Aug 12, 2026
eb4112f
Merge branch 'main' into feat/issues-page
Bil0000 Aug 12, 2026
607d8f0
feat(issues): edit comments
Bil0000 Aug 13, 2026
9dcaf9c
feat(issues): add reactions
Bil0000 Aug 13, 2026
e9c3fe0
feat(issues): add GitHub sorting
Bil0000 Aug 13, 2026
0f9e1a4
test(issues): simplify reaction fixtures
Bil0000 Aug 13, 2026
2ba146b
fix(issues): preserve reaction state
Bil0000 Aug 13, 2026
94eb32c
Merge branch 'main' into feat/issues-page
Bil0000 Aug 13, 2026
b72369d
fix(issues): address review findings
Bil0000 Aug 13, 2026
d8d7002
fix(issues): preserve timeline edit drafts
Bil0000 Aug 13, 2026
07eee59
Merge branch 'main' into feat/issues-page
Bil0000 Aug 13, 2026
6f39238
fix(issues): clarify quantity sort order
Bil0000 Aug 13, 2026
9bf5c66
fix(server): protect GitHub GraphQL reserve
Bil0000 Aug 13, 2026
4a664aa
fix(web): reduce pull request polling
Bil0000 Aug 13, 2026
6852b60
fix(issues): reduce GitHub API polling
Bil0000 Aug 13, 2026
4e4b8ae
fix(issues): load older comments on demand
Bil0000 Aug 13, 2026
ea08888
fix(server): cut pull request GraphQL cost
Bil0000 Aug 13, 2026
db40991
fix(server): defer review thread replies
Bil0000 Aug 13, 2026
3edb991
feat(web): load review replies on demand
Bil0000 Aug 13, 2026
f44c571
Merge origin/main into feat/issues-page
Bil0000 Aug 13, 2026
f8af4d2
fix(server): scope review thread comments
Bil0000 Aug 13, 2026
2d147b4
fix(server): inject GraphQL budget at operation root
Bil0000 Aug 13, 2026
8eeb5dc
chore: refresh resolved PR checks
Bil0000 Aug 13, 2026
53d4f04
fix(web): refresh visible source control list
Bil0000 Aug 13, 2026
1eae1f7
Merge remote-tracking branch 'origin/main' into feat/issues-page
Bil0000 Aug 14, 2026
3100e35
Merge remote-tracking branch 'origin/main' into feat/issues-page
Bil0000 Aug 14, 2026
1b9ac48
fix(web): pass merged right panel props
Bil0000 Aug 14, 2026
2113a47
Merge remote-tracking branch 'origin/main' into feat/issues-page
Bil0000 Aug 16, 2026
6437a7c
refactor(issues): add provider-neutral adapters
Bil0000 Aug 16, 2026
af26eb1
test(issues): cover adapter source resolution
Bil0000 Aug 16, 2026
b6521ba
fix(issues): preserve integration behavior
Bil0000 Aug 16, 2026
96f3818
refactor(server): inject GitHub GraphQL budget
Bil0000 Aug 16, 2026
11f59d1
Merge origin/main into feat/issues-page
Bil0000 Aug 16, 2026
bea22ae
fix(issues): scope viewer lookup to host
Bil0000 Aug 17, 2026
010e571
fix(pull-requests): filter citations before cap
Bil0000 Aug 17, 2026
3e44934
fix(pull-requests): report bounded issue links
Bil0000 Aug 17, 2026
820b144
fix(issues): keep all project sources
Bil0000 Aug 17, 2026
478c201
feat(issues): add Linear connection contracts
Bil0000 Aug 17, 2026
7570b24
feat(issues): add Linear adapter
Bil0000 Aug 17, 2026
9e5a23d
feat(settings): add Linear issue tracking
Bil0000 Aug 17, 2026
b71490d
feat(issues): add work item selection model
Bil0000 Aug 17, 2026
0549ab0
feat(issues): generate combined work item tasks
Bil0000 Aug 17, 2026
37cdcae
feat(issues): add multi-item task flow
Bil0000 Aug 17, 2026
a5f2c03
test(issues): keep task prompt checks stable
Bil0000 Aug 17, 2026
03f01f0
feat(issues): add AI work item matching
Bil0000 Aug 17, 2026
9162bdf
feat(issues): expose AI work item matches
Bil0000 Aug 17, 2026
03b0b78
feat(web): show AI work item matches
Bil0000 Aug 17, 2026
4250233
fix(web): restore issues titlebar layout
Bil0000 Aug 17, 2026
d155c55
fix(issues): move selection into titlebar
Bil0000 Aug 17, 2026
5f3855a
fix(issues): anchor panel toggle
Bil0000 Aug 17, 2026
5ef53b9
style(web): use two-pixel focus rings
Bil0000 Aug 17, 2026
164a421
Revert "style(web): use two-pixel focus rings"
Bil0000 Aug 17, 2026
84d6fd3
fix(server): wire socket feature services
Bil0000 Aug 17, 2026
6b1ccf0
feat(web): link individual AI matches
Bil0000 Aug 17, 2026
ca39ed6
feat(settings): combine source and issue tools
Bil0000 Aug 17, 2026
3c1d612
fix(settings): order integration sections
Bil0000 Aug 17, 2026
36d25ff
fix(settings): hide inactive Linear form
Bil0000 Aug 17, 2026
9276ec2
Merge remote-tracking branch 'origin/main' into feat/issues-page
Bil0000 Aug 17, 2026
bbdfa11
feat(issues): manage providers from filter
Bil0000 Aug 17, 2026
9b693f0
refactor(settings): remove issue tracking page
Bil0000 Aug 17, 2026
9f76faa
Merge remote-tracking branch 'origin/main' into feat/issues-page
Bil0000 Aug 17, 2026
1c0ea2b
fix(issues): sync provider filter state
Bil0000 Aug 17, 2026
0fd0488
fix(web): restore source control guidance
Bil0000 Aug 17, 2026
5d7cc93
fix(issues): show Linear logo in provider menu
Bil0000 Aug 17, 2026
32ea8b3
fix(issues): use Linear logo in compact menu
Bil0000 Aug 17, 2026
5b4cbf1
docs(issues): define Linear account flow
Bil0000 Aug 17, 2026
a71c04a
Revert "docs(issues): define Linear account flow"
Bil0000 Aug 17, 2026
cc4aac8
fix(issues): name Linear in open actions
Bil0000 Aug 17, 2026
353c785
test(issues): cover rendered Linear labels
Bil0000 Aug 17, 2026
508844a
fix(issues): make generated tasks responsive
Bil0000 Aug 17, 2026
7a08313
test(issues): use real Linear action menu
Bil0000 Aug 17, 2026
7ce2c6c
feat(issues): support multiple Linear accounts
Bil0000 Aug 17, 2026
52741f3
fix(issues): guard generated task drafts
Bil0000 Aug 17, 2026
7719187
fix(issues): load Linear activity correctly
Bil0000 Aug 17, 2026
29307b7
test(issues): cover Linear comment reactions
Bil0000 Aug 17, 2026
ae8a1e8
fix(issues): make Linear account updates safe
Bil0000 Aug 17, 2026
1bf6371
feat(web): manage Linear accounts by project
Bil0000 Aug 17, 2026
966f5ff
test(issues): type Linear label fixture
Bil0000 Aug 17, 2026
db65d59
fix(issues): preserve legacy Linear accounts
Bil0000 Aug 17, 2026
60a4f8a
fix(issues): expose invalid legacy keys
Bil0000 Aug 17, 2026
3937218
fix(web): harden Linear account management
Bil0000 Aug 17, 2026
40f4b0a
fix(server): make settings writes commit safely
Bil0000 Aug 18, 2026
c742935
fix(issues): preserve provider and account identity
Bil0000 Aug 18, 2026
8431d60
fix(web): manage Linear accounts by project
Bil0000 Aug 18, 2026
14ec9b4
Merge remote-tracking branch 'origin/main' into feat/issues-page
Bil0000 Aug 20, 2026
c5be9ea
fix(issues): isolate source-specific UI state
Bil0000 Aug 20, 2026
3069995
fix(server): make Linear failures safe
Bil0000 Aug 20, 2026
3edbf76
refactor(web): share work item list chrome
Bil0000 Aug 20, 2026
c30c362
fix(server): normalize Linear provider errors
Bil0000 Aug 20, 2026
aeedf90
fix(linear): reject unusable account bindings
Bil0000 Aug 20, 2026
8769ff5
fix(web): keep issue route state and chrome shared
Bil0000 Aug 20, 2026
5b9bb7a
fix(issues): resolve linked item projects
Bil0000 Aug 20, 2026
0c8f009
fix(issues): keep linked routes canonical
Bil0000 Aug 20, 2026
6d16a89
fix(linear): explain rejected project bindings
Bil0000 Aug 20, 2026
8417f10
refactor(web): share detail tab controls
Bil0000 Aug 20, 2026
3fbdba0
refactor(web): share work item list chrome
Bil0000 Aug 20, 2026
59222b6
feat(web): match issues list chrome
Bil0000 Aug 20, 2026
8e2ff61
feat(web): match issue detail chrome
Bil0000 Aug 20, 2026
8f5f366
fix(web): hide best-match order controls
Bil0000 Aug 20, 2026
10cca4c
feat(web): select issues from list rows
Bil0000 Aug 20, 2026
d80dc8d
feat(web): mention issues in composer
Bil0000 Aug 20, 2026
37b633d
fix(web): separate issue selection checkbox
Bil0000 Aug 20, 2026
18f45c2
fix(web): center work item actions
Bil0000 Aug 20, 2026
2edace8
fix(web): sync provider issue tab status
Bil0000 Aug 20, 2026
6304d0d
chore: merge main into issues workspace
Bil0000 Aug 28, 2026
fbcb010
fix(web): reuse shared issue controls
Bil0000 Aug 28, 2026
6c2f8ff
fix(server): preserve work item failure context
Bil0000 Aug 28, 2026
0772c41
fix(server): keep work item branch types
Bil0000 Aug 28, 2026
0178ba7
fix(web): align work item list interactions
Bil0000 Aug 28, 2026
238581e
fix(web): gate issues link on primary server
Bil0000 Aug 28, 2026
ce483af
fix(server): provide issue rate limit service
Bil0000 Aug 28, 2026
4972e79
test(web): account for pull request selection row
Bil0000 Aug 28, 2026
e79ec51
refactor(server): inline work item errors
Bil0000 Aug 28, 2026
4de9170
fix(web): align issue workspace controls
Bil0000 Aug 28, 2026
18873ec
fix(server): bound generated work item tasks
Bil0000 Aug 28, 2026
327ec3f
fix(web): use shared issue tooltips
Bil0000 Aug 28, 2026
a2fe1c6
fix(web): align issue editor controls
Bil0000 Aug 28, 2026
1fad533
fix(web): filter panel searches locally
Bil0000 Aug 28, 2026
e654f0a
fix(web): keep issue markdown environment
Bil0000 Aug 28, 2026
f28832a
fix(web): make issue panel errors retryable
Bil0000 Aug 28, 2026
e153385
Merge branch 'main' into feat/issues-page
Bil0000 Aug 28, 2026
5d8b96c
fix: reconcile issue workspace with current main
Bil0000 Sep 8, 2026
ae3a35c
chore: sync latest main
Bil0000 Sep 8, 2026
b57dbbc
fix: remove unused issue workspace exports
Bil0000 Sep 8, 2026
70bc82e
fix(server): preserve inline secrets in settings save results
Bil0000 Sep 8, 2026
0a2a90b
style(server): format issue provider callbacks
Bil0000 Sep 8, 2026
6eaa628
merge: sync issue workspace with main
Bil0000 Sep 9, 2026
6c55d26
fix(web): validate issue links before opening
Bil0000 Sep 9, 2026
34bcc8e
fix(web): render one pull request tab strip
Bil0000 Sep 9, 2026
6943b97
fix(web): allow assignment from partial candidate lists
Bil0000 Sep 9, 2026
56e1ef4
fix(web): report stale work item match results
Bil0000 Sep 9, 2026
bb383ad
fix(web): refresh cached composer issues after debounce
Bil0000 Sep 9, 2026
ad49ffd
fix(web): preserve editor focus in issue list controls
Bil0000 Sep 9, 2026
00452ea
fix(web): close linked issue panels from the keyboard
Bil0000 Sep 9, 2026
a2314e5
fix(web): preserve provider context in issue handoffs
Bil0000 Sep 9, 2026
22b8a62
fix(web): label attachments with their actual host
Bil0000 Sep 9, 2026
14cffd8
test(web): cover events between issue comment groups
Bil0000 Sep 9, 2026
2ed23a2
fix(server): keep committed writes successful after cleanup defects
Bil0000 Sep 9, 2026
a40b856
fix(server): prevent stale issue cache reuse after eviction
Bil0000 Sep 9, 2026
1b2f6e2
fix(server): retry Azure state updates only for state rules
Bil0000 Sep 9, 2026
1316a77
fix(server): preserve Bitbucket reads when permissions fail
Bil0000 Sep 9, 2026
5bafb3f
fix(server): normalize Bitbucket permission filters
Bil0000 Sep 9, 2026
37ba298
fix(server): report incomplete GitLab issue reads
Bil0000 Sep 9, 2026
beb1cce
test(server): clear the GitHub budget after quota checks
Bil0000 Sep 9, 2026
1b92be5
fix(server): use Linear references in all work item prompts
Bil0000 Sep 9, 2026
b5fd245
docs: clarify how issue content is marked as untrusted
Bil0000 Sep 9, 2026
0bdaaa1
fix(web): mark linked issue content as untrusted
Bil0000 Sep 9, 2026
5a95226
fix(web): keep list search inactive in detail panels
Bil0000 Sep 9, 2026
b9b97f8
fix(web): restore the main pull request list layout
Bil0000 Sep 9, 2026
ee5669f
fix(web): preserve pull request detail UI with shared rendering
Bil0000 Sep 9, 2026
462a1c1
fix(web): align issue details and status rows with pull requests
Bil0000 Sep 9, 2026
06253c1
feat(web): add issue sorting and compact filter controls
Bil0000 Sep 9, 2026
6f1cd6d
feat(web): manage Linear from Issue Tracking integrations
Bil0000 Sep 9, 2026
e5c4a8c
chore: merge latest main into issue workspace
Bil0000 Sep 9, 2026
f7ee5eb
fix(web): remove unused filter exports after component reuse
Bil0000 Sep 9, 2026
e085fd0
test(server): complete the issue sorting page fixture
Bil0000 Sep 9, 2026
5f34dd3
feat(web): manage Linear accounts inline in integration settings
Bil0000 Sep 10, 2026
93e5269
fix(web): preserve provider menu order when switching filters
Bil0000 Sep 10, 2026
5d5cb7b
feat(web): give issue and PR providers a dedicated filter control
Bil0000 Sep 10, 2026
4c49833
merge: sync latest main into the issues branch
Bil0000 Sep 10, 2026
b743786
fix(web): preserve issue drafts and match comment order labels
Bil0000 Sep 10, 2026
62cbe9f
fix(web): keep markdown PR links in the owning issue panel
Bil0000 Sep 10, 2026
2918d88
fix: sync issue tracking with current main
Bil0000 Sep 13, 2026
eaf58e1
fix(web): align unavailable filter checks
Bil0000 Sep 13, 2026
a5f7f20
test(web): remove ineffective email redaction assertions
Bil0000 Sep 13, 2026
3fce8da
fix(web): show issues supported by any environment
Bil0000 Sep 13, 2026
ccae43f
fix(web): preserve task-specific composer notices
Bil0000 Sep 13, 2026
b075ac0
test(web): keep source-control mentions sendable
Bil0000 Sep 13, 2026
5a9f2a3
fix(server): reject unsafe issue template contact links
Bil0000 Sep 17, 2026
71ca659
fix(server): require write scope for Linear migration status
Bil0000 Sep 17, 2026
49eb337
fix(server): repair Azure work item queries and paging
Bil0000 Sep 17, 2026
5bb0c59
fix(server): tolerate removed Bitbucket permission endpoint
Bil0000 Sep 17, 2026
b62e56f
fix(server): reject unsupported GitLab issue mentions
Bil0000 Sep 17, 2026
e1e86dd
fix(server): retain every selected work item in task prompts
Bil0000 Sep 17, 2026
82ac04b
fix(web): wait for issue template rules before filing
Bil0000 Sep 17, 2026
0a1830b
fix(web): keep issue comment pages ordered and current
Bil0000 Sep 17, 2026
e02b990
refactor(server): acquire issue registry dependencies through Effect
Bil0000 Sep 17, 2026
c501385
refactor(issues): remove unshipped Linear migration paths
Bil0000 Sep 17, 2026
89c1a51
refactor(issues): make tracker connections provider neutral
Bil0000 Sep 17, 2026
7d2301b
refactor(issues): drive client behavior from provider capabilities
Bil0000 Sep 17, 2026
13c9523
test(server): cover secret chmod failure after commit
Bil0000 Sep 17, 2026
9e484bd
test(server): decouple settings write regression from issues
Bil0000 Sep 17, 2026
271f244
docs(issues): explain Linear setup and environment limits
Bil0000 Sep 17, 2026
66a39b9
Merge main to retain current-thread PR panel actions
Bil0000 Sep 17, 2026
f2cb185
fix(server): keep Linear credential key private
Bil0000 Sep 17, 2026
e1714fd
test(settings): handle optional tracker entries in assertions
Bil0000 Sep 17, 2026
b27ef8e
Merge main and align issue shortcuts with platform context
Bil0000 Sep 18, 2026
3033fda
Merge main into feat/issues-page
juliusmarminge Sep 18, 2026
1d3255c
merge: sync issues page with main
Bil0000 Sep 19, 2026
22d1c05
feat(issues): link issues to agent threads
Bil0000 Sep 19, 2026
20af72c
fix(web): simplify issue actions and rich text editing
Bil0000 Sep 19, 2026
1e54b8e
fix(issues): prepare ready tasks in new worktrees
Bil0000 Sep 19, 2026
6c92b1a
fix(issues): satisfy CI export and projection checks
Bil0000 Sep 19, 2026
5481c69
feat(issues): save links between issues and pull requests
Bil0000 Sep 19, 2026
475b025
feat(web): manage saved issue and pull request links
Bil0000 Sep 19, 2026
948fabd
merge: reconcile issues page with current main
Bil0000 Sep 21, 2026
b136441
fix(issues): preserve provider filters and pagination
Bil0000 Oct 4, 2026
13fe6eb
fix(web): open related PRs inside thread issue panels
Bil0000 Oct 4, 2026
17711c5
chore: merge current main into issues branch
Bil0000 Oct 4, 2026
b9686bd
style(server): format issue MCP error handling
Bil0000 Oct 4, 2026
c749c27
test(issues): use table-driven Azure sort cases
Bil0000 Oct 4, 2026
c7b019a
fix(web): use standard styles in issue controls
Bil0000 Oct 4, 2026
95fa038
chore: retry CI after runner DNS failure
Bil0000 Oct 4, 2026
c6cf99d
chore: merge main into issues page branch
Bil0000 Oct 4, 2026
ed30369
chore: merge latest main into issues page branch
Bil0000 Oct 4, 2026
afa022c
feat(mcp): read issue bodies and comments
Bil0000 Oct 4, 2026
1cb5766
feat(agents): link issues when work starts
Bil0000 Oct 4, 2026
a0ac780
feat(server): keep linked issue titles and state current
Bil0000 Oct 4, 2026
0ca2fdf
feat(web): show linked issues and PRs in one panel
Bil0000 Oct 4, 2026
a508bf4
feat(web): link issues and PRs from the chat menu
Bil0000 Oct 4, 2026
02d7a9a
fix(web): enable issue linking on issue-only environments
Bil0000 Oct 4, 2026
2bc02b0
feat(agents): link issues created for the thread
Bil0000 Oct 4, 2026
326199a
feat(mcp): format complete issue reads and page comments efficiently
Bil0000 Oct 4, 2026
e90dda4
merge: update issue read parent
Bil0000 Oct 4, 2026
35879de
perf(issues): reduce polling and refresh linked issues after edits
Bil0000 Oct 4, 2026
5018c0c
merge: update issue auto-link parent
Bil0000 Oct 4, 2026
e3db345
feat(web): accept precise issue references and reject PR previews
Bil0000 Oct 4, 2026
c39165d
merge: integrate issue updates with saved source projects
Bil0000 Oct 4, 2026
a424cd8
docs(web): explain supported issue link references
Bil0000 Oct 4, 2026
ffc2332
merge: update linked items parent for chat actions
Bil0000 Oct 4, 2026
4ceac3b
feat(web): link and unlink issue URLs from chat
Bil0000 Oct 4, 2026
bcfe723
chore: merge main and adapt issue MCP caller context
Bil0000 Oct 5, 2026
366518d
perf(server): reuse PR safeguards for issue refreshes
Bil0000 Oct 5, 2026
e971ed7
merge: carry issue request safeguards into linked items
Bil0000 Oct 5, 2026
c3543f4
merge: carry issue request safeguards into chat linking
Bil0000 Oct 5, 2026
b192ba7
merge: preserve current issues work in the follow-up stack
Bil0000 Oct 5, 2026
26d9110
merge: update issue read tools with the current issues PR
Bil0000 Oct 5, 2026
97ad47a
merge: carry current issues changes into automatic linking
Bil0000 Oct 5, 2026
f931792
merge: carry current issues changes into live refreshes
Bil0000 Oct 5, 2026
fd6d1f4
merge: carry current issues changes into linked items
Bil0000 Oct 5, 2026
874be64
merge: align all issue stack layers with the current base
Bil0000 Oct 5, 2026
21f4622
merge: include issue linking follow-ups in the issues PR
Bil0000 Oct 5, 2026
0edc9ab
merge: resolve issues PR with current main
Bil0000 Oct 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions apps/server/src/auth/RpcAuthorization.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,22 @@ describe("RPC authorization scopes", () => {
);
});

it("allows read access for the side-effect-free Linear status", () => {
expect(requiredScopeForRpcMethod(WS_METHODS.issueTrackersStatus)).toBe(
AuthOrchestrationReadScope,
);
});

it("separates saved work item link reads from writes", () => {
expect(requiredScopeForRpcMethod(WS_METHODS.workItemsListLinks)).toBe(
AuthOrchestrationReadScope,
);
expect(requiredScopeForRpcMethod(WS_METHODS.workItemsLink)).toBe(AuthOrchestrationOperateScope);
expect(requiredScopeForRpcMethod(WS_METHODS.workItemsUnlink)).toBe(
AuthOrchestrationOperateScope,
);
});

it("rejects unknown RPC method names", () => {
for (const method of ["server.notRegistered", "toString", "constructor"]) {
expect(() => requiredScopeForRpcMethod(method)).toThrow(
Expand Down
24 changes: 24 additions & 0 deletions apps/server/src/auth/RpcAuthorization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,30 @@ export const RPC_REQUIRED_SCOPES = {
// write like every other one.
[WS_METHODS.pullRequestsReviewerCandidates]: AuthOrchestrationReadScope,
[WS_METHODS.pullRequestsRequestReviewers]: AuthOrchestrationOperateScope,
[WS_METHODS.issuesList]: AuthOrchestrationReadScope,
[WS_METHODS.issuesDetail]: AuthOrchestrationReadScope,
[WS_METHODS.issuesActivity]: AuthOrchestrationReadScope,
[WS_METHODS.issuesCommentsPage]: AuthOrchestrationReadScope,
[WS_METHODS.issuesRunAction]: AuthOrchestrationOperateScope,
[WS_METHODS.issuesComment]: AuthOrchestrationOperateScope,
[WS_METHODS.issuesUpdateComment]: AuthOrchestrationOperateScope,
[WS_METHODS.issuesSetReaction]: AuthOrchestrationOperateScope,
[WS_METHODS.issuesCreate]: AuthOrchestrationOperateScope,
[WS_METHODS.issuesUpdate]: AuthOrchestrationOperateScope,
[WS_METHODS.issuesSetLabels]: AuthOrchestrationOperateScope,
[WS_METHODS.issuesSetAssignees]: AuthOrchestrationOperateScope,
[WS_METHODS.issuesLabelCandidates]: AuthOrchestrationReadScope,
[WS_METHODS.issuesAssigneeCandidates]: AuthOrchestrationReadScope,
[WS_METHODS.issuesTemplates]: AuthOrchestrationReadScope,
[WS_METHODS.issuesInvalidate]: AuthOrchestrationReadScope,
[WS_METHODS.issueTrackersStatus]: AuthOrchestrationReadScope,
[WS_METHODS.issueTrackersConnect]: AuthOrchestrationOperateScope,
[WS_METHODS.issueTrackersDisconnect]: AuthOrchestrationOperateScope,
[WS_METHODS.issueTrackersBind]: AuthOrchestrationOperateScope,
[WS_METHODS.workItemsFindMatches]: AuthOrchestrationOperateScope,
[WS_METHODS.workItemsListLinks]: AuthOrchestrationReadScope,
[WS_METHODS.workItemsLink]: AuthOrchestrationOperateScope,
[WS_METHODS.workItemsUnlink]: AuthOrchestrationOperateScope,
[WS_METHODS.pullRequestsLabelCandidates]: AuthOrchestrationReadScope,
[WS_METHODS.pullRequestsSetLabels]: AuthOrchestrationOperateScope,
[WS_METHODS.sourceControlLookupRepository]: AuthOrchestrationReadScope,
Expand Down
1 change: 1 addition & 0 deletions apps/server/src/environment/ServerEnvironment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ it.layer(NodeServices.layer)("ServerEnvironmentLive", (it) => {
expect(second.capabilities.attachmentUploads).toBe(true);
expect(second.capabilities.fileAttachments).toEqual({ maxUploadBytes: 50 * 1024 * 1024 });
expect(second.capabilities.pullRequests).toBe(true);
expect(second.capabilities.workItemLinks).toBe(true);
expect(second.capabilities.requiredWorktreeBootstrap).toBe(true);
expect(second.capabilities.usagePriceOverrides).toBe(true);
expect(second.capabilities.threadActiveReorder).toBe(true);
Expand Down
2 changes: 2 additions & 0 deletions apps/server/src/environment/ServerEnvironment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ export const make = Effect.gen(function* () {
questionAttachments: true,
fileAttachments: { maxUploadBytes: PROVIDER_SEND_TURN_MAX_FILE_BYTES },
pullRequests: true,
issues: true,
workItemLinks: true,
pullRequestChecks: true,
inlineMessageContext: true,
requiredWorktreeBootstrap: true,
Expand Down
12 changes: 12 additions & 0 deletions apps/server/src/git/GitManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ function createTextGeneration(
Effect.succeed({
title: "Update workflow",
}),
findWorkItemMatches: () => Effect.succeed({ matches: [] }),
...overrides,
};

Expand Down Expand Up @@ -367,6 +368,17 @@ function createTextGeneration(
}),
),
),
findWorkItemMatches: (input) =>
implementation.findWorkItemMatches(input).pipe(
Effect.mapError(
(cause) =>
new TextGenerationError({
operation: "findWorkItemMatches",
detail: "fake text generation failed",
...(cause !== undefined ? { cause } : {}),
}),
),
),
};
}

Expand Down
Loading
Loading