chore: update fullsend shim workflow#2101
Conversation
Update the shim workflow to match the current template in the .fullsend config repo.
Site previewPreview: https://f6b3b120-site.fullsend-ai.workers.dev Commit: |
|
🤖 Finished Review · ✅ Success · Started 10:42 PM UTC · Completed 10:50 PM UTC |
ReviewFindingsHigh
Info
|
| --- | ||
| # --- fullsend managed below - do not edit --- | ||
| # lint-workflow-size: max-lines=280 | ||
| # fullsend shim workflow (workflow_call mode) |
There was a problem hiding this comment.
[high] runtime mechanism failure
The PR removes the sentinel comment # --- fullsend managed below - do not edit --- from this repo's shim workflow. The reconcile-repos.sh script (line 29) depends on this sentinel to separate user-owned headers from managed content via extract_managed_content() and extract_user_header(). When the sentinel is absent, managed_content_b64() treats the entire file as managed, while the template retains the sentinel. This causes a content mismatch on the next reconciliation run, creating unnecessary churn. The template at internal/scaffold/fullsend-repo/templates/shim-workflow-call.yaml still contains both lines, so this PR creates divergence rather than syncing.
Suggested fix: Do not remove the sentinel comment. If the intent is to remove it from all enrolled repos, update the template and the sentinel-dependent logic in reconcile-repos.sh in the same PR.
There was a problem hiding this comment.
The review bot is right on this one. Verified that:
- The template at
internal/scaffold/fullsend-repo/templates/shim-workflow-call.yamlstill has the---and sentinel comment reconcile-repos.shusesSENTINEL="# --- fullsend managed below - do not edit ---"to split user-owned headers from managed content viaextract_managed_content()/extract_user_header()- The test suite (
reconcile-repos-test.sh) also asserts the sentinel is present in generated blobs
Removing these two lines from the enrolled repo while the template keeps them will cause managed_content_b64() to compute a different hash on the next reconciliation run, triggering another onboard PR to restore them — creating an infinite loop of churn.
This PR should not be merged as-is. If the intent is to drop the sentinel from shim workflows, it needs to be done atomically: update the template, update reconcile-repos.sh sentinel logic, and update the test assertions in the same change.
This PR updates the fullsend shim workflow to match the current template in the
.fullsendconfig repo.The shim content has drifted from the template — this brings it back in sync.