Skip to content

fix(ci): name the project so the sync can read the Barnacle key - #32

Merged
yordis merged 1 commit into
mainfrom
yordis/fix-barnacle-project-id
Nov 24, 2026
Merged

yordis merged 1 commit into
mainfrom
yordis/fix-barnacle-project-id

Conversation

@yordis

@yordis yordis commented Nov 24, 2026

Copy link
Copy Markdown
Member
  • The weekly sync has failed since Nov 13: on a merge conflict it falls back to a Barnacle pull request, and the key read is denied without a project, so the fork fell behind upstream with nothing to show for it.

Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The sync workflow’s Google Cloud auth step now sets project_id from the repository’s BARNACLE_PROJECT_ID variable. Its existing condition and workload identity provider configuration are unchanged.

Changes

Google Cloud authentication

Layer / File(s) Summary
Set the authentication project
.github/workflows/trogonstack-sync.yml
The Google Cloud auth step receives project_id from vars.BARNACLE_PROJECT_ID.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Possibly related PRs

Merge Risk: Minimal · up to e17a6

This change passes the Barnacle project ID to the Google Cloud auth step so the sync can read the key when it falls back to a Barnacle pull request. Before relying on it, confirm that the BARNACLE_PROJECT_ID repository or environment variable is set, since an unset value would leave the weekly sync failure unresolved. The code change itself is small and low-risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the change: the Google Cloud auth step now sets project_id from the BARNACLE_PROJECT_ID variable so the Barnacle key can be read. It matches the single-line workflow change in trogonst…
Description check Passed The description explains the failure. Since Nov 13, the weekly sync falls back to a Barnacle pull request on merge conflict, and the key read is denied without a project. This relates directly to the …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the change: the Google Cloud auth step now sets project_id from the BARNACLE_PROJECT_ID variable so the Barnacle key can be read. It matches the single-line workflow change in trogonstack-sync.yml and the stated objective of PR #32.

Full details: Description check

Explanation

The description explains the failure. Since Nov 13, the weekly sync falls back to a Barnacle pull request on merge conflict, and the key read is denied without a project. This relates directly to the workflow change that sets project_id.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR

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

A rabbit checks the workflow line,
A project ID is set in time.
The auth step knows which project to see,
From Barnacle’s repository key.
Then off I hop, with sync complete!

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b091cced-3eb4-4db4-92ce-c6956a081969
Commits

Reviewing files that changed from the base of the PR and between f218903 and e17a666.

Files selected for processing: 1

  • .github/workflows/trogonstack-sync.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@yordis
yordis merged commit 876053a into main Nov 24, 2026
4 checks passed
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