Add oban web dashboard #871

Merged
floatingghost merged 5 commits from oban_web into develop 2025-02-27 12:07:37 +00:00

been running on ihba for some time with no issue

looks like this

image

been running on ihba for some time with no issue looks like this ![image](/attachments/b0297c1a-b4f1-43fc-80a0-7a30f330d7b8)
add oban web
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/test unknown status
ci/woodpecker/pr/build-amd64 unknown status
ci/woodpecker/pr/build-arm64 unknown status
ci/woodpecker/pr/docs unknown status
b2b63ad89f
@ -904,2 +905,4 @@
csp_nonce_assign_key: :csp_nonce
)
oban_dashboard("/oban/dashboard", csp_nonce_assign_key: :csp_nonce)
Owner

This will make oban and API prefix and may introduce regressions similar to what happened in de64c6c54a (fixed in a3101a435b).
It would be best to use an existing API prefix here, e.g. /akkoma/oban_dashboard or /web/oban/dashboard. All current API prefixes listed below (obtained by running Pleroma.Web.Router.get_api_routes()):

["api", "main", "ostatus_subscribe", "oauth", "akkoma", "objects", "activities",
 "notice", "@:nickname", ":nickname", "users", "tags", "mailer", "inbox",
 "relay", "internal", ".well-known", "nodeinfo", "manifest.json", "web", "auth",
 "embed", "proxy", "phoenix", "user_exists", "check_password"]

It might be a good idea to add a test ensuring no new API prefixes are added by accident going forward

This will make `oban` and API prefix and may introduce regressions similar to what happened in de64c6c54aaacc4123031f2e3d5bfb9fc9c517fe (fixed in a3101a435bae8bba7da77bba52d80e06b85593a4). It would be best to use an existing API prefix here, e.g. `/akkoma/oban_dashboard` or `/web/oban/dashboard`. All current API prefixes listed below *(obtained by running `Pleroma.Web.Router.get_api_routes()`)*: ``` ["api", "main", "ostatus_subscribe", "oauth", "akkoma", "objects", "activities", "notice", "@:nickname", ":nickname", "users", "tags", "mailer", "inbox", "relay", "internal", ".well-known", "nodeinfo", "manifest.json", "web", "auth", "embed", "proxy", "phoenix", "user_exists", "check_password"] ``` It might be a good idea to add a test ensuring no new API prefixes are added by accident going forward
Author
Owner

i've added a snapshot test for this to make sure we don't run into it again

i've added a snapshot test for this to make sure we don't run into it again
update deps
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending approval
ci/woodpecker/pr/build-arm64 Pipeline is pending approval
ci/woodpecker/pr/docs Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/test Pipeline is pending approval
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
13d650602b
add a snapshot test for api prefixes
Some checks are pending
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline is running
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build-arm64 Pipeline was successful
ci/woodpecker/pr/build-amd64 Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pull_request_closed/lint Pipeline was successful
ci/woodpecker/pull_request_closed/test Pipeline was successful
ci/woodpecker/pull_request_closed/build-arm64 Pipeline was successful
ci/woodpecker/pull_request_closed/build-amd64 Pipeline was successful
ci/woodpecker/pull_request_closed/docs Pipeline was successful
c2f60c9228
@ -1,6 +1,5 @@
[
import_deps: [:ecto, :ecto_sql, :phoenix],
subdirectories: ["priv/*/migrations"],
Owner

Were migrations intentionally excluded from formatting?

Were migrations intentionally excluded from formatting?
Author
Owner

so fun fact the subdirectories thing

per docs:

subdirectories (a list of paths and patterns) - specifies subdirectories that have their own formatting rules. Each subdirectory should have a .formatter.exs that configures how entries in that subdirectory should be formatted as.

which migrations... don't

I'm not sure why this setting was here at all

so fun fact the subdirectories thing per docs: >subdirectories (a list of paths and patterns) - specifies subdirectories that have their own formatting rules. Each subdirectory should have a .formatter.exs that configures how entries in that subdirectory should be formatted as. which migrations... don't I'm not sure why this setting was here at all
Owner

huh, yeah all good to purge then (i can't mark the threads here as resolved)

huh, yeah all good to purge then *(i can't mark the threads here as resolved)*
floatingghost deleted branch oban_web 2025-02-27 12:07:38 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AkkomaGang/akkoma!871
No description provided.