SSWConsulting / SSWConsulting/SSW.Rules

✨ Rules Sync - Update JSON without full site redeploy

Open
#2,513 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

02-medium YakShaver
Dominant language
TypeScript
Stars
26
Forks
17
Avg merge
14h 39m
Merged PRs (30d)
2

Description

Requested by: @Aibono1225 via YakShaver.ai 🦬
cc: @Marxoz, @Aibono1225, @PothieuG, @Freego1783

Hi Team!

  🟥  Watch the video (2 min 2 sec)

  Url from screen share: https://ssw.com.au/people/gert-marx/

Pain

On the SSW People Profile page, the "Latest Rules" list is powered by a pre-generated JSON file (people-latest-rules.json) that contains the five most recently modified rules per person. This approach improves performance, but currently requires a scheduled workflow that rebuilds and redeploys the entire Rules website daily to keep the JSON up to date. We need a more efficient solution to update or regenerate this JSON without triggering a full site rebuild and redeploy.

Acceptance Criteria
  1. The people-latest-rules.json file is kept up to date without requiring a full website rebuild or redeploy.
  2. The solution continues to return the top five last-modified rules per person as currently defined.
  3. The performance of the SSW People Profile page is not degraded compared to the current implementation.
  4. The update mechanism is automated and does not require manual intervention.
  5. The solution is documented, including how and when the JSON is updated.
Screenshot

Screenshot
Figure: People profile latest rules sourced from static JSON showing only top five modified items

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the scheduled workflow that generates people-latest-rules.json and how the SSW People Profile page consumes it. Define an automated update path that preserves the top five last-modified rules per person without a full site redeploy, then verify page performance and document how and when the JSON is updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
build-system, devops, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.