Skip to content

Point build log links at logs.rubyci.org - #661

Merged
hsbt merged 2 commits into
masterfrom
logs-rubyci-cdn
Jul 29, 2026
Merged

Point build log links at logs.rubyci.org#661
hsbt merged 2 commits into
masterfrom
logs-rubyci-cdn

Conversation

@hsbt

@hsbt hsbt commented Jul 29, 2026

Copy link
Copy Markdown
Member

Build log links were generated from the public rubyci S3 bucket. A Fastly service now fronts the same bucket at logs.rubyci.org, so pointing links there cuts S3 GET and egress cost and serves repeat access during triage from the edge.

Server#log_base_uri swaps the host for servers registered under the bucket and leaves every other server on its registered URI, so loguri, diffuri, failuri and recenturi all follow. Object keys are unchanged, and the /coverage and /doxygen redirects move too.

The listing and fetch paths still talk to S3 directly. failtxt_uri and difftxt_uri stay on S3 as well, since they only feed LogExcerpt.capture, which can run before the object is uploaded, and a 404 cached under the one year TTL on /log/ keys would outlive any chance to recover it.

Direct S3 URLs keep working, so this is reversible. The second commit widens the .gitignore pattern so the per-worker databases rake test writes are ignored.

hsbt and others added 2 commits July 30, 2026 07:38
Log links were built from the server's registered URI, which for the
chkbuild servers is a direct URL into the public rubyci S3 bucket. Route
them through the Fastly service in front of the same bucket instead, so
repeated access during triage is served from the edge. Object keys are
unchanged, and the fetch and listing paths still talk to S3 directly.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The existing pattern only matched db/test.sqlite3, so the per-worker
databases rake test writes alongside it (db/test.sqlite3_0 and friends)
showed up as untracked.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@hsbt
hsbt merged commit 582c81d into master Jul 29, 2026
2 checks passed
@hsbt
hsbt deleted the logs-rubyci-cdn branch July 29, 2026 23:13
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