Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update latest medplum #6

Merged
merged 221 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
221 commits
Select commit Hold shift + click to select a range
ef42053
Fixes #3905 - better graphql mutation error reporting (#4308)
codyebberson Apr 4, 2024
95209a3
Fixes #4309 - AWS Parameter Store support for required database SSL (…
codyebberson Apr 4, 2024
45b9049
Fix sessionStorage flaky test (#4315)
codyebberson Apr 4, 2024
1704cd5
fix(core): account for `baseUrl`s containing subpaths (#4317)
ThatOneBro Apr 4, 2024
5c643b5
Release Version 3.1.1 (#4319)
medplumbot Apr 5, 2024
0500b5f
fix(react): `AsyncAutocomplete` scrollable options dropdown w/ config…
dillonstreator Apr 5, 2024
86913fd
remove the max-width of form (#4322)
aniketkumar7 Apr 5, 2024
e4d1e28
Fixes #4314 - jsdom version 24 (#4318)
codyebberson Apr 5, 2024
cd4213b
Fixed register new user with google (#4321)
codyebberson Apr 5, 2024
8d55b8a
Fixes #4311 - more auth component maxWidth fixes (#4326)
codyebberson Apr 5, 2024
2b6e27e
Fixes #4323 - add bot to BotEvent (#4324)
codyebberson Apr 5, 2024
3c87462
Dependency upgrade script tweaks (#4338)
codyebberson Apr 8, 2024
55a24f1
fix: registration by not passing the `new` `projectId` (#4340)
joennlae Apr 8, 2024
a802fa7
Release Version 3.1.2 (#4342)
medplumbot Apr 8, 2024
b3f3787
Dependency upgrades - step 1 (#4339)
medplumbot Apr 8, 2024
c494ff4
Implement conditional update (#4307)
mattwiller Apr 8, 2024
cdd5413
fix(client): make `QueryTypes` more accurate (#4332)
ThatOneBro Apr 9, 2024
8116b45
fix(agent): check for `ping` command, report transmit errors back on …
ThatOneBro Apr 9, 2024
6af2fa7
Storybook Themes (#4337)
ksmith94 Apr 9, 2024
24bfb55
Update index.md (#4347)
WonderPanda Apr 9, 2024
7bd85be
Add config to set default Project Features (#4330)
jmalobicky Apr 9, 2024
e59b7bb
tweak(redis): add `getRedisSubscriber` for graceful shutdown safety (…
ThatOneBro Apr 9, 2024
2bc2669
Clear auth state on auth failure (#4341)
thejwuscript Apr 10, 2024
48cb0e9
Agent SerialPort connections (#4348)
codyebberson Apr 10, 2024
53578bf
feat(agent): allow valid hostnames to be pinged (#4350)
ThatOneBro Apr 10, 2024
91716c7
fix(chat-demo): match only thread between the two recipients (#4349)
ThatOneBro Apr 10, 2024
c1caa0e
Added server config setting for approved email senders (#4351)
codyebberson Apr 10, 2024
092a25d
chore(actions): add timeouts to a lot of jobs (#4357)
ThatOneBro Apr 11, 2024
1a0dbfb
Update component handling in formatObservationValue function (#4361)
pamella Apr 12, 2024
fff39fe
Task Demo Sample Data (#4278)
rahul1 Apr 12, 2024
72bd2aa
FHIR Mapper: Maintain type information for sub-properties of mapping …
rahul1 Apr 12, 2024
75483e9
Restrict email api to project admins (#4373)
codyebberson Apr 15, 2024
a083693
refactor($get-ws-binding-token): use backported `OperationDefinition`…
ThatOneBro Apr 15, 2024
5eb2223
Dependency upgrades 2024-04-15 (#4369)
medplumbot Apr 16, 2024
dc86c98
[Medplum Provider] Add Edit and History functionality to resource pag…
mattlong Apr 16, 2024
202c19b
Move AWS specific code to separate directory (#4329)
codyebberson Apr 16, 2024
a88b2dd
Document how to revert changes to a resource (#4382)
ksmith94 Apr 16, 2024
48a4202
Document binary security context (#4370)
ksmith94 Apr 16, 2024
e1a98ca
Create a Chat Demo App (#4220)
ksmith94 Apr 16, 2024
446a902
Note that filter is not supported for chained search (#4380)
ksmith94 Apr 17, 2024
53a1fb3
Fixed next.js build errors (#4392)
codyebberson Apr 17, 2024
b1d63df
Updating SKU information and enterprise page (#4395)
reshmakh Apr 18, 2024
29e5900
Idempotent resource deletion (#4396)
mattwiller Apr 18, 2024
12effd5
feat(agent): add version to `Agent/$status` (#4359)
ThatOneBro Apr 19, 2024
e64d3f9
Fix express trust proxy config (#4405)
codyebberson Apr 19, 2024
709711c
Block php file uploads (#4406)
codyebberson Apr 19, 2024
d4fc141
feat(agent): add `Agent/$bulk-status` (#4379)
ThatOneBro Apr 19, 2024
31350d1
Note expunging a project permanently deletes it (#4403)
ksmith94 Apr 19, 2024
668fac2
Fix typo and incorrect bundle types in docs (#4410)
rahul1 Apr 19, 2024
ecf4979
Mention system of record on solutions page (#4401)
ksmith94 Apr 19, 2024
a59117f
docs(agent): add docs for `$status` and `$bulk-status` operations (#4…
ThatOneBro Apr 19, 2024
9ccc801
Fix typo (#4414)
ThatOneBro Apr 21, 2024
f97cb11
Fixes #4415 - gracefully handle invalid external auth state (#4416)
codyebberson Apr 21, 2024
2e75833
Fixes #4420 - add gravatar to CSP (#4421)
codyebberson Apr 22, 2024
994e936
Remove runInBand from server tests (#4419)
codyebberson Apr 22, 2024
89c2cae
Note that GraphQL does not support chained search (#4404)
ksmith94 Apr 22, 2024
4ca2087
Added --update option to reinstall.sh (#4422)
codyebberson Apr 22, 2024
2906abd
fix(expo-polyfills): add min `Event` polyfill for ws subs (#4413)
ThatOneBro Apr 22, 2024
0efe9c8
[Medplum Provider] Prefill patient reference when creating new resour…
mattlong Apr 22, 2024
4bf85d7
Release Version 3.1.3 (#4427)
medplumbot Apr 22, 2024
e855056
test(turbo): prevent test triggering docs build (#4423)
ThatOneBro Apr 22, 2024
a8c2bd9
Note that only admins can invite users (#4428)
ksmith94 Apr 22, 2024
f65e329
Add note about restarting server on config change (#4425)
ksmith94 Apr 22, 2024
19cfe9e
Don't warn on primitive extensions (#4433)
mattlong Apr 22, 2024
d723c0a
Per-project rate limiter config (#4412)
codyebberson Apr 22, 2024
81a59e7
Adding HL7 Interfacing engine materials (#4430)
reshmakh Apr 23, 2024
7b39b2e
deps(formidable): override insecure version (#4437)
ThatOneBro Apr 23, 2024
c69b9e8
Fixes #4365 - graphiql and external auth providers (#4439)
codyebberson Apr 23, 2024
a300eef
Fixes #3240 - rate-limit-redis persistent rate limit storage (#4435)
codyebberson Apr 23, 2024
f9dc331
Revert "Fixes #4365 - graphiql and external auth providers (#4439)" (…
codyebberson Apr 23, 2024
6ea407b
Link bot docs to vm context doc (#4426)
ksmith94 Apr 24, 2024
fbe53c9
Increase max db pool connections from 10 to 50 per host (#4447)
codyebberson Apr 25, 2024
361d2a3
[Medplum Provider] Require resource profiles (#4387)
mattlong Apr 25, 2024
d7b688e
Revert agent serialport (#4453)
codyebberson Apr 25, 2024
ed5b324
fix(agent): align `pkg` target and `node` version used to compile age…
ThatOneBro Apr 25, 2024
68f58cf
Fixes #4444 - update Appointment status constraint (#4446)
codyebberson Apr 26, 2024
f854783
Release Version 3.1.4 (#4456)
medplumbot Apr 26, 2024
bf9b1db
Add projectId to batch metrics (#4454)
mattwiller Apr 26, 2024
3b6747b
Removing duplicate content fixes #4390 (#4431)
reshmakh Apr 26, 2024
84a50b1
feat(agent): support `Prefer: respond-async` for `Agent/$push` (#4455)
ThatOneBro Apr 26, 2024
a452061
Update default project access policy for new systemSetting (#4466)
codyebberson Apr 27, 2024
b8ea031
Fixes #4463 - remove version history circuit breaker (#4467)
codyebberson Apr 28, 2024
c550a7c
[Provider app] Add patient communications tab (#4465)
mattlong Apr 28, 2024
b0a1d7c
feat(bot): add support for `Prefer: respond-async` on `Bot/$execute` …
ThatOneBro Apr 29, 2024
44d146c
Split minor and major version upgrades (#4475)
codyebberson Apr 29, 2024
49cd69c
Dependency upgrades 2024-04-29 (#4472)
medplumbot Apr 29, 2024
972a87a
Add Extension to Bot resource (#4474)
jmalobicky Apr 29, 2024
ef06f02
Fix tar.x import (#4477)
codyebberson Apr 29, 2024
a94ec19
[Medplum Provider app] Integrate specialized Tasks tab from examples/…
mattlong Apr 29, 2024
42544e2
Demonstrate Upsert for CLI and CURL (#4480)
rahul1 Apr 30, 2024
14493c6
Add supported protocols to agent page (#4429)
ksmith94 Apr 30, 2024
8f79381
Fix config for medplum-demo-app to work as a standalone repo (#4432)
rahul1 Apr 30, 2024
1afec07
Document Binary URLs and CORS (#4377)
ksmith94 Apr 30, 2024
dee36a7
Update Medplum Resource Docs (#4482)
rahul1 Apr 30, 2024
51a1be2
Release Version 3.1.5 (#4481)
medplumbot Apr 30, 2024
f610371
Fix age display in PatientSummary (#4484)
mattlong Apr 30, 2024
09d9593
Fixes #4471 - DetectedIssue.status valueset and search param (#4483)
codyebberson May 1, 2024
904bf23
Qualify columns with table name in generated SQL (#4487)
mattwiller May 1, 2024
db8065f
fix(migrations): only take lock if migrating (#4490)
ThatOneBro May 1, 2024
c763fe0
Document updating profiles (#4402)
ksmith94 May 2, 2024
3786c83
Run expand tests against old and new (#4503)
mattlong May 3, 2024
07b0933
Adding OpenCareHub support post (#4504)
reshmakh May 3, 2024
eba6e56
[Medplum Provider app] Various fixes and touchups (#4500)
mattlong May 3, 2024
f126390
ci(agent): add workflow for building agent outside of a release (#4512)
ThatOneBro May 5, 2024
034949e
feat(agent): `Agent/$reload-config` operation (#4457)
ThatOneBro May 5, 2024
2d6ebb4
Remove broken links to Foo Provider (#4518)
rahul1 May 6, 2024
2420df3
Dependency upgrades 2024-05-06 (#4515)
medplumbot May 6, 2024
8bfcc22
PatientSummary and provider app tweaks (#4521)
codyebberson May 6, 2024
d022296
Fixes #4509 - Improve exact match search support for token parameters…
pamella May 6, 2024
9a628d0
Link to new Demo Applications (#4514)
rahul1 May 6, 2024
0fdc9c5
Clarify that autobatching only applies to `GET` requests (#4479)
rahul1 May 6, 2024
932e2ec
Added missing useEffect dependency in chat demo (#4527)
codyebberson May 7, 2024
5e1b9a6
fix: allows CORS for `keyvalue` API (#4476)
dillonstreator May 7, 2024
f610273
Fixes #4508 - MeasureReport-subject search param backport (#4530)
codyebberson May 9, 2024
0ddd57f
Fix CLI update-server version flag (#4534)
mattwiller May 9, 2024
989d647
Patient summary appointments and encounters links (#4524)
mattlong May 10, 2024
59d9e3c
Remove unused DB columns (#4532)
mattwiller May 13, 2024
d36f34b
fix(agent): unwrap response for `$reload-config` by id (#4542)
ThatOneBro May 13, 2024
2932e2e
`PatientSummary` Problem List uses US Core profile (#4535)
mattlong May 13, 2024
32deee6
fix(cli): always exit with exit code 1 after error occurs during comm…
ThatOneBro May 13, 2024
4cdabce
Add failing test about validating nested extensions (#4548)
mattlong May 13, 2024
8effba3
Add error message when `cli` fails on login (#4507)
joennlae May 14, 2024
22e951a
Remove functions moved to core (#4547)
mattlong May 14, 2024
7c9e063
fix: AttachmentDisplay use uncached url for download link (#4501)
dillonstreator May 14, 2024
3c0edae
feat(agent): respect `Agent.status` and `Agent.channel.endpoint.statu…
ThatOneBro May 14, 2024
558df39
CMS 1500 and Superbill (#4543)
reshmakh May 14, 2024
e32160f
Demo Bot: Agent Setup (#4555)
rahul1 May 14, 2024
f76dc57
feat(Subscription): add `author` as a `SearchParameter` (#4540)
ThatOneBro May 14, 2024
20db8c7
Dependency upgrades 2024-05-13 (#4544)
medplumbot May 14, 2024
84b2ad7
Full linked Project ordering in CodeSystem lookup (#4522)
mattwiller May 14, 2024
7b3bc8c
Disable super admin refresh tokens (#4492)
codyebberson May 14, 2024
7550f3e
Minor fixes for the agent setup bot (#4560)
rahul1 May 15, 2024
24a2ddc
docs(agent): document how logging works with `Bot` and `Agent` (#4563)
ThatOneBro May 15, 2024
27e25ae
Split rate limits into two buckets (#4568)
mattwiller May 16, 2024
30420e3
Properly detect array elements (#4569)
mattlong May 16, 2024
4998571
Apply filter to ValueSet with expansion.contains (#4570)
mattlong May 17, 2024
887a6a4
More efficiently validate included concepts (#4573)
mattlong May 18, 2024
a961398
Dependency upgrades 2024-05-20 (#4574)
medplumbot May 20, 2024
da94eea
tweak(agent): add timezone in status `lastUpdated` time (#4564)
ThatOneBro May 20, 2024
ea510a4
fix(client/keyvalue): set keyvalue content-type text (#4575)
dillonstreator May 21, 2024
4557a49
Allow configuring server default rate limits (#4491)
mattwiller May 21, 2024
9013959
feat(cli): add `token` command to get access token (#4579)
ThatOneBro May 22, 2024
c29f200
Updating device resources and videos (#4578)
reshmakh May 22, 2024
70d8e2d
fix(subscriptions): don't retry ws subs if sub is deleted (#4577)
ThatOneBro May 22, 2024
276ccf1
Add support for 'pr' filter operation (#4584)
codyebberson May 24, 2024
005d454
Super admin endpoint for database stats (#4443)
codyebberson May 24, 2024
177ea04
Release Version 3.1.6 (#4589)
medplumbot May 25, 2024
a043280
Updating sample HL7 bot to include ADT-08 messages (#4591)
reshmakh May 27, 2024
41005df
Dependency upgrades 2024-05-27 (#4593)
medplumbot May 27, 2024
9f3bb56
feat: enable unit testing subscription criteria (#4581)
dillonstreator May 27, 2024
cb88f36
feat(fhircast): properly respond to `unsubscribe` request (#4590)
ThatOneBro May 27, 2024
2dcd87f
Fixes #4576 - Windows 1252 character encoding (#4594)
codyebberson May 27, 2024
a51b166
refactor(subscriptions): skip `bullmq` for WS subs, push all WS subs …
ThatOneBro May 27, 2024
1305e41
Added fhirpath test data (#4598)
codyebberson May 28, 2024
9daf545
Fix several fhirpath functions taking `other` Atom and implement subs…
mattlong May 28, 2024
a581085
Use nested transactions with stronger isolation (#4583)
mattwiller May 29, 2024
f75f6b6
Support Database SSL config from Env (#4597)
jdjkelly May 29, 2024
d69e02c
Parse ADT example (#4596)
reshmakh May 30, 2024
d30a0ae
Better PATCH error messages (#4607)
codyebberson May 30, 2024
62901ef
Respect AccessPolicy.resource.{readonlyFields,hiddenFields} in Resour…
mattlong May 30, 2024
2ec6bc8
Fix IAM policy resource strings (#4603)
codyebberson May 31, 2024
0bab7dc
Fixes #4440 - backslash escaped commas in search values (#4609)
codyebberson May 31, 2024
c53aa6e
Fixes #4147 - formatSearchQuery with _include:iterate (#4610)
codyebberson May 31, 2024
20637a6
Fixes #4462 - configurable Bot AuditEvent.outcomeDesc max length (#4612)
codyebberson May 31, 2024
7507f7c
Fixes #4531 - choice-of-type definitions and getExtensionValue() (#4611)
codyebberson May 31, 2024
78345cd
Allow Bot to return Binary (#4595)
codyebberson May 31, 2024
a7bbf9a
Remove spurious console.warn (#4616)
mattlong May 31, 2024
94e9e0d
Fixed flaky repo tests (#4618)
codyebberson Jun 2, 2024
cb40294
Fixes #4617 - replace Google QR code API (#4619)
codyebberson Jun 2, 2024
2f5af1e
Fixes #4572 - cdk options for custom security groups (#4622)
codyebberson Jun 2, 2024
5fa9071
Release Version 3.1.7 (#4621)
medplumbot Jun 2, 2024
92b0e4d
Dependency upgrades 2024-06-03 (#4623)
medplumbot Jun 3, 2024
7323c36
JDs: Solutions engineer and Developer Experience Engineer (#4626)
rahul1 Jun 3, 2024
d9da549
Fix typo on careers page
rahul1 Jun 3, 2024
8e2e397
Add contact info for new JDs (#4627)
rahul1 Jun 4, 2024
8f692a2
Update devex-engineer.md (#4628)
rahul1 Jun 5, 2024
8300ada
Update Charting Demo (#4494)
ksmith94 Jun 7, 2024
3e03f48
Fix typos in docker-compose,preview (#4634)
Jun 7, 2024
ab04135
Adding images to JDs (#4640)
rahul1 Jun 7, 2024
82865df
Add section about project linking (#4629)
rahul1 Jun 7, 2024
9702f4b
Document `update-config` (#4636)
rahul1 Jun 7, 2024
6c9c842
Add Terminology Service docs (#4641)
mattwiller Jun 8, 2024
437b575
feat(server): add `disableGravatarProfiles` to Project settings (#4643)
ThatOneBro Jun 9, 2024
0fb1785
fix: remove gravatar (#4646)
ThatOneBro Jun 10, 2024
102bb72
Release Version 3.1.8 (#4648)
medplumbot Jun 10, 2024
f27b544
fix(ci): fix `\n` missing due to reversal, use `git log --reverse` (#…
ThatOneBro Jun 10, 2024
9ee0392
Allow chained search in _filter (#4647)
mattwiller Jun 10, 2024
0f47071
Polish eligibility demo (#4637)
ksmith94 Jun 10, 2024
fe7eb44
cleanup(core): remove stray `console.log` (#4653)
ThatOneBro Jun 11, 2024
95eeeb7
Update sidebar.ts (#4652)
rahul1 Jun 11, 2024
35e34fd
Feat: Configure refresh token expiry (#4525)
thejwuscript Jun 11, 2024
8a28b18
Dependency upgrades 2024-06-10 (#4650)
medplumbot Jun 11, 2024
6f76897
cleanup(chart-demo): rm ignored `example-bots.json` (#4656)
ThatOneBro Jun 11, 2024
52a160d
Adding instructions to the example app READMEs on how to build bots …
rahul1 Jun 13, 2024
783baf1
Update useSearch.ts (#4663)
claycoleman Jun 13, 2024
3fde72b
Export QuestionnaireFormContext and QuestionnairePageSequence from Qu…
claycoleman Jun 13, 2024
eb39e65
Add `expo-polyfills` to README packages list (#4666)
ThatOneBro Jun 14, 2024
9e4e2ce
revert(react): remove export of `QuestionnairePageSequence` (#4669)
ThatOneBro Jun 14, 2024
02f68b1
Fix wrong pipe character in README (#4671)
ThatOneBro Jun 14, 2024
a5af81e
Document Terminology Service operation endpoints (#4665)
mattwiller Jun 14, 2024
0e30356
Dependency upgrades 2024-06-17 (#4673)
medplumbot Jun 17, 2024
cc4a830
Gracefully handle no major dep upgrades (#4675)
codyebberson Jun 17, 2024
abaec7b
SQL on FHIR ViewDefinition types (#4674)
codyebberson Jun 17, 2024
a675b6f
fix(build) Update deprecated import assertion into import attribute (…
Jun 18, 2024
e40f857
Fixes #4398 - add mapByIdentifier util function (#4635)
yev-yev-yev Jun 18, 2024
e3b5df9
Fixes #4600 - Add Auto Confirmation Parameter for Headless Deployment…
matiaspirovanovarela Jun 18, 2024
c42ca52
fix(react-hooks): make `loading` track `MedplumClient#isLoading()` (#…
ThatOneBro Jun 18, 2024
b33716e
Implements FHIRPath string join (stu) (#4683)
codyebberson Jun 18, 2024
29b4729
SQL-on-FHIR processResource (#4678)
codyebberson Jun 18, 2024
faf5570
feat(useSubscription): add `subscriptionProps` as optional param (#4180)
ThatOneBro Jun 18, 2024
44f2ffb
Resolve conditional references (#4633)
mattwiller Jun 18, 2024
085ee77
feat(subscriptions): add `unbind-from-token` message for WebSocket su…
ThatOneBro Jun 18, 2024
c3f2d3c
Document remaining Terminology Service operations (#4680)
mattwiller Jun 18, 2024
96f6b14
feat(agent): add `keepAlive` setting to `Agent` (#4657)
ThatOneBro Jun 18, 2024
4fbeab3
Update README.md (#4687)
reshmakh Jun 19, 2024
56f8314
Fix all copyright dates (#4689)
ThatOneBro Jun 19, 2024
5129126
Fixes subject input on PlanDefinitionApplyForm (#4699)
codyebberson Jun 19, 2024
5df9d7b
Deprecate non-strict mode (#4651)
mattwiller Jun 19, 2024
19edd83
Validate certain references with systemRepo (#4700)
mattlong Jun 19, 2024
b49784b
docs(useSubscription): clean up examples, add JSDoc comment (#4692)
ThatOneBro Jun 20, 2024
0dd281f
cleanup(repo): `handleMaybeCacheOnly` -> `handleStorage` (#4696)
ThatOneBro Jun 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
114 changes: 114 additions & 0 deletions .github/workflows/build-agent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
name: Build agent

concurrency:
group: ci-build-agent-${{ github.sha }}
cancel-in-progress: true

on: workflow_dispatch

jobs:
build_agent_win64:
runs-on: windows-latest
timeout-minutes: 45
env:
NODE_VERSION: '18'
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TURBO_REMOTE_ONLY: ${{ secrets.TURBO_REMOTE_ONLY }}
permissions:
actions: read
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install NSIS
run: choco install nsis

- name: Install Wget
run: choco install wget

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm ci --maxsockets 1

- name: Build
run: npm run build -- --filter=@medplum/agent

- name: Build Agent installer
shell: bash
run: ./scripts/build-agent-installer-win64.sh
env:
SKIP_SIGNING: 1

- name: Set Medplum version
shell: bash
run: |
set -e
echo "MEDPLUM_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV

- name: Upload agent installer
uses: actions/upload-artifact@v4
with:
name: medplum-agent-installer-${{ env.MEDPLUM_VERSION }}-windows
path: packages/agent/medplum-agent-installer-*

build_agent_linux:
runs-on: ubuntu-latest
timeout-minutes: 45
env:
NODE_VERSION: '18'
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TURBO_REMOTE_ONLY: ${{ secrets.TURBO_REMOTE_ONLY }}
permissions:
actions: read
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm ci --maxsockets 1

- name: Build
run: npm run build -- --filter=@medplum/agent

- name: Build Agent
shell: bash
run: ./scripts/build-agent-installer-linux.sh

- name: Set Medplum version
shell: bash
run: |
set -e
echo "MEDPLUM_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV

- name: Make tarball
shell: bash
run: |
set -e

mkdir medplum-agent-$MEDPLUM_VERSION-linux

cp packages/agent/medplum-agent-$MEDPLUM_VERSION-linux ./medplum-agent-$MEDPLUM_VERSION-linux
cp packages/agent/medplum-agent-$MEDPLUM_VERSION-linux.sha256 ./medplum-agent-$MEDPLUM_VERSION-linux

tar -czvf ./medplum-agent-$MEDPLUM_VERSION-linux.tar.gz ./medplum-agent-$MEDPLUM_VERSION-linux

- name: Upload agent installer
uses: actions/upload-artifact@v4
with:
name: medplum-agent-${{ env.MEDPLUM_VERSION }}-linux
path: medplum-agent-${{ env.MEDPLUM_VERSION }}-linux.tar.gz
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 45
permissions:
pull-requests: write
strategy:
Expand Down Expand Up @@ -72,6 +73,7 @@ jobs:
eslint:
name: Run eslint
runs-on: ubuntu-latest
timeout-minutes: 20
needs: [build]
env:
SECRETS_TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
Expand Down Expand Up @@ -117,7 +119,7 @@ jobs:
id: fmt
run: |
rm -f .failed
NODE_OPTIONS='--max-old-space-size=8192' npm run lint 2> eslint.err > eslint1.err || echo 'failed' > .failed
npm run lint 2> eslint.err > eslint1.err || echo 'failed' > .failed

if [ -s .failed ]; then
delimiter="$(openssl rand -hex 8)"
Expand Down Expand Up @@ -149,6 +151,7 @@ jobs:
test:
name: Run tests
runs-on: ubuntu-latest
timeout-minutes: 45
needs: [build]
strategy:
matrix:
Expand All @@ -174,7 +177,7 @@ jobs:
--health-timeout 5s
--health-retries 5
ports:
- 5432/tcp
- 5432:5432
redis:
image: redis:${{ matrix.redis-version }}
options: >-
Expand Down Expand Up @@ -221,7 +224,7 @@ jobs:
run: ./scripts/test.sh
env:
POSTGRES_HOST: localhost
POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
POSTGRES_PORT: 5432
REDIS_PASSWORD_DISABLED_IN_TESTS: 1
- name: Upload code coverage
if: ${{ matrix.node-version == 20 && matrix.pg-version == 14 && matrix.redis-version == 7 }}
Expand All @@ -233,6 +236,7 @@ jobs:
build-docs:
name: Build the docs
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
pull-requests: write
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: push
jobs:
chromatic:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
build:
name: Deploy
runs-on: ubuntu-latest
timeout-minutes: 45
if: github.repository == 'medplum/medplum'
env:
NODE_VERSION: '20'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
prepare-release:
name: Prepare release
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
build_and_check:
name: publish
runs-on: ubuntu-latest
timeout-minutes: 30
env:
NODE_VERSION: '20'
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
Expand Down Expand Up @@ -93,8 +94,9 @@ jobs:

build_agent_win64:
runs-on: windows-latest
timeout-minutes: 45
env:
NODE_VERSION: '20'
NODE_VERSION: '18'
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TURBO_REMOTE_ONLY: ${{ secrets.TURBO_REMOTE_ONLY }}
Expand All @@ -120,7 +122,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 18
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
Expand Down Expand Up @@ -168,8 +170,9 @@ jobs:

build_agent_linux:
runs-on: ubuntu-latest
timeout-minutes: 45
env:
NODE_VERSION: '20'
NODE_VERSION: '18'
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TURBO_REMOTE_ONLY: ${{ secrets.TURBO_REMOTE_ONLY }}
Expand All @@ -183,7 +186,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 18
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
sonar:
name: Sonar
runs-on: ubuntu-latest
timeout-minutes: 30
if: github.event.workflow_run.conclusion == 'success'
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
build:
name: Staging
runs-on: ubuntu-latest
timeout-minutes: 30
env:
NODE_VERSION: '20'
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ packages/cdk/dist/
packages/cli/dist/
packages/core/dist/
packages/core/docs/
packages/core/src/sql-on-fhir/test_report.json
packages/definitions/dist/**/*.js
packages/definitions/dist/**/*.js.map
packages/definitions/dist/**/*.d.ts
Expand All @@ -28,6 +29,7 @@ packages/examples/dist/
packages/fhir-router/dist/
packages/generator/dist/
packages/generator/output/
packages/generator/compare.html
packages/graphiql/dist/
packages/graphiql/public/
packages/health-gorilla/dist/
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "never"
}
},
"vitest.disableWorkspaceWarning": true
}
39 changes: 20 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,25 +87,26 @@ Here is a list of all the big technologies we use:
```sh
medplum/
├── packages
│   ├── agent # On-premise agent
│   ├── app # Frontend web app
│   ├── bot-layer # AWS Lambda Layer for Bots
│   ├── cdk # AWS CDK infra as code
│   ├── cli # Command line interface
│   ├── core # Core shared library
│   ├── definitions # Data definitions
│   ├── docs # Documentation
│   ├── examples # Example code used in documentation
│   ├── fhir-router # FHIR URL router
│   ├── fhirtypes # FHIR TypeScript definitions
│   ├── generator # Code generator utilities
│   ├── graphiql # Preconfigured GraphiQL
│   ├── hl7 # HL7 client and server
│   ├── mock # Mock FHIR data for testing
│   ├── react # React component library
│   ├── react-hooks # React hooks library
│   └── server # Backend API server
└── scripts # Helper bash scripts
│   ├── agent # On-premise agent
│   ├── app # Frontend web app
│   ├── bot-layer # AWS Lambda Layer for Bots
│   ├── cdk # AWS CDK infra as code
│   ├── cli # Command line interface
│   ├── core # Core shared library
│   ├── definitions # Data definitions
│   ├── docs # Documentation
│   ├── examples # Example code used in documentation
│ ├── expo-polyfills # Expo polyfills for MedplumClient compatability
│   ├── fhir-router # FHIR URL router
│   ├── fhirtypes # FHIR TypeScript definitions
│   ├── generator # Code generator utilities
│   ├── graphiql # Preconfigured GraphiQL
│   ├── hl7 # HL7 client and server
│   ├── mock # Mock FHIR data for testing
│   ├── react # React component library
│   ├── react-hooks # React hooks library
│   └── server # Backend API server
└── scripts # Helper bash scripts
```

## Thanks
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This is the docker-compose file to run Medplum's required background serivces
# This is the docker-compose file to run Medplum's required background services
# It can be used to quickly run 2 services:
# 1) The Postgres database
# 2) The Redis cache
Expand Down
Loading