You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Explain smaller download sizes on the sample files page, update four Go modules and the OSV action, and stop the site waiting for macOS - #263
GitHub Pages sends text files and some pictures with Content-Encoding: gzip. While one of them downloads, the Content-Length a browser sees is the compressed size: sample.txt arrives as 272 468 bytes, sample.xml as 126 805. The saved files are 1 048 576 bytes, and all 62 files on the live site match SHA256SUMS after download. The page promised the exact size without saying this, so a visitor who watched the download could conclude the file was wrong. It now says so in all 22 languages, in the paragraph that promises the size.
Dependency updates
This takes the changes of the Dependabot pull requests #254, #255, #256, #257 and #259, which are closed in favour of this one.
module
from
to
linked by
what changed
golang.org/x/text
0.43.0
0.44.0
tfg, tfg-gui
language/parse.go: the length guard of Parse counts _ as well as -
golang.org/x/image
0.46.0
0.48.0
tfg-gui only
ccitt and tiff/lzw
github.com/gen2brain/jxl
0.2.0
0.2.1
tfg, tfg-gui
seven files of the decoder, encoder.go unchanged
github.com/gen2brain/gav1d
0.2.6
0.2.7
tfg, tfg-gui
CDEF and loop restoration filters (amd64, arm64, riscv64) and avif/sequence.go, both encode.go unchanged
Each Go pull request was red only on TestTheNoticesFileNamesTheVersionsThatAreActuallyBuilt. THIRD-PARTY-NOTICES.md now names the new versions.
The licence and patent files of all four modules are byte for byte the same as before. No module entered or left the graph (go.sum changes only these four).
OSV lists no advisory on any of the old versions.
The golden value guards pass, and the 62 sample files generated by the new build match the sums the site publishes, sample.avif and sample.jxl among them. CI runs the byte guards on all three systems, which covers the arm64 code that changed in gav1d.
google/osv-scanner-action v2.7.1 only changed the tag of its Docker image. .github/osv-scanner-digest holds the digest of the v2.7.1 image (sha256:3fa25659…), which is the same in the pull of the red run of build(deps): bump the github-actions group with 2 updates #259 and in the registry index.
The site no longer waits for the jobs on macOS
GitHub has repeatedly cancelled the macOS jobs of CI before their first step, for want of a macOS arm64 runner. Each time the Site workflow was skipped, because it waited for the whole CI run to succeed, and the site stayed behind main until someone reran those jobs (after the merge of #262, about three and a half hours). Nothing the site shows comes from macOS: the pages are compared with the program by the guards on every system, and the sample files are made on Linux.
A new first job of pages.yml, ci, with contents: read and actions: read, reads the jobs of the CI run that triggered it (filter=latest) and asks .github/scripts/site_gate.py. The site goes out when every job outside macOS succeeded or was skipped, a test on ... verdict among them succeeded, and the commit is still the tip of main. The last condition stops a later try of an older run from putting its site back over a newer one.
A verdict of no leaves the job green and the jobs after it skipped, with a notice saying why. A script that cannot judge (no jobs listed, a line it cannot read) turns the job red.
The script runs from main as it is, never from the commit it judges.
samples and publish need ci and ask for its verdict beside the two existing push questions, in place of workflow_run.conclusion == 'success'.
On the jobs of the main run of 2026-11-24, whose macOS jobs GitHub cancelled, the gate says yes on the first try instead of after the third.
TestTheSiteIsPublishedOnlyForAPushToThisRepository now reads each job's condition on its own, with canaries. Each condition is written in three jobs, and the old search of the whole file found the copy left when one job lost its own. New guard TestTheSiteWaitsForEveryJobOfCIButTheOnesOnMacOS runs the script on a table of job lists.
This changes files under .github/workflows/, so it has to be merged from the browser.
GitHub Pages sends text files and some pictures with gzip, so the
Content-Length a browser sees while one of them downloads is the
compressed size (sample.txt 272 468 bytes, sample.xml 126 805). The
saved files are 1 048 576 bytes and match SHA256SUMS. The page now
says so in every language, beside the sentence that promises the size.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The four Go modules take the versions of the Dependabot pull requests
#254 to #257: golang.org/x/text 0.44.0, golang.org/x/image 0.48.0,
github.com/gen2brain/jxl 0.2.1 and github.com/gen2brain/gav1d 0.2.7.
THIRD-PARTY-NOTICES.md names the new versions, which is what kept each
of those pull requests red. Their licence and patent files are the same
as before, no module entered or left the graph, and the encoders of jxl
and gav1d did not change. The golden values hold, and the 62 sample
files made by the new build match the sums on the site.
google/osv-scanner-action moves to v2.7.1 (#259), which only changed
the tag of its image. .github/osv-scanner-digest holds the digest of
that image, read from the pull in the run and from the registry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No actionable comments were generated in the recent review.
Walkthrough
The pull request updates OSV scanner and reporter action pins from v2.7.0 to v2.7.1, changes the stored OSV scanner digest, and updates four Go module versions and their third-party notices.
The pull-request and weekly workflows use OSV action v2.7.1. The stored scanner digest also changes.
Update Go module versions go.mod, THIRD-PARTY-NOTICES.md
The gav1d, jxl, x/image, and x/text module versions increase. The notices document the updated versions, unchanged licence and patent files, and no module graph additions or removals.
Merge Risk: Minimal · up to e0e5f · assessed changes only
Path filters excluded changed files. This rating applies only to the assessed changes.
Pre-merge checks: 14
Check name
Status
Explanation
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names three unrelated changes: a sample-files page note about smaller download sizes, four Go module updates plus the OSV action, and a change so the site stops waiting for macOS. It is spec…
Tests For Changed Behavior
The check passes. The PR's changed behavior is CI/config and content, not non-UI runtime product behavior, and the PR also adds and updates guard tests for the CI change. **What changed (HEAD ba6115c …
No Secrets Or Debug Leftovers
The committed PR diff (base 938b208 on main, head ba6115c) was inspected. It contains no added private AI agent files (CLAUDE.md, CLAUDE.local.md, AGENTS.md, .claude/), no .env files, and no hardcoded…
No Hardcoded Ui Styling
The check applies only when the PR adds or changes GUI code (XAML, Slint, Fyne, Tkinter, WPF code-behind). The PR does not touch GUI code. Evidence: - The raw summary lists the changed files: `.github…
No Obvious Performance Problems
The check looks for clear, concrete performance problems in code this PR introduces or touches. The PR's changes are: - Sample-page prose explaining gzip-related download sizes, in 22 languages. No ru…
Desktop Robustness
The check covers desktop application behavior: asset loading, settings/data writes, culture-sensitive parsing, long operations, destructive actions, background work after window close, admin rights, a…
Safe File Parsing
The check covers code that reads, imports or exports files (XML, XAML, CSV, XLSX, JSON, YAML, translations, themes, settings, archives) in unsafe ways. The PR does not add any such parser or exporter.…
System Changes Are Reversible
The check applies only when the PR adds or changes code that modifies system state, such as network filters, proxy, firewall, system time, process hooking or injection, Windows services, registry, or …
Clear User-Facing Text
The check applies, because the PR adds user-facing text: a new explanatory paragraph in the "Every format" section of the sample files page, in 22 languages (for example web/content/en/samples.html li…
No Resource Leaks
The PR does not add or change runtime code that holds resources over time. I compared HEAD (ba6115c) with main (938b208). The changed files are: - Static site pages in web/ (sample-files text in 22 …
Scope, Duplication And Docs
The PR head (ba6115c) compared with origin/main changes 56 files. Each change group is named in the title and description: the sample-page gzip note in 22 languages (web/content and web/public samples…
Full details: Title check
Explanation
The title names three unrelated changes: a sample-files page note about smaller download sizes, four Go module updates plus the OSV action, and a change so the site stops waiting for macOS. It is specific and descriptive, so it is not vague. It is too broad and lists several items, so it only partially reflects the main change. The title also exceeds the roughly 140-character guideline in no way (135 characters), so length is acceptable. The dependency and OSV updates are real parts of the changeset, and the page note matches the objectives, so the title is partially related rather than unrelated.
Full details: Tests For Changed Behavior
Explanation
The check passes. The PR's changed behavior is CI/config and content, not non-UI runtime product behavior, and the PR also adds and updates guard tests for the CI change. What changed (HEAD ba6115c vs main 938b208, 56 files): - .github/workflows/pages.yml: new ci gate job and changed publish conditions. This is CI config. - .github/scripts/site_gate.py (new, 106 lines): the gate logic. It lives under .github/ and is CI tooling, not product runtime. - .github/workflows/osv-*.yml, .github/osv-scanner-digest: CI and config. - go.mod, go.sum, THIRD-PARTY-NOTICES.md: dependency version bumps. The PR does not change its own Go code. - web/content/*/samples.html and web/public/*: explanatory copy in the sample-files page. This is UI text. Tests for the changed behavior: - internal/guard/sitegate_test.go (new): TestTheSiteWaitsForEveryJobOfCIButTheOnesOnMacOS runs site_gate.py on a table of job lists. It covers green, macOS-cancelled, red Linux or Windows, running, no verdict, moved tip, no jobs, and malformed lines. It also has two canary cases that must pass. - internal/guard/publishcondition_test.go: rewritten to check each job's if: and needs: on its own, with canaries that must fail. - internal/guard/pagesdeploy_test.go: refactored to share needsOf. The assertions are unchanged. - internal/guard/mutationcoverage_test.go: adds a mutation-probe entry for the new guard. - internal/guard/notices_test.go is unchanged and still covers the notices versions. Weakened assertions: - The old publish guard required the literal workflow_run.conclusion == 'success'. The new guard drops that needle. The PR description explains the replacement: the ci job's publish output now answers that question "in place of workflow_run.conclusion == 'success'". The new per-job checks are stricter than the old whole-file search. I judge this a justified, documented change, not a weakening. - No test was deleted or skipped. No guard assertion was removed without replacement. Not verified: I did not run go test or the Python gate. Build tools are not available in this sandbox. The verdict rests on reading the test and script code.
Full details: No Secrets Or Debug Leftovers
Explanation
The committed PR diff (base 938b208 on main, head ba6115c) was inspected. It contains no added private AI agent files (CLAUDE.md, CLAUDE.local.md, AGENTS.md, .claude/), no .env files, and no hardcoded credentials, tokens, API keys, or private keys. The only newly added files are .github/scripts/site_gate.py and internal/guard/sitegate_test.go. Pattern searches over the added lines found no private URLs, local absolute paths (C:\Users, /home, /Users, /root), machine or user names, internal hostnames or IPs, or personal e-mail addresses. The only URLs in the diff are unchanged context or none at all. Hits that were reviewed and judged not to be violations: - GH_TOKEN: ${{ github.token }} in pages.yml is a reference to GitHub's built-in token, not a hardcoded secret. - print(...) calls in site_gate.py are intentional CI status output to stderr and stdout (for example, "the site goes out" or "the site does not go out"), not debug leftovers. - fmt.Sprintf and t.Errorf in the Go guard tests are test assertion messages. No set -x, debugger calls, dbg!, Console.WriteLine, or breakpoint() calls appear in the added lines. The "Generated with Claude Code" line in the PR description is prose metadata, not a file or code artifact.
Full details: No Hardcoded Ui Styling
Explanation
The check applies only when the PR adds or changes GUI code (XAML, Slint, Fyne, Tkinter, WPF code-behind). The PR does not touch GUI code. Evidence: - The raw summary lists the changed files: .github/osv-scanner-digest, .github/workflows/osv-pull-request.yml, .github/workflows/osv-weekly.yml, THIRD-PARTY-NOTICES.md, and go.mod. - The PR description adds the sample-files page text in 22 languages, a ci gate job in pages.yml, a Python script .github/scripts/site_gate.py, and guard tests. None of these is UI code. - The go.mod changes are dependency version bumps, including golang.org/x/image for tfg-gui. They do not set any styling. - The repository does contain Fyne GUI code (internal/guard/*_test.go reference Fyne). No changed file in the PR is GUI source, based on the summary and the file names. Limitation: the full PR diff was not retrievable. The local clone is shallow, and origin/main...HEAD was unavailable. The verdict relies on the provided file list and the PR description. If the full diff contains GUI source edits that the summary omits, this verdict would need to be re-checked.
Full details: No Obvious Performance Problems
Explanation
The check looks for clear, concrete performance problems in code this PR introduces or touches. The PR's changes are: - Sample-page prose explaining gzip-related download sizes, in 22 languages. No runtime code. - Go module version bumps and THIRD-PARTY-NOTICES.md, go.mod, and go.sum updates. No new code paths. - OSV action tag and digest updates in workflow files. - A new ci job in pages.yml and a new .github/scripts/site_gate.py. I read site_gate.py and the ci job. The script runs once per workflow run. It makes two GitHub API calls: one paginated jobs listing (per_page=100) and one commit lookup. It then makes a single linear pass over the job list, which is small. It has no nested loops over potentially large collections, no per-item external calls, and no polling or timers. The job has a 5-minute timeout and does nothing heavy. The workflow change moves the existing publish gate to a new job. It adds no per-item work. No UI list, grid, or bound collection is touched. No clear, concrete performance problem appears in the changed code.
Full details: Desktop Robustness
Explanation
The check covers desktop application behavior: asset loading, settings/data writes, culture-sensitive parsing, long operations, destructive actions, background work after window close, admin rights, and undisclosed network calls. The PR changes none of these areas. Evidence: - The PR file list (raw summary) covers .github/osv-scanner-digest, .github/workflows/osv-pull-request.yml, .github/workflows/osv-weekly.yml, THIRD-PARTY-NOTICES.md, and go.mod. The description adds the sample-files page text in 22 languages, the pages.yml gate, .github/scripts/site_gate.py, and test guards. No GUI, settings, or data-handling source file appears in that list. - The Go change is a version bump in go.mod, go.sum, and the notices file. A dependency bump does not add desktop code. - I read .github/scripts/site_gate.py and .github/workflows/pages.yml at HEAD. The script is CI tooling. It reads a jobs list and the commit SHAs, and it exits with a clear message on a missing or malformed input. The gh api calls are read-only and are described in the workflow comments, so they are not undisclosed. It has no settings file, no culture-sensitive parsing, and no destructive action. The workflow holds contents: read and actions: read in the ci job. - The repository checkout has a single commit, so a full base-to-head diff could not be produced. The file list above comes from the PR summary, and it is consistent with the PR description. This limits the evidence, but it does not show any desktop-relevant change. No explicit failure condition of this check is introduced.
Full details: Safe File Parsing
Explanation
The check covers code that reads, imports or exports files (XML, XAML, CSV, XLSX, JSON, YAML, translations, themes, settings, archives) in unsafe ways. The PR does not add any such parser or exporter. Evidence from the checked-out head (ba6115c, "Publish the site without waiting for the jobs on macOS"): - The only new code file is .github/scripts/site_gate.py. It reads one tab-separated text file, given as argv[1], using open(path, encoding="utf-8") and str.split("\t"). It does not use eval, exec, pickle, yaml.load, XML parsing or any other deserializer. It writes no CSV, XLSX or formula output. Its only output is print to the log and exit codes. - Malformed input is handled. A line without a name and conclusion, or an empty job list, calls cannot() and exits 2. The ci job in pages.yml then fails, as the PR describes. - Input size is bounded by the GitHub jobs API (per_page=100, --paginate). The script reads the file whole. This is a minor scale note, not a crash or hang risk for a CI job list. - pages.yml writes the file with gh api ... --jq '... | @tsv'. jq @tsv escapes tabs and newlines in job names, so a name cannot inject extra columns. The job names are not passed to a shell. The run: block uses only $RUN_ID, $HEAD_SHA and $tip from env:, and the script receives the file path and SHAs as quoted arguments. - The script comes from main (sparse checkout of .github/scripts), not from the judged commit. - The sample-page changes are HTML/text prose in 22 languages. The dependency changes are go.mod/go.sum version bumps and the OSV action tag. None of these add file parsing or export code. No failure condition in the check is matched by changed code. Not applicable: no XML/XAML/CSV/XLSX/YAML/archive handling is added or changed in this PR.
Full details: System Changes Are Reversible
Explanation
The check applies only when the PR adds or changes code that modifies system state, such as network filters, proxy, firewall, system time, process hooking or injection, Windows services, registry, or drivers. This PR does not do that. The changed files, per the raw summary, are: - The sample files page text, which explains gzip-related download sizes in 22 languages. - Go module bumps in go.mod and THIRD-PARTY-NOTICES.md: golang.org/x/text, golang.org/x/image, gen2brain/jxl, and gen2brain/gav1d. - OSV scanner action tag and digest updates in .github/workflows/osv-*.yml and .github/osv-scanner-digest. - A new ci gate job in pages.yml, backed by .github/scripts/site_gate.py. It reads CI job status through the GitHub API and decides whether the site deploys. It does not change any state on a user's machine or in the network. - Tests for the workflow conditions. A local diff was not available in the sandbox, so I could not run a keyword search over the patch. The file list in the summary is enough to decide applicability. None of these changes touches the listed system-state categories. Because the check is not applicable, the verdict is PASS.
Full details: Clear User-Facing Text
Explanation
The check applies, because the PR adds user-facing text: a new explanatory paragraph in the "Every format" section of the sample files page, in 22 languages (for example web/content/en/samples.html lines 39-41, and the matching public pages). The check's listed warning conditions were tested against that text and the rest of the PR: - Controls and tooltips: the PR adds no buttons, icons or controls. - Vague button labels: none added. - Error messages: none added to the site. The only new strings in .github/workflows/pages.yml are CI notices for maintainers, such as "The site does not move for $HEAD_SHA. The lines above say why." These are not user-facing site text, and they do not match the listed conditions. - Confirmations (Yes/No): none added. - Terminology: the new text uses the same terms as the page. The table column is "Size" (site.json colSize), and the paragraph says "the size in the table". Checksums are "SHA-256" in every language, as on the rest of the page. No listed condition is met, so the check passes. Non-blocking clarity suggestions for the English paragraph: 1. "some pictures" does not say which picture types. If the gzipped types are known from the sample list, name them, for example: "The server sends text files and some picture types (for example .svg) compressed". 2. "The file it saves" uses "it" for the browser. Use the noun: "The file the browser saves has the size shown in the table and matches its SHA-256." 3. Optional: add a pointer to the check, for example: "To check a file, compare its SHA-256 with SHA256SUMS above."
Full details: No Resource Leaks
Explanation
The PR does not add or change runtime code that holds resources over time. I compared HEAD (ba6115c) with main (938b208). The changed files are: - Static site pages in web/ (sample-files text in 22 languages) and THIRD-PARTY-NOTICES.md. - go.mod and go.sum: version bumps for golang.org/x/text, golang.org/x/image, gen2brain/jxl and gen2brain/gav1d. The bumps change no repository code. - .github/osv-scanner-digest and the OSV workflow pins. - .github/workflows/pages.yml, which adds a short-lived ci job. - .github/scripts/site_gate.py, a short-lived CI script. - Four internal/guard/*_test.go files. No .go production file changed. The new script opens its job list with a with block, so the file closes on every path. It runs once and exits, with no timers, subscriptions, goroutines, caches or unbounded queues. The ci job runs gh api once in a 5-minute CI step with read-only permissions. No code path in this PR holds a handle, timer or memory past its scope. The gav1d and jxl native (FFI) changes come from upstream version bumps. The PR does not change how this repository calls them, so no resource lifecycle changed here.
Full details: Scope, Duplication And Docs
Explanation
The PR head (ba6115c) compared with origin/main changes 56 files. Each change group is named in the title and description: the sample-page gzip note in 22 languages (web/content and web/public samples pages), the four Go module bumps with go.mod, go.sum and THIRD-PARTY-NOTICES.md, the OSV action and digest bumps, and the Pages publish gate (pages.yml, the new .github/scripts/site_gate.py, and guard tests). No change falls outside the stated scope, and no refactor is mixed in. Check against each criterion: - Scope: every significant change is described. The guard registry entry in mutationcoverage_test.go is part of the new guard the description names. The bundling of four unrelated subjects (site copy, dependency bumps, OSV action, CI gate) is a repository-convention concern (CONTRIBUTING.md asks for one subject per pull request). It is not a mix of refactors with a feature or fix, so it does not meet this criterion. - Duplication: site_gate.py parses a jobs list, which is similar in shape to race_parts.py. Its job is different (it judges macOS exclusion and HEAD against the tip of main). I found no existing helper that already provides this functionality. - Docs: the sample-page explanation is itself the user-facing documentation and is updated in all languages. THIRD-PARTY-NOTICES.md is updated for the dependency changes. The CHANGELOG covers changes the tool user would notice and is not updated here. The publish gate is a maintainer-facing CI change. SECURITY.md's description of the publish workflow (push-only, read-only jobs before the deploy job) is still accurate, because the new ci job holds only contents: read and actions: read. CONTRIBUTING.md's "CI has to be green" statement does not contradict the new gate. - Compatibility: no CLI, public API, configuration format or persisted data format changed. The sample bytes are reported to match the published sums, so no breaking-change section is required. Observations, not failures under this check: the PR has no CHANGELOG entry, and the site-publish behavior change (publish proceeds with macOS jobs failing) is documented only in the workflow comments and site_gate.py docstring.
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.
Reviewing files that changed from the base of the PR and between 938b208 and e0e5f55.
Files ignored due to path filters: 45
go.sum is excluded by !**/*.sum, !**/go.sum
web/content/ar/samples.html is excluded by !**/*.html
web/content/cs/samples.html is excluded by !**/*.html
web/content/de/samples.html is excluded by !**/*.html
web/content/en/samples.html is excluded by !**/*.html
web/content/es/samples.html is excluded by !**/*.html
web/content/fr/samples.html is excluded by !**/*.html
web/content/hi/samples.html is excluded by !**/*.html
web/content/id/samples.html is excluded by !**/*.html
web/content/it/samples.html is excluded by !**/*.html
web/content/ja/samples.html is excluded by !**/*.html
web/content/ko/samples.html is excluded by !**/*.html
web/content/nl/samples.html is excluded by !**/*.html
web/content/pl/samples.html is excluded by !**/*.html
web/content/pt-BR/samples.html is excluded by !**/*.html
web/content/ro/samples.html is excluded by !**/*.html
web/content/ru/samples.html is excluded by !**/*.html
web/content/th/samples.html is excluded by !**/*.html
web/content/tr/samples.html is excluded by !**/*.html
web/content/uk/samples.html is excluded by !**/*.html
web/content/vi/samples.html is excluded by !**/*.html
web/content/zh-Hans/samples.html is excluded by !**/*.html
web/content/zh-Hant/samples.html is excluded by !**/*.html
web/public/ar/sample-files/index.html is excluded by !**/*.html, !**/web/public/**
web/public/cs/ukazkove-soubory/index.html is excluded by !**/*.html, !**/web/public/**
web/public/de/beispieldateien/index.html is excluded by !**/*.html, !**/web/public/**
web/public/es/archivos-de-ejemplo/index.html is excluded by !**/*.html, !**/web/public/**
web/public/fr/fichiers-d-exemple/index.html is excluded by !**/*.html, !**/web/public/**
web/public/hi/sample-files/index.html is excluded by !**/*.html, !**/web/public/**
web/public/id/contoh-file/index.html is excluded by !**/*.html, !**/web/public/**
web/public/it/file-di-esempio/index.html is excluded by !**/*.html, !**/web/public/**
web/public/ja/sample-files/index.html is excluded by !**/*.html, !**/web/public/**
web/public/ko/sample-files/index.html is excluded by !**/*.html, !**/web/public/**
web/public/nl/voorbeeldbestanden/index.html is excluded by !**/*.html, !**/web/public/**
web/public/pl/przykladowe-pliki/index.html is excluded by !**/*.html, !**/web/public/**
web/public/pt-br/arquivos-de-exemplo/index.html is excluded by !**/*.html, !**/web/public/**
web/public/ro/fisiere-de-exemplu/index.html is excluded by !**/*.html, !**/web/public/**
web/public/ru/sample-files/index.html is excluded by !**/*.html, !**/web/public/**
web/public/sample-files/index.html is excluded by !**/*.html, !**/web/public/**
web/public/th/sample-files/index.html is excluded by !**/*.html, !**/web/public/**
web/public/tr/ornek-dosyalar/index.html is excluded by !**/*.html, !**/web/public/**
web/public/uk/sample-files/index.html is excluded by !**/*.html, !**/web/public/**
web/public/vi/tep-mau/index.html is excluded by !**/*.html, !**/web/public/**
web/public/zh-hans/sample-files/index.html is excluded by !**/*.html, !**/web/public/**
web/public/zh-hant/sample-files/index.html is excluded by !**/*.html, !**/web/public/**
Files selected for processing: 5
.github/osv-scanner-digest
.github/workflows/osv-pull-request.yml
.github/workflows/osv-weekly.yml
THIRD-PARTY-NOTICES.md
go.mod
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Recent review details
Context from checks skipped due to timeout: 30
GitHub Check: part 0
GitHub Check: CodeRabbit
GitHub Check: Python package on macos-latest with Python 3.10
GitHub Check: Python package on windows-latest with Python 3.10
GitHub Check: bill of materials
GitHub Check: Python package on ubuntu-latest with Python 3.14
GitHub Check: guards on windows-latest (part 0 of 2)
GitHub Check: guards on macos-latest (part 1 of 2)
GitHub Check: linters
GitHub Check: Python package on ubuntu-latest with Python 3.10
GitHub Check: guards on ubuntu-latest (part 1 of 2)
GitHub Check: guards on ubuntu-latest (part 0 of 2)
GitHub Check: guards on windows-latest (part 1 of 2)
GitHub Check: the installer installs and leaves
GitHub Check: coverage (part 1 of 2)
GitHub Check: the Chocolatey packages install and leave
GitHub Check: semgrep
GitHub Check: staticcheck
GitHub Check: coverage (part 0 of 2)
GitHub Check: npm package on windows-latest
GitHub Check: npm package on ubuntu-latest
GitHub Check: guards on macos-latest (part 0 of 2)
GitHub Check: what this push touched
GitHub Check: known vulnerabilities
GitHub Check: reference tools actually installed
GitHub Check: import table of the window binary
GitHub Check: npm package on macos-latest
GitHub Check: new vulnerabilities (OSV)
GitHub Check: review new dependencies
GitHub Check: Analyze (go)
Additional context used
Path-based instructions: 4
For every added or upgraded dependency: confirm the package really exists and the name is spelled correctly (typosquatting), it is actively maintained, the license is compatible with this project's license, and it is actually needed (not re...
CodeRabbit configuration file
Files:
go.mod
Check GitHub Actions security: third-party actions pinned to a full commit SHA, minimal `permissions:` block, no `pull_request_target` with checkout of PR code, no untrusted input (`github.event.*.title/body`, branch names) interpolated dir...
CodeRabbit configuration file
Files:
.github/workflows/osv-pull-request.yml
.github/workflows/osv-weekly.yml
Check that documentation matches the actual code in this PR: commands, flags, config keys, file paths, build steps and examples must exist.
CodeRabbit configuration file
Files:
THIRD-PARTY-NOTICES.md
All code in this repository is written by an AI coding agent (Claude Code).
CodeRabbit configuration file
Files:
.github/osv-scanner-digest
.github/workflows/osv-pull-request.yml
.github/workflows/osv-weekly.yml
THIRD-PARTY-NOTICES.md
go.mod
LanguageTool
THIRD-PARTY-NOTICES.md
[grammar] ~242-~242: Ensure spelling is correct
Context: ...` v0.2.7, whose sections are above. The licence and patent files of all four are byte f...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
[grammar] ~243-~243: Use a hyphen to join words.
Context: ...ce and patent files of all four are byte for byte the ones at the versions before...
(QB_NEW_EN_HYPHEN)
[grammar] ~243-~243: Use a hyphen to join words.
Context: ...nd patent files of all four are byte for byte the ones at the versions before, an...
GitHub has cancelled the macOS jobs of CI again and again for want of a
runner, and each time the site waited hours for a rerun although
nothing it shows comes from macOS. A new first job of pages.yml reads
the jobs of the CI run that triggered it and asks site_gate.py: every
job outside macOS succeeded or was skipped, a "test on" verdict among
them succeeded, and the commit is still the tip of main, so a later
try of an older run cannot put its site back over a newer one. A
verdict of no leaves the job green and the jobs after it skipped, and
a script that cannot judge turns it red.
The publish condition guard now reads each job's condition on its own.
Each condition is written in three jobs, and a search of the whole
file found the copy that was left when one job lost its own.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
donislawdev
changed the title
Explain smaller download sizes on the sample files page, and update four Go modules and the OSV action
Explain smaller download sizes on the sample files page, update four Go modules and the OSV action, and stop the site waiting for macOS
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependenciesPull requests that update a dependency file
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sample files page
GitHub Pages sends text files and some pictures with
Content-Encoding: gzip. While one of them downloads, theContent-Lengtha browser sees is the compressed size:sample.txtarrives as 272 468 bytes,sample.xmlas 126 805. The saved files are 1 048 576 bytes, and all 62 files on the live site matchSHA256SUMSafter download. The page promised the exact size without saying this, so a visitor who watched the download could conclude the file was wrong. It now says so in all 22 languages, in the paragraph that promises the size.Dependency updates
This takes the changes of the Dependabot pull requests #254, #255, #256, #257 and #259, which are closed in favour of this one.
golang.org/x/texttfg,tfg-guilanguage/parse.go: the length guard ofParsecounts_as well as-golang.org/x/imagetfg-guionlyccittandtiff/lzwgithub.com/gen2brain/jxltfg,tfg-guiencoder.gounchangedgithub.com/gen2brain/gav1dtfg,tfg-guiavif/sequence.go, bothencode.gounchangedTestTheNoticesFileNamesTheVersionsThatAreActuallyBuilt.THIRD-PARTY-NOTICES.mdnow names the new versions.go.sumchanges only these four).sample.avifandsample.jxlamong them. CI runs the byte guards on all three systems, which covers the arm64 code that changed in gav1d.google/osv-scanner-actionv2.7.1 only changed the tag of its Docker image..github/osv-scanner-digestholds the digest of the v2.7.1 image (sha256:3fa25659…), which is the same in the pull of the red run of build(deps): bump the github-actions group with 2 updates #259 and in the registry index.The site no longer waits for the jobs on macOS
GitHub has repeatedly cancelled the macOS jobs of CI before their first step, for want of a macOS arm64 runner. Each time the Site workflow was skipped, because it waited for the whole CI run to succeed, and the site stayed behind main until someone reran those jobs (after the merge of #262, about three and a half hours). Nothing the site shows comes from macOS: the pages are compared with the program by the guards on every system, and the sample files are made on Linux.
pages.yml,ci, withcontents: readandactions: read, reads the jobs of the CI run that triggered it (filter=latest) and asks.github/scripts/site_gate.py. The site goes out when every job outside macOS succeeded or was skipped, atest on ...verdict among them succeeded, and the commit is still the tip of main. The last condition stops a later try of an older run from putting its site back over a newer one.samplesandpublishneedciand ask for its verdict beside the two existing push questions, in place ofworkflow_run.conclusion == 'success'.TestTheSiteIsPublishedOnlyForAPushToThisRepositorynow reads each job's condition on its own, with canaries. Each condition is written in three jobs, and the old search of the whole file found the copy left when one job lost its own. New guardTestTheSiteWaitsForEveryJobOfCIButTheOnesOnMacOSruns the script on a table of job lists.This changes files under
.github/workflows/, so it has to be merged from the browser.🤖 Generated with Claude Code
Summary by CodeRabbit