Skip to content

fix(cloud): align Worker core stub to main — prevent 0-export promote break - #11902

Merged
NubsCarson merged 1 commit into
developfrom
fix/align-stub-develop-to-main
Jul 3, 2026
Merged

fix(cloud): align Worker core stub to main — prevent 0-export promote break#11902
NubsCarson merged 1 commit into
developfrom
fix/align-stub-develop-to-main

Conversation

@NubsCarson

Copy link
Copy Markdown
Member

After #11861 promote, runWithTrajectoryPurpose in the Worker stub was deduped differently per branch — #11865 (main) kept the top copy, #11857 (develop) kept the other. A develop→main merge applies both removals → 0 exports → Worker build breaks on the next promote (verified via git merge-tree). Aligns develop's stub byte-identical to main's (the version already on prod). Future promotes are a no-op on this file. — [cloud-frontdoor]

… break

After the #11861 promote, the runWithTrajectoryPurpose Worker stub was deduped
DIFFERENTLY on each branch: #11865 removed the second copy on main (kept the
top 'pass-through' one); #11857 removed the top copy on develop (kept the
other). A develop->main 3-way merge would then apply BOTH removals and drop
runWithTrajectoryPurpose entirely (verified: merge-tree yields 0 exports) —
silently re-breaking the Worker build on the next promote.

Fix: make develop's stub byte-identical to main's (single 'pass-through'
export, matching what's already deployed on prod). Future promotes are now a
no-op on this file. Functionally identical no-op stub either way.
@NubsCarson
NubsCarson merged commit 6bffde9 into develop Jul 3, 2026
30 of 35 checks passed

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Your trial has ended. Reactivate Greptile to resume code reviews.

@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b3c35f27-dfde-42f6-b642-5fc3a472a0a2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/align-stub-develop-to-main

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@claude

claude Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Claude encountered an error —— View job


I'll analyze this and get back to you.

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.

1 participant