[FOLIO-2078] FOLIO snapshot/stable breaks after UI regression tests pass Created: 05/Jun/19 Updated: 03/Jun/20 Resolved: 05/Jun/19 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Bug | Priority: | P2 |
| Reporter: | John Malconian | Assignee: | John Malconian |
| Resolution: | Done | Votes: | 0 |
| Labels: | platform-backlog | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Sprint: | CP: sprint 65 |
| Story Points: | 3 |
| Development Team: | Core: Platform |
| Description |
|
folio-snapshot break in a major way when UI regression tests pass and the instance is promoted to 'stable'. folio-snapshot-core, however, does not exhibit the same behavior when promoted to stable. |
| Comments |
| Comment by John Malconian [ 05/Jun/19 ] |
|
Whenever a folio-snapshot is promoted to folio-snapshot-stable, the stripes webpack is rebuilt with a new Okapi URL. It was this rebuild that was causing issues. For the initial stripes build, (yarn install; yarn build) NODE_ENV is unset (I think it defaults to 'development'). However, the subsequent webpack rebuild is performed with NODE_ENV=production even though the initial 'yarn install' has NODE_ENV set to 'development' (not 'production'). Resolved issue by updating the 'rebuild-stripes' Ansible role to unset NODE_ENV. |