Skip to content

Conversation

@jumski
Copy link
Contributor

@jumski jumski commented Oct 8, 2025

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Oct 8, 2025

⚠️ No Changeset found

Latest commit: c6c0dc8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor Author

jumski commented Oct 8, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge:queue - adds this PR to the back of the merge queue
  • hotfix:queue - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@nx-cloud
Copy link

nx-cloud bot commented Oct 8, 2025

View your CI Pipeline Execution ↗ for commit c6c0dc8

Command Status Duration Result
nx run-many -t build --projects client,dsl --co... ✅ Succeeded 4s View ↗
nx affected -t build --configuration=production... ✅ Succeeded <1s View ↗
nx affected -t lint typecheck test --parallel -... ✅ Succeeded 2s View ↗

☁️ Nx Cloud last updated this comment at 2025-10-08 07:43:02 UTC

@jumski jumski marked this pull request as ready for review October 8, 2025 07:42
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2025

🔍 Preview Deployment: Website

Deployment successful!

🔗 Preview URL: https://pr-236.pgflow.pages.dev

📝 Details:

  • Branch: chore-update-demo-app
  • Commit: de137cdba31ffb8b5abb9e6f1a03c234fc8b830a
  • View Logs

_Last updated: _

@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2025

🔍 Preview Deployment: Playground

Deployment successful!

🔗 Preview URL: https://pr-236--pgflow-demo.netlify.app

📝 Details:

  • Branch: chore-update-demo-app
  • Commit: de137cdba31ffb8b5abb9e6f1a03c234fc8b830a
  • View Logs

_Last updated: _

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting

Comment on lines +1 to +2
-- Modify "steps" table
ALTER TABLE "pgflow"."steps" ADD CONSTRAINT "opt_start_delay_is_nonnegative" CHECK ((opt_start_delay IS NULL) OR (opt_start_delay >= 0)), ADD COLUMN "opt_start_delay" integer NULL;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0 Badge Add new column before applying constraint

The migration adds opt_start_delay and a non‑negative check in one ALTER TABLE, but the constraint is declared before the column exists (ALTER TABLE ... ADD CONSTRAINT …, ADD COLUMN …). PostgreSQL executes clauses left‑to‑right, so this statement fails because the constraint references a non‑existent column. The migration will halt on apply and none of the later changes run until the order is corrected.

Useful? React with 👍 / 👎.

Comment on lines +1 to +2
-- Modify "step_task_record" composite type
ALTER TYPE "pgflow"."step_task_record" ADD ATTRIBUTE "task_index" integer;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0 Badge Update poll_for_tasks to match expanded step_task_record

The type pgflow.step_task_record now includes a task_index attribute, but helper functions such as pgflow.poll_for_tasks (defined in earlier migrations and unchanged here) still return only flow_slug, run_id, step_slug, input and msg_id. After this migration, calling poll_for_tasks will raise “structure of query does not match function result type” because the SELECT no longer matches the six‑column composite. Any worker relying on the function will fail to fetch tasks until the function is recreated to emit task_index as well.

Useful? React with 👍 / 👎.

@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 8, 2025

Merge activity

  • Oct 8, 7:50 AM UTC: jumski added this pull request to the Graphite merge queue.
  • Oct 8, 7:51 AM UTC: CI is running for this pull request on a draft pull request (#237) due to your merge queue CI optimization settings.
  • Oct 8, 7:51 AM UTC: Merged by the Graphite merge queue via draft PR: #237.

graphite-app bot pushed a commit that referenced this pull request Oct 8, 2025
@graphite-app graphite-app bot closed this Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants