Skip to content

✨ Rules Sync - Update JSON without full site redeploy #2513

@Aibono1225

Description

@Aibono1225

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions