Skip to content

ci(sync-fork): sync by repository URL with the dedicated sync-fork key - #747

Merged
eyevinn-developer[bot] merged 1 commit into
mainfrom
ci/sync-fork-repository-url
Nov 3, 2026
Merged

eyevinn-developer[bot] merged 1 commit into
mainfrom
ci/sync-fork-repository-url

Conversation

@birme

@birme birme commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Pin @osaas/cli to 4.35.0 and run osc admin sync-fork --repository-url https://github.com/Eyevinn/intercom-frontend instead of passing the serviceId.
  • --repository-url skips the catalog lookup (GET catalog.svc.<env>.osaas.io/service/<serviceId>). Since the 2026-10-27 prod API key rotation that lookup can fail with invalid authorization header, and the CLI still exits 0, so runs look green without syncing.

Lessons

The CLI exits 0 when the catalog lookup fails, so a green "Sync OSC Fork" run proves nothing; check the log for Sync fork status. Same change as Eyevinn/open-live#616 and Eyevinn/open-live-studio#253.

What a human does next

OSC_API_KEY in this repo works with either the platform key or the dedicated sync-fork key, because the new calls are accepted for both. After merging, run "Sync OSC Fork" for prod once and confirm the log shows Sync fork status: succeeded.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 noreply@anthropic.com

Pin @osaas/cli to 4.35.0 and call admin sync-fork with --repository-url, which skips the catalog lookup that the dedicated key cannot make.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@birme birme self-assigned this Nov 2, 2026

@eyevinn-pr-reviewer eyevinn-pr-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review — LGTM

Automated review (daily-backlog-pr Phase 3.5, orphan PR). Small, self-contained CI change to .github/workflows/sync-fork.yml: pins @osaas/cli@4.35.0 (aligns with the dependency policy's prefer-pinned-versions rule) and switches the sync-fork trigger from a positional service name to --repository-url <repo>. Uses the existing OSC_API_KEY secret; no new secret, no app-code impact. CI green.

@eyevinn-developer
eyevinn-developer Bot merged commit 276e1cf into main Nov 3, 2026
4 checks passed
@eyevinn-developer
eyevinn-developer Bot deleted the ci/sync-fork-repository-url branch November 3, 2026 06:54
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