Releases: department-of-veterans-affairs/content-build
content-preview/v0.0.3981
Release 0.0.3981 ami-020ef7b81d372b6c9
content-preview/v0.0.3980
Release 0.0.3980 ami-032b49acd6ddda97c
3f9b8e2 Temporarily add cron schedule. (#2908)
bypassing as this only affects scheduling for content-release
59613ec Return to old schedule notation. (#2910)
GHA workflow only. Merging.
1d030c9 [BIO] add Form 21-0788 (#2899)
-
[BIO] add Form 21-0788
-
Fix the crossed wires
-
revert unneeded change
2064eac Migrate vagov-content files into this project (#2902)
- Start by copying all the files that are possibly read from vagov-content
After this copy, we get a successful build. After this I'll start trimming things
-
This file doesn't seem to do anything
-
Temporary build comparison script
-
We don't need these files either
Without them, if I build again and compare with the old build, my compare script gives me:
/Users/patrick/Projects/content-build/build/localhost rollup: 0e5e649da88def3ad5a59fb7c82ca88d3731923916870bbbb5e876984c0fdcf1
/Users/patrick/Projects/content-build/build/localhost-old rollup: b9446832a72fe0dba4273b1112798f1ca001d9aa7fcf300948e301203fec2fab
Differences:
only in /Users/patrick/Projects/content-build/build/localhost-old: ask-va/index.html
only in /Users/patrick/Projects/content-build/build/localhost-old: cerner-staging/appointments/index.html
only in /Users/patrick/Projects/content-build/build/localhost-old: cerner-staging/index.html
only in /Users/patrick/Projects/content-build/build/localhost-old: cerner-staging/messaging/index.html
only in /Users/patrick/Projects/content-build/build/localhost-old: cerner-staging/prescriptions/index.html
only in /Users/patrick/Projects/content-build/build/localhost-old: cerner-staging/records/index.html
only in /Users/patrick/Projects/content-build/build/localhost-old: cerner-staging/results/index.html
only in /Users/patrick/Projects/content-build/build/localhost-old: dst/index.html
only in /Users/patrick/Projects/content-build/build/localhost-old: dummy-placeholder.html
only in /Users/patrick/Projects/content-build/build/localhost-old: form-detail-dummy/index.html
only in /Users/patrick/Projects/content-build/build/localhost-old: hrt/index.html
diff: sitemap-cb.xml
/Users/patrick/Projects/content-build/build/localhost: c81bd9cc187f5edd7934ed753f90f9fda6a6b7a32b02db8d318f8eb1f5b0e768
/Users/patrick/Projects/content-build/build/localhost-old: 5bb42d2af0ec7760a1f392f3e08403190a5caa25d1616f56e11cc13e3aefa208
only in /Users/patrick/Projects/content-build/build/localhost-old: vsa/design.html
only in /Users/patrick/Projects/content-build/build/localhost-old: vsa/index.html
which is expected. And if I look at the diff between the sitemap-cb.xml versions, they are expected changes too
- These are apps in the app registry
Not sure why we'd want to generate a different version of these than we do for all the other apps in the registry. The files change slightly, like now including window.contentData json data that we weren't before with the vagov-content version.
-
Undo temporary changes to disable building the VAMC detail pages
-
Update the path in the
preview.jsscript
Tested this with yarn preview and yarn watch locally. I'm not sure why we define these paths differently than we do in src/site/stages/build/options.js, but I'm not going to change it too much
-
Remove all the code that clones that repo or relies on that cloned repo
-
Remove the temporary build-comparison script
e66b837 remove temp scheudle (#2918)
GHA change only; merging.
3926020 Remove tar-fs (dead dependency) (#2905)
It was introduced in 49c8afd and was actually being used at the time, but src/site/stages/build/drupal/api.js no longer uses this dependency, and it's not used anywhere else either.
67cf9c1 VACMS-24049 add workflow permissions (#2916)
-
add workflow permissions
-
add more permissions
-
Update .github/workflows/gha-metrics.yml
Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com
Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com
c64e803 Remove the sinon dependency (#2906)
-
Remove the
sinondependency and update the one place where it was used -
Well, apparently we were using one of those indirect dependencies directly
4b1d391 Don't treat benefits hub intro text as raw HTML (#2923)
-
Don't treat
field_intro_textas HTML in benefits hub (landing_page) -
We might as well fix the mobile text size bug too
080e702 Update content-build to node 22 (#2821)
- Remove native gyp dependencies for Node 22 compatibility
Replace node-libcurl with fs.readFileSync + url.fileURLToPath (Node builtins)
for reading file: URLs in fetchApi.js.
Replace libxmljs2 with cheerio (already a devDependency) for XML parsing in
lookup-non-english-pages-in-sitemap.js.
Remove node-libcurl native build steps from run-postinstall.sh.
This eliminates all native/gyp dependencies, allowing yarn install to work
on both Node 14 and Node 22 without compilation.
-
Update to node 22
-
Remove blob-polyfill from mocha require for Node 22 compatibility
blob-polyfill crashes on Node 22 because it accesses 'document' before
JSDOM sets it up. Node 22 has native Blob support, and mocha-setup.js
already assigns global.Blob from JSDOM for tests.
-
Refactor imports to CommonJS syntax for Node 22 compatibility
-
fix: replace deprecated .buffer() with .arrayBuffer() and remove isomorphic-fetch
- Replace response.buffer() with Buffer.from(await response.arrayBuffer()) in
download-assets.js and download-drupal-assets.js (removed in Node 18+) - Remove require('isomorphic-fetch') from 3 files (Node 22 has native fetch)
- fix: add --exit to mocha config to prevent hanging after tests complete
Node 22's native fetch and other globals leave async handles open,
causing mocha to hang instead of exiting after all tests pass.
- fix: add retry logic to asset downloads for Node 22 fetch
Node 22's built-in fetch (undici) surfaces socket-level errors that
node-fetch/isomorphic-fetch tolerated. Add fetchWithRetry with
exponential backoff (3 attempts) to handle transient network failures
when downloading assets from S3.
Includes unit tests for fetchWithRetry.
-
fix: ensure directory creation is recursive in createDirectory function
-
fix: retry asset downloads on body read failures
Wrap both fetch() and response.arrayBuffer() inside the retry loop
so that mid-transfer socket close errors (TypeError: terminated) are
retried instead of crashing the build. Renamed fetchWithRetry to
downloadWithRetry and updated tests accordingly.
- fix: use 127.0.0.1 instead of localhost for test server
Node 22 prefers IPv6 DNS resolution, so localhost resolves to ::1
instead of 127.0.0.1, causing ECONNREFUSED errors in Cypress tests.
- fix: add wait-for-server step before Cypress tests in CI
Prevents race condition where Cypress starts before the test server
is ready, causing ECONNREFUSED errors.
- debug: add curl checks before/after Cypress tests
Also fix remaining localhost:3002 in homepage test spec.
- fix: update Cypress container image to Node 22
Replace node16 container with node-22.12.0-chrome-131-ff-133-edge-131
to fix server crashes caused by running Node 22 in a Node 16 container.
Also remove debug curl steps.
- ci: install curl and bzip2 in Cypress container
The new Node 22 Cypress container image doesn't include curl or
bzip2, which are needed to download and unpack the production build.
- debug: add crash handlers to test-server and capture output in CI
Add process.on('uncaughtException') and process.on('unhandledRejection')
handlers to prevent Node 22 from silently crashing the test server.
Redirect server output to a log file and dump it after Cypress tests
to diagnose the ECONNREFUSED issue.
- ci: remove debug logging, keep crash handlers
Remove temporary debug log redirection and server output dump step.
Remove process.on('exit') handler. Keep uncaughtException and
unhandledRejection handlers that prevent the server from crashing
under Node 22.
-
Add form-renderer into registry.json (#2796)
-
add form-renderer link
-
add minimal header information
-
removing values
-
add form-renderer
-
set vagovprod to true
-
update url to be my-va
-
Update src/applications/registry.json
Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com
-
remove extraneous info
-
vagovprod false
Co-authored-by: rilorie warmwaffles123@gmail.com
Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com
-
[23250-VACMS] Fix: Some Links on Homepage not enlarging correctly when browser text size increases (#2863)
-
VEBT-2697, VEBT-4798: Update entry URLs (#2858)
-
Update 22-0810 and 22-10272 urls/titles as per IA Spec
-
22-0810 bracket space removed
-
update url and app name for 0989 (#2861)
-
update url and app name for 0989
-
update 0989 appName
-
The table logged by the build script was missing 10 content types (#2868)
The counts here looked like this:
(index) count
benefitPages 416
vaForm 409
healthCareRegionDetailPage 6192
office 1
nodeQa 326
and if you add all those counts up, they total 7344. However, later the output says
Finished 339 queries in 102s with 7510 pages
There were 166 pages missing in this table. After this change, this is the new table, which does total 7510:
(index) count
benefitPages 416
vaForm 409
healthCareRegionDetailPage 6192
office 1
nodeQa 326
landingPage 13
publicationListing 1
faqMultipleQa 23
stepByStep 12
mediaListImages 0
checklist 2
mediaListVideos 1...
content-build/v0.0.3949
set vagovprod to true (#2904) Co-authored-by: rilorie <“warmwaffles123@gmail.com”>
content-build/v0.0.3948
[BIO] 21-4502 Update rootUrl (#2903)
content-preview/v0.0.3979
Release 0.0.3979 ami-005cbb07a7ff03d11
content-preview/v0.0.3978
Release 0.0.3978 ami-0f8665bc653fba3e7
content-preview/v0.0.3977
Release 0.0.3977 ami-03eb15cf30bbe3b0d
content-preview/v0.0.3976
Release 0.0.3976 ami-06a10ec07a8f02cb0
content-preview/v0.0.3975
Release 0.0.3975 ami-05c785e20000cd45f
content-preview/v0.0.3974
Release 0.0.3974 ami-023dfd88f33d1c9cd