Catalan Lover
ee1cd46d10
Remove unneeded box prefix.
2026-09-13 12:53:59 +02:00
Catalan Lover
b58e5c8b41
Reduce Ci in a box test matrix size in CI.
...
Reduces the amount of noise the box is creating at the cost of reduced test coverage. Requested by Gnuxie.
2026-09-13 12:46:31 +02:00
Catalan Lover
ea1f64f5d8
Fix Path Error in ci-in-a-box defaults. ( #1178 )
...
Box / Ci Box Integration tests / Node 26 / alpine / arm64 (push) Canceled after 0s
Tests / Build & Lint (push) Canceled after 0s
Tests / Unit tests (push) Canceled after 0s
Box / Build & Lint / Node 24 / alpine / amd64 (push) Canceled after 0s
Box / Build & Lint / Node 24 / slim / amd64 (push) Canceled after 0s
Box / Build & Lint / Node 26 / alpine / amd64 (push) Canceled after 0s
Box / Build & Lint / Node 26 / slim / amd64 (push) Canceled after 0s
Box / Build & Lint / Node 24 / alpine / arm64 (push) Canceled after 0s
Box / Build & Lint / Node 24 / slim / arm64 (push) Canceled after 0s
Box / Build & Lint / Node 26 / alpine / arm64 (push) Canceled after 0s
Box / Build & Lint / Node 26 / slim / arm64 (push) Canceled after 0s
Box / Unit tests / Node 24 / alpine / amd64 (push) Canceled after 0s
Box / Unit tests / Node 24 / slim / amd64 (push) Canceled after 0s
Box / Unit tests / Node 26 / alpine / amd64 (push) Canceled after 0s
Box / Unit tests / Node 26 / slim / amd64 (push) Canceled after 0s
Box / Unit tests / Node 24 / alpine / arm64 (push) Canceled after 0s
Box / Unit tests / Node 24 / slim / arm64 (push) Canceled after 0s
Box / Unit tests / Node 26 / alpine / arm64 (push) Canceled after 0s
Box / Unit tests / Node 26 / slim / arm64 (push) Canceled after 0s
Box / Ci Box Integration tests / Node 24 / alpine / amd64 (push) Canceled after 0s
Box / Ci Box Integration tests / Node 24 / slim / amd64 (push) Canceled after 0s
Tests / Integration tests (push) Canceled after 0s
Box / Ci Box Integration tests / Node 26 / alpine / amd64 (push) Canceled after 0s
Box / Ci Box Integration tests / Node 26 / slim / amd64 (push) Canceled after 0s
Box / Ci Box Integration tests / Node 24 / alpine / arm64 (push) Canceled after 0s
Box / Ci Box Integration tests / Node 24 / slim / arm64 (push) Canceled after 0s
Box / Ci Box Integration tests / Node 26 / slim / arm64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 24 / alpine / amd64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 24 / slim / amd64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 26 / alpine / amd64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 26 / slim / amd64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 24 / alpine / arm64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 24 / slim / arm64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 26 / alpine / arm64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 26 / slim / arm64 (push) Canceled after 0s
Docker Hub - Develop / docker-latest (push) Canceled after 0s
GHCR - Development Branches / ghcr-publish (push) Canceled after 0s
Tests / Application Service Integration tests (push) Canceled after 0s
Validate Docker Build / validate-docker-build (push) Canceled after 0s
* Fix Path Error in ci-in-a-box defaults.
CI runs with overrides for this that makes it work correctly its just ci-in-a-box is supposed to NOT use env vars for critical shit like just working out of box.
* Update Ci-in-a-box instructions to use correct relative paths.
* Please the prettier
2026-09-10 10:13:54 +00:00
Catalan Lover
36bceb3096
Fix Workflows double firing for merge queues. ( #1177 )
...
GHCR - Development Branches / ghcr-publish (push) Canceled after 0s
Tests / Integration tests (push) Canceled after 0s
Tests / Build & Lint (push) Canceled after 0s
Tests / Unit tests (push) Canceled after 0s
Box / Build & Lint / Node 26 / alpine / amd64 (push) Canceled after 0s
Box / Build & Lint / Node 24 / alpine / amd64 (push) Canceled after 0s
Box / Build & Lint / Node 24 / slim / amd64 (push) Canceled after 0s
Box / Build & Lint / Node 26 / slim / amd64 (push) Canceled after 0s
Box / Build & Lint / Node 24 / alpine / arm64 (push) Canceled after 0s
Box / Build & Lint / Node 24 / slim / arm64 (push) Canceled after 0s
Box / Build & Lint / Node 26 / alpine / arm64 (push) Canceled after 0s
Box / Build & Lint / Node 26 / slim / arm64 (push) Canceled after 0s
Box / Unit tests / Node 24 / alpine / amd64 (push) Canceled after 0s
Box / Unit tests / Node 24 / slim / amd64 (push) Canceled after 0s
Box / Unit tests / Node 26 / alpine / amd64 (push) Canceled after 0s
Box / Unit tests / Node 26 / slim / amd64 (push) Canceled after 0s
Box / Ci Box Integration tests / Node 24 / alpine / arm64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 26 / slim / arm64 (push) Canceled after 0s
Docker Hub - Develop / docker-latest (push) Canceled after 0s
Tests / Application Service Integration tests (push) Canceled after 0s
Validate Docker Build / validate-docker-build (push) Canceled after 0s
Box / Unit tests / Node 24 / alpine / arm64 (push) Canceled after 0s
Box / Unit tests / Node 24 / slim / arm64 (push) Canceled after 0s
Box / Unit tests / Node 26 / alpine / arm64 (push) Canceled after 0s
Box / Unit tests / Node 26 / slim / arm64 (push) Canceled after 0s
Box / Ci Box Integration tests / Node 24 / alpine / amd64 (push) Canceled after 0s
Box / Ci Box Integration tests / Node 24 / slim / amd64 (push) Canceled after 0s
Box / Ci Box Integration tests / Node 26 / alpine / amd64 (push) Canceled after 0s
Box / Ci Box Integration tests / Node 26 / slim / amd64 (push) Canceled after 0s
Box / Ci Box Integration tests / Node 24 / slim / arm64 (push) Canceled after 0s
Box / Ci Box Integration tests / Node 26 / alpine / arm64 (push) Canceled after 0s
Box / Ci Box Integration tests / Node 26 / slim / arm64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 24 / alpine / amd64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 24 / slim / amd64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 26 / alpine / amd64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 26 / slim / amd64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 24 / alpine / arm64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 24 / slim / arm64 (push) Canceled after 0s
Box / Application Service Integration tests / Node 26 / alpine / arm64 (push) Canceled after 0s
This happened due to on push triggers that did not exclude the ephemeral merge queue branches.
2026-09-09 19:20:40 +00:00
Catalan Lover
1057ec341e
CI in a Box ( #1175 )
...
* Introduce Ci in a Box
Ci in a box is the next generation Ci project for Draupnir aiming to kill our dependence on mx-tester in the long run as its unmaintained and less powerful than ci-in-a-box
* Update CI-in-a-Box run conditions
If we run docker validation lets just run ci-in-a-box against it at that point.
* Please the prettier
* Fix CI Logic Error
* Return to Ci box specific harness.
The generic one has the wrong addresses that screwed up AS tests.
* Fix REUSE.toml error for ci-in-a-box Postgres setup script
2026-09-09 16:53:56 +00:00
Catalan Lover
020789c5a9
Alpine Docker Image ( #1146 )
...
* Update Crypto Bindings to enable Musl builds
* Update DEPENDENCIES.md with information about Temp override for musl
* Move Docker File to Node Alpine Base
* Bump Crypto Bindings to 0.6.6
This is the first version of crypto bindings that has ANY support for arm64 musl.
* Update Aliases to Align with Gnuxie Feedback
* Add Changeset
2026-09-09 16:26:24 +00:00
Catalan Lover
2e98ac1bae
Fix Node 26 CI failures ( #1176 )
...
Bumping Mocha fixes the node 26 CI failures making CI actually run on node 26 so we can get to see real failures instead of CI did not run properly failures where the underlying code is perfectly healthy.
2026-09-09 16:11:05 +00:00
Catalan Lover
1c9ba49260
Add support for stable variant of MSC3784 ( #1165 )
...
Docker Hub - Develop / docker-latest (push) Canceled after 0s
GHCR - Development Branches / ghcr-publish (push) Canceled after 0s
Tests / Build & Lint (push) Canceled after 0s
Tests / Unit tests (push) Canceled after 0s
Tests / Integration tests (push) Canceled after 0s
Tests / Application Service Integration tests (push) Canceled after 0s
Validate Docker Build / validate-docker-build (push) Canceled after 0s
* Add support for stable variant of MSC3784
* Integrate Gnuxie Feedback
2026-07-21 18:14:25 +00:00
Gnuxie
b63ab3ce89
Remove the aliases for the matrix-protection-suite packages. ( #1162 )
...
Docker Hub - Develop / docker-latest (push) Canceled after 0s
GHCR - Development Branches / ghcr-publish (push) Canceled after 0s
Tests / Build & Lint (push) Canceled after 0s
Tests / Unit tests (push) Canceled after 0s
Tests / Integration tests (push) Canceled after 0s
Tests / Application Service Integration tests (push) Canceled after 0s
Validate Docker Build / validate-docker-build (push) Canceled after 0s
* Remove old matrix-protection-suite package aliases.
This was leading to issues with monorepo package management.
https://github.com/the-draupnir-project/Draupnir/issues/1124
* Fix badly imported symbols from packages that already export them.
* Cleanup build command arguments.
There was a deprecation warning for short workspaces flag.
2026-07-18 12:12:57 +00:00
Gnuxie
169ffae1c4
Allow post-install scripts from our dependencies ( #1164 )
...
https://github.blog/changelog/2026-06-09-upcoming-breaking-changes-for-npm-v12/
2026-07-18 11:53:21 +00:00
Catalan Lover
e876c0da9e
Fix Docker Workflow Validator only running on main repo activity. ( #1159 )
...
Docker Hub - Develop / docker-latest (push) Has been cancelled
GHCR - Development Branches / ghcr-publish (push) Has been cancelled
Tests / Build & Lint (push) Has been cancelled
Tests / Unit tests (push) Has been cancelled
Tests / Integration tests (push) Has been cancelled
Tests / Application Service Integration tests (push) Has been cancelled
Validate Docker Build / validate-docker-build (push) Has been cancelled
This worked fine when the PR originated in the main repo but did not for external PRs and this workflow is safe for external due to no secrets access.
2026-07-07 18:05:27 +00:00
bones_was_here
a0ddfc0fd7
Fix overly strict client capabilities check ( #1158 )
...
These are optional per the spec and `m.room_versions` seems to be the
only one Draupnir needs. Removed `m.set_avatar_url` and
`m.set_displayname` because they're deprecated as well as unused.
Fixes https://github.com/the-draupnir-project/Draupnir/issues/1102
Signed-off-by: bones_was_here <bones_was_here@xonotic.au >
2026-07-07 16:04:14 +01:00
Catalan Lover
4e63164046
Resolve conflict between overrides and lockfile. ( #1154 )
...
GHCR - Development Branches / ghcr-publish (push) Failing after 48s
Tests / Build & Lint (push) Failing after 2m37s
Tests / Unit tests (push) Successful in 3m7s
Tests / Integration tests (push) Failing after 13s
Tests / Application Service Integration tests (push) Failing after 9s
Docker Hub - Develop / docker-latest (push) Failing after 14m2s
Validate Docker Build / validate-docker-build (push) Successful in 21m11s
Fixes running NPM CI against the repo in some circumstances
2026-05-23 18:31:19 +00:00
Catalan Lover
cb26319702
Remove Concurrency Checks from Validate Docker Build ( #1153 )
...
Docker Hub - Develop / docker-latest (push) Has been skipped
GHCR - Development Branches / ghcr-publish (push) Failing after 34s
Tests / Build & Lint (push) Failing after 2m37s
Tests / Unit tests (push) Successful in 3m21s
Tests / Integration tests (push) Failing after 13s
Tests / Application Service Integration tests (push) Failing after 10s
Validate Docker Build / validate-docker-build (push) Successful in 21m31s
They aren't needed as this never pushes to anywhere so who cares if we run this a bit too aggressively to maintain perfect resolution of if the build works.
2026-05-21 22:17:35 +00:00
Catalan Lover
0b6b7b98ec
Improve merge queue CI via Build Validator workflow for all branches*. ( #1152 )
...
* Make GHCR images not build from merge queue
* Introduce Docker Build Validation Workflow
2026-05-21 21:58:43 +00:00
Catalan Lover
e635ac93eb
Update @types/node to 24.12.4 and @sinclair/typebox to 0.34.49 ( #1150 )
...
Renovate failed to generate this artefact so i had to manually go and do it. Something about our monorepo setup is pissing Renovate off and making it not work.
2026-05-21 21:29:36 +00:00
Catalan Lover
ce68c68cb6
Fix Renovate Config Being Broken
Docker Hub - Develop / docker-latest (push) Has been skipped
GHCR - Development Branches / ghcr-publish (push) Failing after 32s
Tests / Application Service Integration tests (push) Failing after 13s
Tests / Integration tests (push) Failing after 12m12s
Tests / Unit tests (push) Failing after 12m20s
Tests / Build & Lint (push) Failing after 12m28s
2026-05-20 11:22:07 +00:00
Catalan Lover
aa1879e1c1
Prepare Tests for Merge Queue Support ( #1143 )
2026-05-20 12:27:25 +02:00
Catalan Lover
5b3da3ee07
Add Quick Access to images comment to PRs ( #1133 )
...
Docker Hub - Develop / docker-latest (push) Has been skipped
GHCR - Development Branches / ghcr-publish (push) Failing after 38s
Tests / Build & Lint (push) Failing after 2m30s
Tests / Unit tests (push) Successful in 3m11s
Tests / Integration tests (push) Failing after 13s
Tests / Application Service Integration tests (push) Failing after 17s
* Add Quick Access to images comment to PRs
* Refactor Image comment workflow to use shared script pattern.
Also refactors away dead crud.
* Refine comment output and normalise names to prevent bugs.
* Fix PR comment writing not working.
* Please the linter
* Remove Sha Tag due to it going stale if any branch movement happens.
2026-05-19 15:35:54 +02:00
Catalan Lover
a1a8537e8a
Perfect Attestation work and cleanup missing GHCR Attestation ( #1139 )
...
* Perfect Attestation work and cleanup missing GHCR Attestation
* Fix missing artifact-metadata: write perm ghcr
2026-05-19 14:42:49 +02:00
Catalan Lover
e6e63c2e6b
Make Docker Jobs skip outside the main repository due to fork incompat ( #1141 )
2026-05-19 14:42:27 +02:00
Catalan Lover
a8c8e998ec
Remove Workflow Gate as its not needed ( #1142 )
Docker Hub - Develop / docker-latest (push) Failing after 34s
Tests / Unit tests (push) Successful in 2m43s
Tests / Integration tests (push) Failing after 15s
Tests / Application Service Integration tests (push) Failing after 10s
Tests / Build & Lint (push) Failing after 13m35s
GHCR - Development Branches / ghcr-publish (push) Failing after 13m42s
2026-05-18 15:38:38 +02:00
Catalan Lover
88f3c4c894
Fix Typo in Image Description ( #1140 )
Docker Hub - Develop / docker-latest (push) Failing after 26s
GHCR - Development Branches / ghcr-publish (push) Failing after 31s
Tests / Build & Lint (push) Failing after 2m39s
Tests / Unit tests (push) Successful in 2m57s
Tests / Integration tests (push) Failing after 14s
Tests / Application Service Integration tests (push) Failing after 10s
2026-05-18 13:58:08 +02:00
Catalan Lover
5c8f6a30a1
Pin our CI to Sha Digests instead of moving version tags and add Renovate maintenance for this. ( #1134 )
...
Docker Hub - Develop / docker-latest (push) Failing after 1m0s
GHCR - Development Branches / ghcr-publish (push) Failing after 28s
Tests / Build & Lint (push) Failing after 3m43s
Tests / Unit tests (push) Successful in 3m4s
Tests / Integration tests (push) Failing after 15s
Tests / Application Service Integration tests (push) Failing after 12s
* Move all workflows to digest pinned versioning.
* Infrastructure Upgrades for Automatic Reonvate CI PRs
* Add minimum release age at 7 days for renovate CI updates
2026-05-17 12:07:19 +02:00
renovate[bot]
f0095da545
Update actions/github-script action to v9 ( #1136 )
...
Tests / Unit tests (push) Successful in 2m46s
Tests / Build & Lint (push) Failing after 10m55s
GHCR - Development Branches / ghcr-publish (push) Failing after 12m6s
Docker Hub - Develop / docker-latest (push) Failing after 13m14s
Tests / Application Service Integration tests (push) Failing after 11m50s
Tests / Integration tests (push) Failing after 12m2s
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-16 21:27:10 +02:00
renovate[bot]
5f8b2f9131
Update pre-commit hook fsfe/reuse-tool to v6 ( #1039 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-16 20:50:34 +02:00
renovate[bot]
269cd5dbaf
Update pre-commit hook pre-commit/pre-commit-hooks to v6 ( #1040 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-16 20:47:33 +02:00
renovate[bot]
3289975762
Update pre-commit hook python-jsonschema/check-jsonschema to v0.37.2 ( #1058 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-16 20:47:24 +02:00
Catalan Lover
491edd925c
Update CI Licensing. ( #1126 )
Docker Hub - Develop / docker-latest (push) Failing after 28s
GHCR - Development Branches / ghcr-publish (push) Failing after 25s
Tests / Build & Lint (push) Failing after 2m30s
Tests / Unit tests (push) Successful in 3m4s
Tests / Integration tests (push) Failing after 14s
Tests / Application Service Integration tests (push) Failing after 10s
2026-05-14 18:59:59 +02:00
Catalan Lover
d409133372
Add Description to Images. ( #1127 )
...
* Add Description to Images.
* Fix Invalid Description due to commas.
* Make prettier ignore Description.
* Apply suggestion from @Gnuxie
* Fix remaining Descriptions
Co-authored-by: Catalan Lover <48515417+FSG-Cat@users.noreply.github.com >
2026-05-14 18:59:15 +02:00
Catalan Lover and gnuxie
2a39b21d62
Prefer the initialManager option in default.yaml over managementRoom ( #1122 )
...
Docker Hub - Develop / docker-latest (push) Failing after 26s
GHCR - Development Branches / ghcr-publish (push) Failing after 25s
Tests / Build & Lint (push) Failing after 2m34s
Tests / Unit tests (push) Successful in 3m9s
Tests / Integration tests (push) Failing after 15s
Tests / Application Service Integration tests (push) Failing after 11s
* Move to use initial manager as default
* Add Changeset Entry
* Move mangement room options up in the default config
They are more important than the other bullshit
* Improve clarity of management room options in default.yaml
---------
Co-authored-by: gnuxie <Gnuxie@protonmail.com >
2026-05-07 14:56:13 +01:00
gnuxie
3bbca89bf0
v3.1.0
v3.1.0
2026-05-07 14:01:00 +01:00
Gnuxie
c0822ec957
update package info to reflect Apache-2.0 licensing ( #1123 )
2026-05-07 12:19:34 +01:00
Catalan Lover
e8e4696517
Update Configuration file wording for protected rooms and symbol prefix. ( #1121 )
...
Today i got reminded about that our config still thinks various wrong things like that the management room is excluded from protect all rooms when the management room is always protected.
So this PR fixes a few of these config errors.
* Update Configuration file wording.
* Add Changeset Entry
2026-05-07 11:09:16 +01:00
781d55db8b
Zero Touch Provisioning Support Stage 1 ( #1070 )
...
Tests / Build & Lint (push) Failing after 2m41s
Tests / Unit tests (push) Successful in 2m58s
Tests / Integration tests (push) Failing after 21s
Tests / Application Service Integration tests (push) Failing after 11s
GHCR - Development Branches / ghcr-publish (push) Failing after 12m54s
Docker Hub - Develop / docker-latest (push) Failing after 13m51s
Starts us down the path of fixing https://github.com/the-draupnir-project/Draupnir/issues/1023
This PR gets us Zero Touch Provisioning support for AS mode and Bot mode. If your env can take usr and pswd and turn it into access tokens or however you want to do that then well we dont need to do PSWD Auth at all.
If you dont PSWD auth is useful for this and is probably what i will resort to in mdad for Zero Touch Provisioning.
Draft as this PR is very much not even mx-tested because mx-tester decided to say nope cat.
* Zero Touch Provisioning Support
* Update Account data keys to Gnuxie Suggested Values
Co-authored-by: Gnuxie <50846879+Gnuxie@users.noreply.github.com >
* Refine ZTD
Co-authored-by: Gnuxie <Gnuxie@users.noreply.github.com >
* Refine Config validation
* Run Prettier
* Fix Test Linting
* Refine ZTD Branch by removing leftover config values.
* Remove fallback management room value as it breaks ZTP
* Fix config validation having Truthy problems
* Fix dangling import.
* Fix config validation error.
* Revert "Fix config validation error."
This reverts commit c313dcbb52 .
* Remove fake cast on config.initialManager
* note only available in develop while we fix shit
* Stop tests from accessing config.managementRoom directly.
---------
Co-authored-by: Gnuxie <50846879+Gnuxie@users.noreply.github.com >
Co-authored-by: Gnuxie <Gnuxie@users.noreply.github.com >
Co-authored-by: gnuxie <Gnuxie@protonmail.com >
2026-05-05 11:51:50 +01:00
Catalan Lover
4f41f0000c
Relicense all AFL-3.0 to Apache-2.0 ( #1117 )
2026-05-05 12:31:43 +02:00
Catalan Lover
3c021e1f01
Fix Policy Notification Protection only inviting joined users ( #1114 )
Docker Hub - Develop / docker-latest (push) Failing after 26s
GHCR - Development Branches / ghcr-publish (push) Failing after 24s
Tests / Build & Lint (push) Failing after 2m31s
Tests / Unit tests (push) Successful in 3m3s
Tests / Integration tests (push) Failing after 15s
Tests / Application Service Integration tests (push) Failing after 14s
2026-05-04 12:50:27 +02:00
Catalan Lover
f3e29fb3be
Add Avatar Customisation Commands ( #1108 )
...
Tests / Build & Lint (push) Failing after 2m30s
Tests / Unit tests (push) Successful in 2m58s
Tests / Integration tests (push) Failing after 14s
Tests / Application Service Integration tests (push) Failing after 16s
GHCR - Development Branches / ghcr-publish (push) Failing after 13m10s
Docker Hub - Develop / docker-latest (push) Failing after 14m5s
* Add Avatar Command to bot mode and AS mode
* Add changesets
* Move MXC URI validation to matrix basic types
* Fix MediaID being mixed case when its exempt from usual case rules.
* Update changeset
* Integrate Gnuxie Review Feedback
* Fix linting errors
* Fix having forgotten to run prettier.
* Integrate Gnuxie review feedback.
* Fix version.txt.tmp files
2026-05-01 16:40:10 +01:00
Gnuxie
60eeb86415
Tighten ActionException wrapping to only accept Error. ( #1111 )
...
Docker Hub - Develop / docker-latest (push) Failing after 31s
Tests / Build & Lint (push) Failing after 2m39s
Tests / Unit tests (push) Successful in 2m52s
Tests / Integration tests (push) Failing after 16s
Tests / Application Service Integration tests (push) Failing after 16s
GHCR - Development Branches / ghcr-publish (push) Failing after 12m26s
* Tighten ActionException wrapping to only accept Error.
For months we had a bug where the "exception kind" enum was being
provided as the error instead of the wrapped error in bot sdk wrapper
code. This exception kind enum was optional in the factory method
being used for the MatrixException type and so this resulted in
draupnir reporting simply `undefined` when there were errors. Which
was a major issue because not only did it make it difficult to track
problems down, but it made the software look like shit. Remarkably we
were still able to remotely diagnose problems essentially blind here.
But it was caused by the ActionException accepting `unknown` for Error
in order to tolerate a number of causes. We figure that this is
unacceptable because it allows for these kinds of bugs and also that
it delays finding out where we are calling broken apis.
Closes https://github.com/the-draupnir-project/Draupnir/issues/759 .
Closes https://github.com/the-draupnir-project/planning/issues/137 .
* Flakey test idk.
2026-04-30 19:14:15 +01:00
Catalan Lover
ad4ce0706f
Add command to set display name for main bot in AS mode ( #1103 )
Docker Hub - Develop / docker-latest (push) Failing after 22s
GHCR - Development Branches / ghcr-publish (push) Failing after 23s
Tests / Build & Lint (push) Failing after 2m24s
Tests / Unit tests (push) Successful in 3m1s
Tests / Integration tests (push) Failing after 13s
Tests / Application Service Integration tests (push) Failing after 15s
2026-04-28 13:51:04 +02:00
Gnuxie
56c904880f
Split semantic type into two steps, describe and verify. ( #1106 )
...
Docker Hub - Develop / docker-latest (push) Failing after 26s
GHCR - Development Branches / ghcr-publish (push) Failing after 23s
Tests / Build & Lint (push) Failing after 2m26s
Tests / Unit tests (push) Successful in 3m2s
Tests / Integration tests (push) Failing after 13s
Tests / Application Service Integration tests (push) Failing after 11s
It is a pain in the ass to write the checks but the information itself
is still valuable when refactoring. So I'd rather we still encourage
people to write this shit down even if they don't write the checks.
Closes https://github.com/the-draupnir-project/planning/issues/132
2026-04-27 12:19:26 +01:00
Gnuxie
a4c4158443
Make ProjectionNode reduction single-step ( #1100 )
...
GHCR - Development Branches / ghcr-publish (push) Failing after 32s
Docker Hub - Develop / docker-latest (push) Failing after 33s
Tests / Build & Lint (push) Failing after 4m29s
Tests / Integration tests (push) Failing after 26s
Tests / Unit tests (push) Successful in 5m47s
Tests / Application Service Integration tests (push) Failing after 20s
We figured out while working on https://github.com/the-draupnir-project/Draupnir/pull/1099 that actually in both cases if delta reducers are incorrect and get fixed, then downstream nodes have to use `reduceRebuild`.
The single-step projection nodes are much simpler though and don't leak internal state into the diff.
Closes https://github.com/the-draupnir-project/planning/issues/123
* Allow projections to pass node state in the delta.
https://github.com/the-draupnir-project/planning/issues/123 .
The existing projections have been changed to the new API, but they
probably could be optimised now that we have this feature.
* Make the node state delta authoritative in existing projections.
https://github.com/the-draupnir-project/planning/issues/123
* Make projections single step
https://github.com/the-draupnir-project/planning/issues/120
* Make Projection responsible for producing the diff.
https://github.com/the-draupnir-project/planning/issues/123
* Changeset.
2026-04-20 16:50:44 +01:00
Gnuxie
ecfcc1c2c3
Split PowerLevelsMirror into PowerLevelsEventMirror ( #1098 )
...
Docker Hub - Develop / docker-latest (push) Failing after 33s
Tests / Build & Lint (push) Failing after 6m54s
Tests / Integration tests (push) Failing after 23s
Tests / Application Service Integration tests (push) Failing after 15s
Tests / Unit tests (push) Successful in 7m44s
GHCR - Development Branches / ghcr-publish (push) Failing after 38s
This is to accept the createEvent in the PowerLevelsMirror and makes it harder to forget privileged creators.
Closes https://github.com/the-draupnir-project/planning/issues/122 .
2026-04-17 18:09:14 +01:00
Gnuxie
be4fc0871b
Add Open Collective information. ( #1097 )
...
Closes https://github.com/the-draupnir-project/planning/issues/131 .
2026-04-17 17:41:55 +01:00
Gnuxie
93adaf9e6d
Remove filesystem news. ( #1096 )
...
Closes https://github.com/the-draupnir-project/planning/issues/130 .
Closes https://github.com/the-draupnir-project/Draupnir/issues/1095 .
2026-04-17 17:31:09 +01:00
Catalan Lover and Gnuxie
caa9938147
Make Appservice register and setup basic profile information. ( #1086 )
...
Docker Hub - Develop / docker-latest (push) Failing after 37s
GHCR - Development Branches / ghcr-publish (push) Failing after 34s
Tests / Build & Lint (push) Failing after 5m33s
Tests / Integration tests (push) Failing after 26s
Tests / Application Service Integration tests (push) Failing after 17s
Tests / Unit tests (push) Successful in 6m53s
* Make Appservice register and setup basic profile information.
Basic Profile information being setting a display name if none exists.
* Add changeset information
* Relocate Profile logic to after initialisation.
* Clean up Appservice Bot Reg and Profile Set code
Co-authored-by: Gnuxie <Gnuxie@users.noreply.github.com >
* Workaround bug with ensureRegistered in matrix-appservice-bridge.
https://github.com/matrix-org/matrix-appservice-bridge/issues/525
* Clarify that this is mostly dead code
---------
Co-authored-by: Gnuxie <Gnuxie@users.noreply.github.com >
2026-04-16 18:59:29 +01:00
Catalan Lover
02d410982d
Add Caching to CI ( #1088 )
...
This makes it so we use caching across the CI for all our unit tests / integration tests. Supposedly mx-tester was already doing this but now we are also doing it for npm packages.
2026-04-16 14:52:57 +02:00
Gnuxie
8976b04c49
Be more precise about licensing. ( #1073 )
...
Docker Hub - Develop / docker-latest (push) Failing after 36s
GHCR - Development Branches / ghcr-publish (push) Failing after 35s
Tests / Application Service Integration tests (push) Failing after 12s
Tests / Integration tests (push) Failing after 15s
Tests / Unit tests (push) Failing after 14m57s
Tests / Build & Lint (push) Failing after 15m0s
* Be more precise about licensing.
I've added a root LICENSE file describing the use of multiple licenses
in the repository, especially given that it is now monorepo.
This does not change any licensing terms or introduce new requirements
It makes the existing setup more explicit and easier to understand for
users and downstream distributors. And reflects the existing REUSE
compliant setup.
* Be more comprehensive in our description.
2026-04-10 12:15:49 +01:00
gnuxie
1cb4c59c02
v3.0.0
Docker Hub - Develop / docker-latest (push) Failing after 39s
GHCR - Development Branches / ghcr-publish (push) Failing after 34s
Tests / Build & Lint (push) Failing after 5m56s
Tests / Integration tests (push) Failing after 22s
Tests / Application Service Integration tests (push) Failing after 12s
Tests / Unit tests (push) Successful in 6m55s
v3.0.0
2026-04-02 19:23:01 +01:00
Gnuxie
a8d2ea3d6d
Bootstrap packages onto npm now we're monorepo. ( #1069 )
...
Preperation for 3.0.0
Part of https://github.com/the-draupnir-project/planning/issues/102 .
For some dumb reason the CHANGELOG from mps was never added but ok.
2026-04-02 18:44:00 +01:00