Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
IT Security NachrichtenMehrere Probleme in GLib (Ubuntu)(21.09.2026 um 22:23 Uhr)
IT Security NachrichtenZwei Probleme in gstreamer1-plugins-base (Red Hat)(21.09.2026 um 22:23 Uhr)
IT Security NachrichtenAnthropic-linked CVEs pile up, attackers mostly shrug(22.09.2026 um 00:32 Uhr)
IT Security DownloadsGitHub Release: microsoft/WSL v2.9.13 (22.09.2026)(22.09.2026 um 00:16 Uhr)
IT NachrichtenBattery Size Upgrades Inbound for Galaxy S27 Ultra and Pro(21.09.2026 um 23:50 Uhr)
IT NachrichtenGoogle Play Services Update Brings Motion Assist(22.09.2026 um 00:29 Uhr)
IT Security NachrichtenMehrere Probleme in GLib (Ubuntu)(21.09.2026 um 22:23 Uhr)
IT Security NachrichtenZwei Probleme in gstreamer1-plugins-base (Red Hat)(21.09.2026 um 22:23 Uhr)
IT Security NachrichtenAnthropic-linked CVEs pile up, attackers mostly shrug(22.09.2026 um 00:32 Uhr)
IT Security DownloadsGitHub Release: microsoft/WSL v2.9.13 (22.09.2026)(22.09.2026 um 00:16 Uhr)
IT NachrichtenBattery Size Upgrades Inbound for Galaxy S27 Ultra and Pro(21.09.2026 um 23:50 Uhr)
IT NachrichtenGoogle Play Services Update Brings Motion Assist(22.09.2026 um 00:29 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

trunk/7098fc1dae6590bf1eccebb297207414a2623a0f: Upload docs preview from a workflow_run job, not the OSDC pod (#184414)

Summary The OSDC (k8s pod) docs build cannot upload docs previews to S3: fork PRs cannot authenticate via OIDC from the build job, and we don't want to grant the pod's IAM role S3 write access on doc-previews/. Move the upload out of the…

0
↗ Quelle (github.com)
Reagiere als Erste:r — dein Feedback zählt!

Summary



  • The OSDC (k8s pod) docs build cannot upload docs previews to S3: fork PRs cannot authenticate via OIDC from the build job, and we don't want to grant the pod's IAM role S3 write access on doc-previews/.

  • Move the upload out of the build pod. build-docs-osdc now stages the built docs as a GHA artifact (docs-preview-osdc-<docs_type>) along with a pr-metadata.txt that records the PR number.

  • A new upload-docs-preview workflow is triggered by workflow_run on completion of the pull workflow. It runs in the base-repo context (full OIDC + secrets), downloads the staged artifact, and performs the aws s3 sync to s3://doc-previews/pytorch/pytorch/<PR#>[/cppdocs]. This works for fork PRs.

  • The EC2 docs upload path (which uses the EC2 instance profile credentials) is unchanged.

  • The C++ docs coverage PR comment stays in _docs.yml but is now gated on the PR being from a branch in the base repo, so the read-only fork GITHUB_TOKEN no longer causes spurious failures.

  • The OSDC nightly C++ dry-run upload step is removed; if needed it can be restored later by extending the new uploader to trigger on additional workflows.


Follow-ups (out of scope here)



  • Update the trust policy of arn:aws:iam::308535385114:role/arc so it can be assumed from this workflow_run workflow (the OIDC subject points to the base repo, so this should already be compatible).

  • Optionally drop S3 write to doc-previews/ from the OSDC pod's IAM policy now that the pod no longer uploads.


Test plan



  • Open a same-repo PR after this lands; verify docs-preview-osdc-python and docs-preview-osdc-cpp artifacts are produced by linux-docs.

  • Verify the Upload docs preview workflow_run job runs to completion and uploads to s3://doc-previews/pytorch/pytorch/<PR#>/ and <PR#>/cppdocs/.

  • Verify the preview URLs resolve: https://docs-preview.pytorch.org/pytorch/pytorch/<PR#>/index.html and .../<PR#>/cppdocs/index.html.

  • Open a fork PR (or simulate one); confirm the artifacts upload and the workflow_run uploader still publishes the preview (previously the OSDC path silently no-op'd).

  • Confirm the C++ coverage comment still posts on same-repo PRs touching docs/cpp/, and skips cleanly on fork PRs without producing a failed step.


Authored by Claude.

Pull Request resolved: #184414

Approved by: https://github.com/svekars

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten trunk/7098fc1dae6590bf1eccebb297207414a2623a0f: Upload docs preview from a workflow_run job, not the OSDC pod (#184414)

Thematisch verwandte Begriffe: trunk7098fc1dae6590bf1eccebb297207414a2623a0f, Upload, docs, preview · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-49449 | Joplin is an open source note-taking and to-do application that organise…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick