Skip to content

Publish IT Camp article and add custom 404#45

Merged
wauputr4 merged 4 commits into
mainfrom
codex/publish-it-camp-and-404
Jul 21, 2026
Merged

Publish IT Camp article and add custom 404#45
wauputr4 merged 4 commits into
mainfrom
codex/publish-it-camp-and-404

Conversation

@wauputr4

@wauputr4 wauputr4 commented Jul 21, 2026

Copy link
Copy Markdown
Member

Ringkasan

  • sinkronkan artikel IT Camp 2026 yang sudah diterbitkan
  • jalankan sinkronisasi blog setiap jam
  • rapikan header artikel dan metadata commit terbaru
  • tambahkan halaman 404 khusus dan aktifkan fallback Cloudflare Static Assets

Dampak

Artikel IT Camp tersedia pada URL publik, pembaruan blog masuk ke main lebih cepat, dan URL tidak ditemukan tidak lagi menghasilkan respons kosong. Production tetap dipromosikan melalui branch release.

Verifikasi

  • npm test — 20 tes lulus
  • npm run build — 109 halaman, tanpa error/warning
  • npx wrangler deploy --dry-run — berhasil

Summary by CodeRabbit

  • New Features

    • Added a localized 404 page with links to return home or browse projects.
    • Added centered page-header styling for improved blog post presentation.
    • Added a new blog post and updated existing article content and metadata.
  • Improvements

    • Missing static pages now use the site’s custom 404 experience.
    • Content synchronization now runs hourly.
  • Documentation

    • Updated the README to reflect the new synchronization schedule.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 21, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
indopensource-org d171147 Commit Preview URL

Branch Preview URL
Jul 21 2026, 07:42 AM

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@wauputr4, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 36 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 6cc7ce62-d4e8-492b-b414-aab3530f6987

📥 Commits

Reviewing files that changed from the base of the PR and between eef6ef0 and d171147.

📒 Files selected for processing (2)
  • src/data/blog-posts.json
  • src/pages/blog.astro
📝 Walkthrough

Walkthrough

The changes increase content sync frequency, add and revise blog content, introduce centered page-header styling, and add a custom localized 404 page served for missing static assets.

Changes

Content synchronization

Layer / File(s) Summary
Hourly content sync schedule
.github/workflows/sync-content.yml, README.md
The sync workflow now runs hourly at minute 17, and the Auto Sync documentation reflects the new schedule.
Blog content updates
src/data/blog-posts.json
A new blog post is added, while an existing post’s article content and modification metadata are updated.

Site navigation and presentation

Layer / File(s) Summary
Centered blog headers
src/components/PageHeader.astro, src/pages/blog/[...slug].astro
PageHeader supports an optional centered prop, and blog post headings and metadata use centered alignment when enabled.
Custom 404 handling
src/pages/404.astro, wrangler.jsonc
A localized no-index 404 page provides home and projects links, and Wrangler serves it for missing static assets.

Estimated code review effort: 2 (Simple) | ~10 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Wrangler
  participant 404Page
  participant BaseLayout
  participant PageHeader
  participant BaseButton
  Wrangler->>404Page: Serve 404-page for missing assets
  404Page->>BaseLayout: Render noindex, nofollow layout
  404Page->>PageHeader: Render 404 heading and message
  404Page->>BaseButton: Render home and projects links
Loading
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main changes: publishing the IT Camp article and adding a custom 404 page.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/publish-it-camp-and-404

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@wauputr4
wauputr4 marked this pull request as ready for review July 21, 2026 07:13

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a new blog post about IT Camp 2026, introduces a centering option to the PageHeader component, and implements a custom 404 error page configured via Wrangler. Additionally, the README documentation was updated to reflect an hourly sync schedule. However, as noted in the review, the actual GitHub Actions workflow file was not updated to match this new schedule, which could lead to a discrepancy between the documentation and the actual execution.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread README.md

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
.github/workflows/sync-content.yml (1)

17-17: 🩺 Stability & Availability | 🔵 Trivial | ⚡ Quick win

Serialize hourly sync runs before enabling this frequency.

This job performs npm ci, content synchronization, a build, and a push. If a run exceeds 60 minutes or overlaps a manual dispatch, concurrent checkouts can race and one push may fail. Add a workflow-level concurrency group with cancel-in-progress: false.

Proposed configuration
concurrency:
  group: sync-content
  cancel-in-progress: false
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/sync-content.yml at line 17, Add workflow-level
concurrency settings to the sync-content workflow using a stable group such as
sync-content and set cancel-in-progress to false, ensuring scheduled and
manually dispatched runs are serialized rather than canceled or overlapping.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/data/blog-posts.json`:
- Line 18: In src/data/blog-posts.json at lines 18-18, correct the Indonesian
copy by changing “dimana” to “di mana” and “alat alat” to “alat-alat”; at lines
56-56, rewrite “Contoh paling populer Linux, menjalankan...” as “Contoh paling
populer adalah Linux, yang menjalankan...”.

---

Nitpick comments:
In @.github/workflows/sync-content.yml:
- Line 17: Add workflow-level concurrency settings to the sync-content workflow
using a stable group such as sync-content and set cancel-in-progress to false,
ensuring scheduled and manually dispatched runs are serialized rather than
canceled or overlapping.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a54894f3-cbc6-4209-9bca-4d03c5a5beaf

📥 Commits

Reviewing files that changed from the base of the PR and between e568554 and eef6ef0.

📒 Files selected for processing (7)
  • .github/workflows/sync-content.yml
  • README.md
  • src/components/PageHeader.astro
  • src/data/blog-posts.json
  • src/pages/404.astro
  • src/pages/blog/[...slug].astro
  • wrangler.jsonc

Comment thread src/data/blog-posts.json Outdated
@wauputr4

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 15fc710a4c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@wauputr4

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: d171147224

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@wauputr4
wauputr4 merged commit 0b1ba0a into main Jul 21, 2026
2 of 3 checks passed
@wauputr4
wauputr4 deleted the codex/publish-it-camp-and-404 branch July 21, 2026 07:50
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