Skip to content

Allow docs-sync sessions up to 6 hours - #74

Merged
hsbt merged 1 commit into
ruby:masterfrom
znz:docs-sync-session-duration
Aug 21, 2026
Merged

hsbt merged 1 commit into
ruby:masterfrom
znz:docs-sync-session-duration

Conversation

@znz

@znz znz commented Aug 20, 2026

Copy link
Copy Markdown
Member

Raise max_session_duration on the docs-sync roles to 21600 seconds (6 hours, the GitHub-hosted job limit).

The initial full upload of html/ja died exactly at the 1-hour mark with ExpiredToken (rurema/generated-documents run 32343869053): configure-aws-credentials issues a 1-hour session by default, and the roles cap MaxSessionDuration at the same default. Site-wide regeneration days (template changes) re-upload most of the ~270k objects and can run long.

With the concurrency bump on the workflow side a full upload now fits in well under an hour, so this is a safety margin rather than a hard requirement; the workflows opt in per-run with role-duration-seconds, and normal incremental runs keep using short sessions.

Please apply when convenient — applying together with #75 would make it a single round.


(日本語) docs-sync ロールのセッション上限を 6 時間へ。初回フル sync が既定 1 時間のセッション期限ちょうどで ExpiredToken になった件の保険です。並列度引き上げ後はフルでも 1 時間内に収まるため必須ではありません。#75 とまとめて apply いただけると 1 回で済みます。

🤖 Generated with Claude Code

The initial full upload of html/ja died at the 1-hour mark with
ExpiredToken: configure-aws-credentials issues a 1-hour session by
default and the roles cap MaxSessionDuration at the same default.
Site-wide regeneration days (template changes) re-upload most of the
tree and need longer.

Raise max_session_duration to 21600 (the GitHub-hosted job limit) on
the docs-sync roles; the workflows opt in per-run with
role-duration-seconds.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@hsbt
hsbt merged commit b7cd613 into ruby:master Aug 21, 2026
@znz
znz deleted the docs-sync-session-duration branch August 27, 2026 04:43
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