Skip to content

Fix opal-plus sync: add fetch-depth for full history#892

Merged
EliMoshkovich merged 1 commit intomasterfrom
PER-14366-fix-opal-plus-sync-workflow-v2
Apr 6, 2026
Merged

Fix opal-plus sync: add fetch-depth for full history#892
EliMoshkovich merged 1 commit intomasterfrom
PER-14366-fix-opal-plus-sync-workflow-v2

Conversation

@EliMoshkovich
Copy link
Copy Markdown
Contributor

Summary

  • Adds fetch-depth: 0 to the opal checkout step in the sync workflow
  • Without full history, the merge step fails with "Could not read object" / "revision walk setup failed" because the shallow clone doesn't have enough objects for git to find a common ancestor between opal and opal-plus

Context

Follow-up to #891 which replaced the broken rebase approach with merge. The merge needs full git history from both repos to work.

Test plan

  • Trigger workflow manually via workflow_dispatch and verify the "Merge opal/master into public-master" step completes

🤖 Generated with Claude Code

The merge needs full git history to find a common ancestor between
opal and opal-plus. Without it, the shallow clone causes
"Could not read object" errors during fetch.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@linear
Copy link
Copy Markdown

linear bot commented Apr 6, 2026

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 6, 2026

Deploy Preview for opal-docs canceled.

Name Link
🔨 Latest commit 2136570
🔍 Latest deploy log https://app.netlify.com/projects/opal-docs/deploys/69d3cd028e676900099cd573

@EliMoshkovich EliMoshkovich merged commit 7d016eb into master Apr 6, 2026
11 of 12 checks passed
@EliMoshkovich EliMoshkovich deleted the PER-14366-fix-opal-plus-sync-workflow-v2 branch April 6, 2026 15:16
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