GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(issues): wake, snooze and settle threads from Linear team statuses by PixPMusic · Pull Request #39940 · pingdotgg/t3code

feat(issues): wake, snooze and settle threads from Linear team statuses #39940

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.

Sign up for GitHub

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
PixPMusic wants to merge 6 commits into pingdotgg:main
base: main
Loading
Loading
from PixPMusic:feat/issue-status-automation
+3,735 −128
Open

feat(issues): wake, snooze and settle threads from Linear team statuses #39940

Changes from 1 commit
Commits
Show all changes
6 commits
Select commit Hold shift + click to select a range
d8f3158
feat(issues): wake, snooze and settle threads from Linear team statuses
PixPMusic Nov 20, 2026
0ff42f0
fix(issues): address review findings on issue status automation
PixPMusic Nov 20, 2026
b50777b
refactor(server): name the issue automation projection reads
PixPMusic Nov 21, 2026
1b854bb
fix(issues): status rules leave threads with auto-settle off alone
PixPMusic Nov 21, 2026
9facb8e
fix(issues): address the second round of review findings
PixPMusic Nov 23, 2026
43d13a3
fix(issues): offer status rules only on a tracker's first account
PixPMusic Nov 23, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
refactor(server): name the issue automation projection reads
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@PixPMusic
PixPMusic committed Nov 23, 2026
commit b50777bf0c8978e2f9d9108ad10e76b03b357dff

Some comments aren't visible on the classic Files Changed page.

There are no files selected for viewing

22 changes: 11 additions & 11 deletions 22 apps/server/src/orchestration-v2/ProjectionStore.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -9014,16 +9014,15 @@ export const layer: Layer.Layer<ProjectionStoreV2, never, SqlClient.SqlClient> =
INDEXED BY idx_orchestration_events_thread_organization
WHERE stream_id = ${threadId} AND ${sql.literal(THREAD_ORGANIZATION_EVENT_CONDITION)}
)`;
const getIssueAutomationRevision: ProjectionStoreV2Shape["getIssueAutomationRevision"] = (
threadId,
) =>
sql<{ readonly revision: number }>`
SELECT ${issueAutomationRevision(sql`${threadId}`)} AS revision
`.pipe(
Effect.map((rows) => rows[0]?.revision ?? 0),
Effect.mapError((cause) => new ProjectionStoreSetupError({ cause })),
);
const getIssueAutomationCandidates: ProjectionStoreV2Shape["getIssueAutomationCandidates"] =
const getIssueAutomationRevision = Effect.fn("ProjectionStore.getIssueAutomationRevision")(
function* (threadId: Parameters<ProjectionStoreV2Shape["getIssueAutomationRevision"]>[0]) {
const rows = yield* sql<{ readonly revision: number }>`
SELECT ${issueAutomationRevision(sql`${threadId}`)} AS revision
`.pipe(Effect.mapError((cause) => new ProjectionStoreSetupError({ cause })));
return rows[0]?.revision ?? 0;
},
);
const getIssueAutomationCandidates = Effect.fn("ProjectionStore.getIssueAutomationCandidates")(
() =>
sql<{ readonly payload_json: string; readonly revision: number }>`
SELECT t.payload_json, ${issueAutomationRevision(sql.literal("t.thread_id"))} AS revision
Expand All @@ -9039,7 +9038,8 @@ export const layer: Layer.Layer<ProjectionStoreV2, never, SqlClient.SqlClient> =
),
),
Effect.mapError((cause) => new ProjectionStoreSetupError({ cause })),
);
),
);

const getOpenRemoteDelegatedTasks: ProjectionStoreV2Shape["getOpenRemoteDelegatedTasks"] = sql<{
readonly thread_id: string;
Expand Down
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.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.