Repository navigation
chore: upgrade OINK to 1.8.0 and improve reading and upgrade workflows - #578
Merged
Merged
Conversation
- adopt native CSS, BM25 and configuration fields with the existing CSP - centralize toolchain pins and harden candidate build and publish gates - automate baseline evidence, full acceptance, cache validation and recovery
- avoid recording a custom Chromium executable as a Playwright install - cover custom-to-managed resume and independent warning stream failures
- reserve browser and aggregate visual output directories for fresh transactions - recheck managed browser cache using Playwright's native installer - normalize and validate custom Chromium before builds - isolate aggregate visual captures from paired latest evidence - cover transaction collisions, browser cache changes and capture routing
Offer six native presets with Slate by default, separate brand chrome from reader accents, and retain the native shortcut help at the top. Use native timeline/update content on representative bilingual release notes. Reconcile Asciinema marker contracts and search selectors, harden toolchain/dependency recovery, and capture paired upgrade evidence in the existing read-only visual job. Preserve all blocking build, browser, consent and publication gates.
imbajin
marked this pull request as ready for review
November 29, 2026 15:23
MrJs133
approved these changes
Nov 29, 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Purpose and status
Upgrade the HugeGraph website from OINK 1.5.1 to the official 1.8.0 release through the reviewed 1.6.0 migration, improving reading and future upgrade
maintenance.
Companion: ORG PR #76. Source:
hugegraph:chore/oink-1.6.0-upgrade,head
685795ccbe2ba3e54506c9ce4d9d1381b8bd2e9a. ORG CI #442 has passed; the final paired measurements describe this exact head.This PR is open and approved. ASF CI #1851 passed the five-version build, aggregate validation, and browser and visual checks at the same head. The publish job was skipped.
Full report and raw data · Machine-readable verification and review evidence
What readers will notice after the upgrade
① Configuration parameters are easier to find
Search for a parameter, jump to its field, and read its description and default value. Selected Server, PD, and Store configuration pages use the native field component.
This GIF is from the 1.5.1 → 1.6.0 upgrade. Field search and navigation also passed regression checks for 1.8.0. Field layout comparison
② Six reading themes
Slate is the default. Navigation keeps HugeGraph purple, and article links and accents follow the selected theme.
③ Release notes are easier to scan
The English and Chinese HugeGraph 1.8 release notes use native Timeline and Update components to make Java requirements and compatibility changes easier to distinguish. Facts, headings, URLs, and anchors are preserved.
Both screenshot pairs come from CI #442 at the same page state, Before
309011eand After685795c. See the 29-shortcut help panel before and after, and the full visual and measurement report.Confirmed reading behavior
video_embeds: []keeps external videos as link cards. Local playback follows the same-origin and ASF CSP rules.Native reading width, rich copy, local history, Chinese typography, BM25 search, field anchors, Duo View and synchronized scrolling, historical versions, explicit Kapa consent, Print, Markdown, and RSS remain covered. OINK marks GitHub, Ink, News, and Terminal as experimental.
Compatibility and upgrade automation
Pin standard Hugo 0.170.1 and Go 1.27.4 in
toolchain.json, migrate to native CSS, and remove the Sass/Extended requirement. Use the formal release withoutunreleased upstream commits. Retain the small SVG adapter needed by ASF CSP, explicit Kapa consent, AI-disabled behavior, Print, Markdown, RSS and historical
navigation.
Shell stays thin; Python handles preflight, frozen baseline capture, dependency updates, upstream-interface review, validation and reports. Quick iteration
cannot substitute for full acceptance. Historical builds reuse immutable manifests, bounded parallelism and validated caches; Latest is rebuilt.
Recovery validates the frozen baseline's actual theme pin, restores locked npm dependencies across processes, and lets Playwright verify its real installation
cache. Local and CI upgrades both use
GOTOOLCHAIN=local. Evidence capture rejects changed HEADs and uncommitted Hugo inputs, including ignored static files,while correctly handling Unicode filenames. Checks run between captures and before success; failures retain reports and user changes.
The existing read-only visual job collects paired evidence independently of earlier advisory screenshot failures. It selects the nearest theme transition,
refuses incompatible toolchain comparisons, and never advances the reviewed inventory. Firefox/WebKit and Chromium remain blocking checks; publication requires
their successful outcome and consumes the static artifact through the trusted workflow.
See the upgrade SOP for recovery and
acceptance, and native component guidance.
Verification at the latest commit
ORG CI #442 passed on
685795c. The publish job was skipped.Local browser launch was blocked by Unix socket permissions, so browser and visual results come from CI. Safari and iOS device validation remain pending.
Review results
ORG review processed 14 new findings. Of 13 inline findings, 12 were fixed and verified and one was shown to be a false positive. The optional browser-state cache recommendation was declined in favor of the native installer. Fifteen threads were resolved in this round, including two earlier discussions. All 20 ORG threads are resolved.
The shortcut help text overlap was fixed. The geometry check excludes the clipped screen-reader annotation and retains all 29 visible labels and the 4 px separation requirement.
HugeGraph measurements · OINK 1.6.0 → 1.8.0
Reports, raw samples and checksums identify Before
309011e/ OINK 1.6.0 and After685795c/ OINK 1.8.0.Each query has five samples per revision on the same Intel Xeon 6975P-C runner, Chromium 151.0.7922.34 and Node 24.22.3.
The HugeGraph comparison includes content/integration changes and does not use upstream headline figures.
All four queries took longer. Cold medians increased 16.3–28.2 ms and warm medians increased 9.2–14.9 ms. CI #440 also recorded warm increases of 10.7–13.3 ms. The two runs used different CPUs and are reported separately. Cold timing includes opening the search panel and loading required indexes. Warm timing reuses the in-memory search engine. Both include the 80 ms debounce, UI work, and rendering. BM25 execution time was not measured separately. Recheck the response times in ASF staging.
Both language indexes are below the 2 MiB split threshold. A separate large-index fixture verifies splitting and lazy body loading. There are no paired latency measurements for a large HugeGraph index. The table records total emitted assets. First-page transfers were not measured separately.
Build time was 15.952 → 15.037 s, with one observation per revision. The 140.947 → 50.238 s cache exercise measures cold build versus cache restoration and revalidation.
Future upgrades
Upgrade procedure · Native feature guide
Before merging
OINK release notes · v1.6.0 to v1.8.0 diff