Skip to content

Support Elixir 1.19/OTP 28 and bump actions#307

Open
kianmeng wants to merge 1 commit intoabsinthe-graphql:mainfrom
myfloss:support-otp-28
Open

Support Elixir 1.19/OTP 28 and bump actions#307
kianmeng wants to merge 1 commit intoabsinthe-graphql:mainfrom
myfloss:support-otp-28

Conversation

@kianmeng
Copy link
Copy Markdown
Contributor

@kianmeng kianmeng commented Sep 10, 2025

This PR updates the project to support newer Elixir (1.18/1.19) and OTP (28) versions, along with modernizing the codebase and updating CI configurations to match.

Comment on lines +6 to +10
setup_all do
TestPubSub.start_link()
Absinthe.Subscription.start_link(TestPubSub)
:ok
end
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sporadic error in CI:

  1) test Subscriptions over HTTP with Server Sent Events chunked response (standard) (Absinthe.PlugTest)
Error:      test/lib/absinthe/plug_test.exs:485
     ** (EXIT from #PID<0.332.0>) shutdown: failed to start child: Absinthe.Plug.TestPubSub.Registry
         ** (EXIT) already started: #PID<0.315.0>

.........................
Finished in 0.7 seconds (0.7s async, 0.00s sync)
86 tests, 1 failure

Randomized with seed 116773
Error: Process completed with exit code 2.

Comment on lines +5 to +6
import Plug.Test
import Plug.Conn
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

    warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.                          
                                               
    │                                                                                                                                     
  2 │   use Absinthe.Plug.TestCase             
    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                            
    │                             
    └─ test/lib/absinthe/plug_test.exs:2: Absinthe.PlugTest (module)                                                                                                                          
                                  
    warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.                          
                                               
    │                                                                                                                                     
  3 │   use Absinthe.Plug.TestCase             
    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                            
    │                             
    └─ test/lib/absinthe/plug/transport_batching_test.exs:3: Absinthe.Plug.TransportBatchingTest (module)                                                                                     
                                  
    warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.                          
                                               
    │                                                                                                                                     
  3 │   use Plug.Test                          
    │   ~~~~~~~~~~~~~                                                                                                                                                                         
    │                             
    └─ test/lib/absinthe/graphiql_test.exs:3: Absinthe.Plug.GraphiQLTest (module)                                                                                                             

    warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.                                                                                                         
                                               
    │                                          
  2 │   use Absinthe.Plug.TestCase             
    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                            
    │                                                 
    └─ test/lib/absinthe/plug/document_provider_test.exs:2: Absinthe.Plug.DocumentProviderTest (module)                                                                                       
                                                                                               
    warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.                                                                                                         
                                                                                               
    │                                                 
  2 │   use Absinthe.Plug.TestCase                    
    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~                    
    │                                                 
    └─ test/lib/absinthe/plug/document_provider/compiled_test.exs:2: Absinthe.Plug.DocumentProvider.CompiledTest (module) 

app: :absinthe_plug,
version: @version,
elixir: "~> 1.13",
elixir: "~> 1.15",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This PR updates the project to support newer Elixir (1.18) and OTP
(28) versions, along with modernizing the codebase and updating CI
configurations to match.
@kianmeng kianmeng changed the title Update Elixir, OTP, and dependencies Support Elixir 1.19/OTP 28 and bump actions Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant