Skip to content

Conversation

nanoyaki
Copy link
Contributor

@nanoyaki nanoyaki commented May 4, 2025

This builds the package from source instead of pulling the jar from the release binaries
Depends on #400589

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added the 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS label May 4, 2025
@nanoyaki nanoyaki requested a review from RatCornu May 4, 2025 19:07
@github-actions github-actions bot added 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels May 4, 2025
Copy link
Contributor

@RatCornu RatCornu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! While on the branch, with the small correction of the folder, I can build and run the binary successfully. However, the tests fail with the following logs:

java.io.IOException: raw.githubusercontent.com
  at suwayomi.tachidesk.server.util.WebInterfaceManager$fetchServerMappingFile$2.invokeSuspend(WebInterfaceManager.kt:518)
  at suwayomi.tachidesk.server.util.WebInterfaceManager$fetchServerMappingFile$2.invoke(WebInterfaceManager.kt)
  at suwayomi.tachidesk.server.util.WebInterfaceManager$fetchServerMappingFile$2.invoke(WebInterfaceManager.kt)
  at suwayomi.tachidesk.server.util.WebInterfaceManager.executeWithRetry(WebInterfaceManager.kt:464)
  at suwayomi.tachidesk.server.util.WebInterfaceManager.executeWithRetry(WebInterfaceManager.kt:469)
  at suwayomi.tachidesk.server.util.WebInterfaceManager.access$executeWithRetry(WebInterfaceManager.kt:75)
  at suwayomi.tachidesk.server.util.WebInterfaceManager$executeWithRetry$1.invokeSuspend(WebInterfaceManager.kt)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
  at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:98)
  at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
  at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
  at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
  at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
  at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:47)
  at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
  at suwayomi.tachidesk.server.JavalinSetup.javalinSetup$lambda$10(JavalinSetup.kt:52)
  at io.javalin.config.JavalinConfig$Companion.applyUserConfig(JavalinConfig.kt:107)
  at io.javalin.config.JavalinConfig.applyUserConfig(JavalinConfig.kt)
  at io.javalin.Javalin.create(Javalin.java:73)
  at suwayomi.tachidesk.server.JavalinSetup.javalinSetup(JavalinSetup.kt:45)
  at suwayomi.tachidesk.MainKt.main(Main.kt:15)
  at suwayomi.tachidesk.MainKt.main(Main.kt)
Caused by: java.net.UnknownHostException: raw.githubusercontent.com
  at java.base/java.net.InetAddress$CachedLookup.get(InetAddress.java:988)
  at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818)
  at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1688)
  ...

I don't know what could be the cause of this issue, but this made Ofbord timeout during the tests.

Moreover, I pushed a new commit on my PR to use runTest instead of handleTest, this will not change your PR but you should rebase once mine has been merged

@nanoyaki
Copy link
Contributor Author

nanoyaki commented May 5, 2025

It seems like suwayomi-server bundles the WebUI from this repository. I'll push a revision with another suwayomi-webui package and addressing the comments soon

@nanoyaki nanoyaki force-pushed the suwayomi-server branch 2 times, most recently from af4807f to d70f678 Compare May 6, 2025 01:58
@github-actions github-actions bot removed 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels May 6, 2025
@nanoyaki nanoyaki changed the title suwayomi-server: refactor suwayomi-server: refactor; suwayomi-webui: init at 1.5.1 May 6, 2025
@nanoyaki
Copy link
Contributor Author

nanoyaki commented May 6, 2025

@RatCornu I hope you don't mind me putting you into the maintainers list for suwayomi-webui. Let me know if I should change that!

@RatCornu
Copy link
Contributor

RatCornu commented May 6, 2025

@RatCornu I hope you don't mind me putting you into the maintainers list for suwayomi-webui. Let me know if I should change that!

I'm completely fine with that, do not worry: I hope it will make updates easier to merge ^^

@nanoyaki nanoyaki force-pushed the suwayomi-server branch from d70f678 to 5dd0252 Compare May 6, 2025 11:39
@nanoyaki nanoyaki force-pushed the suwayomi-server branch from 5dd0252 to 417a90f Compare May 6, 2025 13:53
nanoyaki added 2 commits May 6, 2025 15:54
Changed the package to build it from source
@nanoyaki nanoyaki force-pushed the suwayomi-server branch from 417a90f to 85d8ab4 Compare May 6, 2025 13:54
@wegank wegank added the 2.status: merge conflict This PR has merge conflicts with the target branch label Jun 9, 2025
@nanoyaki
Copy link
Contributor Author

I'll update this once the update PR is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: merge conflict This PR has merge conflicts with the target branch 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants