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

Simplifying DBOS TypeScript Syntax #656

Merged
merged 128 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
6b3d0a4
Assign context numbers
chuck-dbos Nov 4, 2024
f5e63b6
Blow it up
chuck-dbos Nov 4, 2024
3b36e31
Keep adding sections
chuck-dbos Nov 4, 2024
f82e263
Fix an invocation
chuck-dbos Nov 4, 2024
e3cb6cb
Fix another call site
chuck-dbos Nov 4, 2024
032e4d7
Merge remote-tracking branch 'origin/main' into chuck/als
chuck-dbos Nov 6, 2024
9e4c047
Put context into ALS
chuck-dbos Nov 6, 2024
6d21d48
Start API
chuck-dbos Nov 6, 2024
2da77c6
Combine DBOS for export
chuck-dbos Nov 6, 2024
7a4c9e7
Testing runtime
chuck-dbos Nov 6, 2024
3d6b38c
Test out the API
chuck-dbos Nov 6, 2024
63e0b6a
Scope of work vs py
chuck-dbos Nov 6, 2024
89198f4
Add more API
chuck-dbos Nov 6, 2024
8248f5a
add base launch and workflow methods
maxdml Nov 6, 2024
2072ce0
Start context-free
chuck-dbos Nov 7, 2024
7438cb5
Continue w/ context improvement
chuck-dbos Nov 7, 2024
92c1348
Ctx pullup
chuck-dbos Nov 7, 2024
f7b3b93
start DBOS admin server, add destroy method
maxdml Nov 7, 2024
9b4cb82
Implement sleep
chuck-dbos Nov 7, 2024
65717cc
Merge branch 'chuck/als' of github.com:dbos-inc/operon into chuck/als
chuck-dbos Nov 7, 2024
6a7717f
this should be a debug entry.
maxdml Nov 7, 2024
914394a
Save aside
chuck-dbos Nov 7, 2024
58b559a
Merge branch 'chuck/als' of github.com:dbos-inc/operon into chuck/als
chuck-dbos Nov 7, 2024
2f0db54
Keep track
chuck-dbos Nov 7, 2024
1474718
homogeneise debug message
maxdml Nov 7, 2024
b4efd12
add temporary wf methods: external, transaction
maxdml Nov 7, 2024
8ed0b23
Work on passing without context
chuck-dbos Nov 7, 2024
f553689
Merge branch 'chuck/als' of github.com:dbos-inc/operon into chuck/als
chuck-dbos Nov 7, 2024
49518c2
Adjust
chuck-dbos Nov 7, 2024
b4e0441
remove exposure of temporary workflows
maxdml Nov 8, 2024
f304746
Merge branch 'chuck/als' of github.com:dbos-inc/operon into chuck/als
chuck-dbos Nov 8, 2024
448789e
Fixes to use registered version of prototype
chuck-dbos Nov 8, 2024
b8a20fe
DB access function
chuck-dbos Nov 8, 2024
e578e33
Decorators
chuck-dbos Nov 8, 2024
a76ca64
Try entering transaction
chuck-dbos Nov 8, 2024
6a82832
And it runs now.
chuck-dbos Nov 8, 2024
2a13177
Improve
chuck-dbos Nov 8, 2024
749598a
Mark
chuck-dbos Nov 8, 2024
b8e34d6
Use of API in main-style
chuck-dbos Nov 11, 2024
457a64d
Comment
chuck-dbos Nov 11, 2024
fb6a9f2
Start adding retrieval API / test
chuck-dbos Nov 11, 2024
57b53e3
Test more... need sysdb cleanup to pass though...
chuck-dbos Nov 12, 2024
ba2c945
Test API a bit more
chuck-dbos Nov 12, 2024
9c2b8e7
Assign WF ID
chuck-dbos Nov 12, 2024
a4e7c2f
start_workflow
chuck-dbos Nov 12, 2024
9f029d7
Bare tx / comm
chuck-dbos Nov 12, 2024
3419396
Queue
chuck-dbos Nov 12, 2024
9f35a97
Scheduled
chuck-dbos Nov 12, 2024
1e93b2f
Let's make it easier to use
chuck-dbos Nov 12, 2024
76d76f3
getEvent
chuck-dbos Nov 12, 2024
a2082db
Send/recv
chuck-dbos Nov 12, 2024
da2e09c
Roles
chuck-dbos Nov 12, 2024
86c1150
Tests
chuck-dbos Nov 13, 2024
ead9b20
Fix out dir
chuck-dbos Nov 13, 2024
41e5a3e
Cleanup
chuck-dbos Nov 13, 2024
f039687
Increase timeout
chuck-dbos Nov 13, 2024
7223828
More fussing, no help
chuck-dbos Nov 13, 2024
e3c166c
Configured instances, first bit
chuck-dbos Nov 13, 2024
57f0f23
Keep extending configured inst tests
chuck-dbos Nov 13, 2024
81e2531
inject missing parentCtx values from TLS context to workflow context
maxdml Nov 13, 2024
8efca97
withAuthedContext
maxdml Nov 13, 2024
43d2bbd
better way to seed parentCtx
maxdml Nov 13, 2024
04bd174
install nest and fastify as dev dependencies
maxdml Nov 14, 2024
f5075fc
configure tracing middlewares
maxdml Nov 14, 2024
acf7e18
update unit test
maxdml Nov 14, 2024
ab04ce6
request ID
maxdml Nov 14, 2024
076c467
add support for fastity HTTP apps
maxdml Nov 14, 2024
7f399f5
remove unused imports
maxdml Nov 14, 2024
9985129
update package.json
maxdml Nov 14, 2024
0e4da30
Update
chuck-dbos Nov 14, 2024
9e84c49
Remove unused import
chuck-dbos Nov 14, 2024
6b0c666
Test w/ workflow ID
chuck-dbos Nov 14, 2024
50977da
Step/trans passes
chuck-dbos Nov 14, 2024
cb216f8
Q test
chuck-dbos Nov 14, 2024
63441de
Change how startWorkflow works for configured instances
chuck-dbos Nov 14, 2024
e71bc51
Cleanup
chuck-dbos Nov 14, 2024
5a7b2a3
Doesn't work
chuck-dbos Nov 14, 2024
5e4cf6d
Cleanup
chuck-dbos Nov 18, 2024
89eeeca
Make reusable
chuck-dbos Nov 18, 2024
38d6baf
Move over
chuck-dbos Nov 18, 2024
391e385
Wrap for v2+v1
chuck-dbos Nov 18, 2024
532c0ee
Start testing V1+V2
chuck-dbos Nov 18, 2024
589ebf0
More work
chuck-dbos Nov 18, 2024
0e27b49
Finish V1 high-level
chuck-dbos Nov 18, 2024
d76cc94
Rest of the test
chuck-dbos Nov 18, 2024
1cc49cf
V1/V2 mix on configured instances
chuck-dbos Nov 18, 2024
03e6f27
Auth test works
chuck-dbos Nov 18, 2024
2d11fc6
Instance sec test
chuck-dbos Nov 18, 2024
bea840e
Recovery in v2 API
chuck-dbos Nov 19, 2024
d7284c5
Test + Fix for child workflows in new API
chuck-dbos Nov 20, 2024
0c5a5d6
Try this
chuck-dbos Nov 20, 2024
d5bdeb6
Disable check
chuck-dbos Nov 21, 2024
a6c621c
More adjustment
chuck-dbos Nov 21, 2024
822d211
Revert, will move experiment to another branch
chuck-dbos Nov 21, 2024
5fce61e
Fix whitespace issues
chuck-dbos Nov 21, 2024
15bf53e
Merge remote-tracking branch 'origin/main' into chuck/als
chuck-dbos Nov 21, 2024
f0c698c
Audit fix
chuck-dbos Nov 21, 2024
78e709e
Add HELLO template in express
chuck-dbos Nov 21, 2024
a64373b
get span from parent
maxdml Nov 21, 2024
1d905b4
Merge remote-tracking branch 'origin/main' into chuck/als
chuck-dbos Nov 21, 2024
7b8ab10
Review comment
chuck-dbos Nov 21, 2024
eeeab3e
Template improvements
chuck-dbos Nov 22, 2024
2cc6408
Possible better name
chuck-dbos Nov 22, 2024
2c27242
Start Koa example
chuck-dbos Nov 22, 2024
062512f
New HTTP handlers
chuck-dbos Nov 22, 2024
0a31428
Improve readme
chuck-dbos Nov 22, 2024
db6a8f0
Disable test for now
chuck-dbos Nov 22, 2024
be7fc25
Fix port
chuck-dbos Nov 22, 2024
73d2f04
App server is optional
chuck-dbos Nov 22, 2024
d6d223e
That was dumb
chuck-dbos Nov 22, 2024
f9e8633
Recovery after init
chuck-dbos Nov 22, 2024
598e48b
add comments
maxdml Nov 22, 2024
e275b4a
seed parent context & span from the new DBOS public object
maxdml Nov 22, 2024
641d6ee
remove unused import + fix typos
maxdml Nov 23, 2024
0c8a204
remove unused import
maxdml Nov 25, 2024
4ffeae0
add a CLI start command that can run user-provided start commands
maxdml Nov 25, 2024
a95df29
must support a list of start commands
maxdml Nov 25, 2024
8bd0f0b
disable lint rule -- we want to resolve/reject an error code.
maxdml Nov 25, 2024
fc2cfbd
improve the output experience
maxdml Nov 26, 2024
b6ec165
Update packages/create/templates/hello-express/src/main.ts
chuck-dbos Nov 26, 2024
32640a5
update Express template README & add comments
maxdml Nov 26, 2024
352d6e1
update hello-koa template README & add comments
maxdml Nov 26, 2024
81c1012
hello-koa -> hello-v2
maxdml Nov 26, 2024
5599160
DBOS.configureInstance
chuck-dbos Nov 27, 2024
30dbf30
Change comment wording
chuck-dbos Dec 3, 2024
c1be63c
Touchups
chuck-dbos Dec 3, 2024
e4ab73d
Switch port to 3000
chuck-dbos Dec 3, 2024
36faa5c
Unused
chuck-dbos Dec 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions dbos-config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,13 @@
"admin_port": {
"type": "number",
"description": "The port number of the admin server (Default: 3001 or the app server port + 1)"
},
qianl15 marked this conversation as resolved.
Show resolved Hide resolved
"start": {
"type": "array",
"items": {
"type": "string"
},
"description": "The command to start the application"
}
}
},
Expand Down
Loading
Loading