Skip to content

release-train: develop -> staging - #130

Merged
tracebloc-release-train[bot] merged 2 commits into
stagingfrom
release-train/to-staging
Aug 20, 2026
Merged

release-train: develop -> staging#130
tracebloc-release-train[bot] merged 2 commits into
stagingfrom
release-train/to-staging

Conversation

@LukasWodka

@LukasWodka LukasWodka commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Automated promotion by the release train (RFC-0008 D14). Head is the train-managed release-train/to-staging branch (a mirror of develop), so it never collides with a human PR. Merged only when the fr-gate is green.


Note

Medium Risk
Changes CI authentication and token scopes for org kanban updates; mis-scoping would break or silently block board writes, though missing read scopes are documented to fail loudly.

Overview
Tightens credentials for the engineer kanban workflow so neither the job’s default GITHUB_TOKEN nor the release-train App installation token carries more access than the board step needs.

The job now sets permissions: {}, so nothing in the job can use an implicit workflow token grant. The App token mint step adds repositories scoped to the triggering repo so issue/PR reads are not org-wide across every installed repository.

Minting also sets explicit permission-issues: read, permission-pull-requests: read, and permission-organization-projects: write instead of the App’s full installation grant. Inline comments document why all three are required for actions/add-to-project, what a prior too-narrow mint demonstrated, and that org project write is still an assumption to verify on a real board add.

Reviewed by Cursor Bugbot for commit 224b6e1. Bugbot is set up for automated code reviews on this repo. Configure here.

Brings this repo's copy to the fleet canonical form. `add-to-kanban.yml` is a
byte-compared copy, so this is one pass over every repo rather than a fix here.

WHAT CHANGES

  repositories: ${{ github.event.repository.name }}   the two content reads stop
                                                      being org-wide
  permission-issues: read                             add-to-project must RESOLVE
  permission-pull-requests: read                      the triggering node before
  permission-organization-projects: write              it can add it
  permissions: {}                                     the job needs no GITHUB_TOKEN

Without any `permission-*` the mint carried the App's FULL installation grant --
contents+PR write across every installed repo -- and the App holds bypass_reviews
on staging and prod fleet-wide, so the blast radius was merge-past-review rather
than merely write.

WHY THE FILE IS BYTE-IDENTICAL TO backend's. That copy is the one that survived
review: saadqbal caught that `owner:` narrows nothing ("Input 'repositories' is not
set. Creating token for all repositories owned by tracebloc"), and aptracebloc
caught a run cited as evidence that was not one. Copying the corrected version
rather than re-deriving it is the point of a byte-compared file.

VERIFIED, not assumed: run 32255581084 on backend#2181's head exercised these exact
scopes and landed the card (Status=Code review), which settles the one open
question -- `repositories:` scoping does not clip `organization_projects`.

Refs backend#2157.
@LukasWodka

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor 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.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 224b6e1. Configure here.

…m containers) (#126)

Co-authored-by: shujaat hasan <shujaathasan@shujaats-MacBook-Pro.local>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@LukasWodka

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor 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.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit e7f236a. Configure here.

@tracebloc-release-train tracebloc-release-train Bot added gate-nudge Toggled by the release train to (re-)fire the fr-gate and removed gate-nudge Toggled by the release train to (re-)fire the fr-gate labels Aug 20, 2026
@tracebloc-release-train
tracebloc-release-train Bot merged commit 1c3a73d into staging Aug 20, 2026
18 checks passed
@tracebloc-release-train
tracebloc-release-train Bot deleted the release-train/to-staging branch August 20, 2026 09:13
@tracebloc-release-train
tracebloc-release-train Bot restored the release-train/to-staging branch August 20, 2026 09:35
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