Commit Graph
35 Commits
Author SHA1 Message Date
ereti b883d53f8e fix: more ci 2022-12-14 05:20:24 +00:00
zkldi 48bb9151a9 fix: add @types/node in db-seeds package 2022-12-14 02:28:07 +00:00
ereti 1af9942147 feat: the monorepo man 2022-12-01 21:10:23 +00:00
zkldi db6a3e1b82 fix: remove redundant versions 2022-11-26 22:49:28 +00:00
zkldi 5344d10a89 feat: add a bms-tablefolders synchronise script 2022-10-27 20:29:00 +01:00
zkldi 0e36b17827 fix(critical): Pin prudence to an exact version
This is a long one.

So, `instanceof` in Typescript is incredibly flimsy. There's a
documented bug with what happens when you extend built-in classes, such
as Error or Array. You can read more about it here: https://github.com/Microsoft/TypeScript/wiki/FAQ#why-doesnt-extending-built-ins-like-error-array-and-map-work

However, this normally works fine. A previous commit moved some schemas
from server/ to common/, our gameSpecific UGPT settings schemas. This
caused them to break in an interesting way. For any schema recursive
with a depth greater than 1, all errors would be ignored. Why on earth
was this happening?

Well Prudence passes errors up the stack with a "return Err" -> "if
ret instanceof Err: return Err" kind of approach. This normally works
fine.

The real kicker here is that because server/ and common/ were on 0.9.7
and 0.9.8 respectively, the "Err" instance in question would actually be
erased when ran at runtime. The "if ret instance of Err" would fail,
because the Err would be from 0.9.7, not 0.9.8. This subtle difference
in file results in catastrophic damage.

In short. InstanceOf is a footgun. I hate it. Lets never do it again.
Thanks.
2022-10-14 01:09:31 +01:00
zkldi 33c800fa4d feat: iidx-mdb-parser + merger 2022-10-06 02:53:43 +01:00
zkldi 5cdb2f4055 fix: typo 2022-09-18 11:52:59 +01:00
zkldi 69366bbf8d feat: add seeds guide 2022-08-16 23:12:02 +01:00
zkldi b29e5175ea chore: trigger gh actions in database-seeds 2022-07-16 15:38:01 +01:00
zkldi 6531bd4c58 chore: remove useless stuff to force trigger database-seeds CI 2022-07-15 23:22:48 +01:00
zkldi d1dcffb6de refactor: apply cadence to bot and make it compile 2022-07-04 02:16:10 +01:00
zkldi 1e8e334ca0 refactor: force parent common dependencies 2022-07-04 02:15:43 +01:00
zkldi a8c384a6c3 chore: bump tachi-common to support aiLevel 2022-06-26 16:48:50 +01:00
zkldi efb84af191 chore: bump tachi-common 2022-06-26 15:00:17 +01:00
zkldi 759f171c3e chore: bump tachi-common 2022-06-12 17:36:45 +01:00
zkldi 89b6e52e37 feat: support ECS8 -> 10.5 and SRPG3 -> 5 2022-06-12 14:05:56 +01:00
zkldi 5b14dceba5 chore: update tachi-common properly 2022-05-06 00:09:13 +01:00
zkldi f618c14525 chore: bump tachi-common 2022-05-06 00:07:03 +01:00
zkldi dcb5ba5849 test: add more id tests (BREAKS PIPELINE!) 2022-04-28 18:14:56 +01:00
zkldi 923bdc115e refactor: read schemas from tachi-common instead 2022-04-25 09:21:38 +01:00
zkldi 888fe1d314 Update tachi-common to support tableFolders 2022-04-10 03:21:28 +01:00
Christopher Cooper 27ddfdc067 add charts for us/os tables 2022-04-09 14:01:15 -07:00
zkldi fee82f58b0 Use special 0.6.8-exceed backport in tachi-common 2022-04-04 21:59:12 +01:00
zkldi 162f0a4f8f Bump tachi-common to support sdvx tiers 2022-03-04 01:39:57 +00:00
Christopher Cooper 67e20b00f9 add charts from SDVX Konaste 2022-02-06 19:10:23 +00:00
Christopher Cooper 0ded6da53f add recent wacca charts
This also required fixing the script to respect existing songIDs and
chartIDs.
2022-02-04 11:46:14 +00:00
zkldi 02efe6f95a Finally, Add tests and linting! 2022-01-31 19:23:18 +00:00
zkldi c2489475f7 Add some testing dependencies 2022-01-30 20:27:30 +00:00
zkldi 1a101c7803 Add wacca charts and figure out all this disgusting parsing. 2021-12-22 01:42:48 +00:00
zkldi cd44cb2b6a Add entire workflow for mutating, finding and efficiently dispatching changes to data 2021-12-08 18:55:47 +00:00
hibiki 79692879c1 More infinitas songs 2021-11-26 12:49:11 +09:00
zkldi ab19eebcb1 Enforce that deterministic collection sort also sorts keys inside objects. 2021-11-19 09:29:07 +00:00
zkldi 7f311473c1 Bump tachi-common 2021-11-07 04:36:59 +00:00
zkldi 969ddc3014 Initial Commit 2021-10-01 14:48:21 +01:00