Skip to content

chore: fix oncall fill-schedule authentication - #4423

Merged
sxlijin merged 1 commit into
canaryfrom
sxlijin/Fix-oncall-fill-schedule-auth-header
Aug 14, 2026
Merged

sxlijin merged 1 commit into
canaryfrom
sxlijin/Fix-oncall-fill-schedule-auth-header

Conversation

@sxlijin

@sxlijin sxlijin commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • upgrade peter-evans/create-pull-request from v6 to v8, which includes native compatibility with checkout v6 credential files
  • explicitly target canary while retaining the PAT that allows the generated pull request to trigger CI

Root cause

In the failed scheduled run, actions/checkout@v6 persisted GITHUB_TOKEN in a credential file included from local Git config. create-pull-request@v6 only checked the direct local http.https://github.com/.extraheader, did not see checkout's included Authorization header, and added the PAT as another Authorization header. Git sent both during git remote prune origin, and GitHub returned HTTP 400 with Duplicate header: "Authorization".

Upstream fixed this checkout v6 incompatibility in create-pull-request#4230, released in v7.0.9; v8 includes that fix and uses the supported Node 24 runtime.

Validation

  • actionlint .github/workflows/oncall.yml
  • ./tools/bctl oncall check
  • isolated ./tools/bctl oncall fill-schedule in a temporary archive: appended 14 weeks, changed only schedule.oncall, and the resulting schedule passed oncall check
  • safe test strategy: do not dispatch the production fill-schedule path from this feature branch because it can mutate the shared oncall/fill-schedule branch and create/update a real PR with a production PAT; exercise the real path after merge via the normal scheduled/manual run

@vercel

vercel Bot commented Aug 14, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
beps Ready Ready Preview Aug 14, 2026 5:36pm
promptfiddle2 Ready Ready Preview Aug 14, 2026 5:36pm

Request Review

@coderabbitai

coderabbitai Bot commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4e8a4f73-93e9-4ac9-8746-9975d30d81ec

📥 Commits

Reviewing files that changed from the base of the PR and between bbce7c0 and 442446d.

📒 Files selected for processing (1)
  • .github/workflows/oncall.yml

📝 Walkthrough

Walkthrough

The fill-schedule workflow now uses peter-evans/create-pull-request@v8, documents the PAT’s CI-triggering purpose, and targets canary as the base branch.

Changes

On-call schedule workflow

Layer / File(s) Summary
Fill-schedule pull-request settings
.github/workflows/oncall.yml
The job updates the action from v6 to v8, adds PAT documentation, and sets canary as the base branch.

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

Merge Risk: ⚪ Minimal · up to 44244

This change updates the workflow authentication handling and targets the canary branch while preserving CI-triggering credentials; no actionable merge-blocking risk remains after normal checks and review.

Poem

A rabbit hops through workflows bright,

“V8 makes schedules just right!”
Canary waits as branches align,
CI wakes on the proper sign,
And carrots grow in every pipeline.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the main change: fixing authentication for the on-call fill-schedule workflow.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch sxlijin/Fix-oncall-fill-schedule-auth-header

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.

@github-actions

Copy link
Copy Markdown

⏭️ Performance benchmarks were skipped

Perf benchmarks (CodSpeed) are opt-in on pull requests — they no longer run on every push. They always run automatically after merge to canary/main.

To run them on this PR, do any of the following, then push a commit (or re-run CI):

  • Add RUN_CODSPEED=1 to the PR description, or
  • Include run-perf or /perf in the PR title or any commit message.

@vercel
vercel Bot temporarily deployed to Preview – beps August 14, 2026 17:29 Inactive

sxlijin commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@sxlijin
sxlijin marked this pull request as ready for review August 14, 2026 17:33
@coderabbitai

coderabbitai Bot commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor
⚠️ Action not completed

Already reviewed.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@vercel
vercel Bot temporarily deployed to Preview – promptfiddle2 August 14, 2026 17:36 Inactive
@sxlijin sxlijin changed the title Fix oncall fill-schedule authentication chore: fix oncall fill-schedule authentication Aug 14, 2026
@sxlijin
sxlijin added this pull request to the merge queue Aug 14, 2026
Merged via the queue into canary with commit a2dc75e Aug 14, 2026
37 checks passed
@sxlijin
sxlijin deleted the sxlijin/Fix-oncall-fill-schedule-auth-header branch August 14, 2026 17:45
meefs pushed a commit to meefs/baml that referenced this pull request Aug 14, 2026
## Summary

- upgrade the remaining `peter-evans/create-pull-request` workflow
reference from v6 to v8
- leave every repository reference on v8, including the oncall workflow
updated by BoundaryML#4423
- retain the existing PAT, explicit `canary` base, and path restrictions
for the size-gate baseline refresh PR

## Why

create-pull-request v8 supports checkout v6's credential-file behavior
and uses the supported Node 24 runtime. Keeping all uses on the same
current major avoids the duplicate Authorization header incompatibility
fixed in v7.0.9 and removes the Node 20 deprecation from these jobs.

## Validation

- `actionlint .github/workflows/oncall.yml
.github/workflows/size-gate-baseline-refresh.yml`
- repository-wide hidden-file search confirms exactly two
create-pull-request references and both use v8
- repository-wide guard confirms no create-pull-request v0-v7, `main`,
or `master` references remain
- full `actionlint` was also run and reports pre-existing errors in
unrelated workflows; neither affected workflow has an error

This branch was previously deployed

2 inactive deployments
Preview – promptfiddle2 — 442446d6 Deployed Aug 14, 2026 by vercel[bot]
Preview – beps — 442446d6 Deployed Aug 14, 2026 by vercel[bot]
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