Skip to content

GitHub action error while saving DelayJS lists because json file is too large #6055

@engahmeds3ed

Description

@engahmeds3ed

Before submitting an issue please check that you’ve completed the following steps:

  • Made sure you’re on the latest version Yes, it's not a plugin related issue, it's devops.
  • Used the search feature to ensure that the bug hasn’t been reported before Yes

Describe the bug
When releasing, we have github action to get latest json file from our backend and save commit it to develop branch before releasing as a fallback data provider.
The json file started to be bigger and we face exactly this issue:
jsdaniell/create-json#5

So we need to find a better way to save this json file

To Reproduce
Steps to reproduce the behavior:

  1. Create a pull request from develop to trunk
  2. Check the actions
  3. You will find a failure as in here: https://github.com/wp-media/wp-rocket/actions/runs/5587635026/jobs/10213256511

Expected behavior
Json file should be created and committed without any problem.

Backlog Grooming (for WP Media dev team use only)

  • Reproduce the problem
  • Identify the root cause
  • Scope a solution
  • Estimate the effort

Metadata

Metadata

Assignees

No one assigned

    Labels

    dev initiativeneeds: r&dNeeds research and development (R&D) before a solution can be proposed and scoped.priority: mediumIssues which are important, but no one will go out of business.severity: moderateFeature isn't working as expected but has work around to get same valuetype: bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions