fix: handle record_list_too_large error in produce response #357
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: wolff | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - main-* | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| otp: | |
| - '25.3' | |
| kafka: | |
| - '2.4' | |
| - '1.1' | |
| - '0.11' | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Setup | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Cache Hex packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/rebar3/hex/hexpm/packages | |
| key: ${{ runner.os }}-hex-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }} | |
| restore-keys: | | |
| ${{ runner.os }}-hex- | |
| - name: Cache Dialyzer PLTs | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/rebar3/rebar3_*_plt | |
| key: ${{ runner.os }}-dialyzer-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.config')) }} | |
| restore-keys: | | |
| ${{ runner.os }}-dialyzer- | |
| # Install Erlang | |
| - name: Install Erlang/OTP | |
| uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{matrix.otp}} | |
| rebar3-version: '3.17.0' | |
| # Check versions and syntax of app and appup | |
| - name: Ensure version consistency | |
| run: ./check-vsns.escript | |
| # Compile | |
| - name: Compile | |
| run: | | |
| rebar3 do compile, dialyzer, edoc, xref | |
| # Tests | |
| - name: Run tests | |
| run: | | |
| ./start-kafka.sh | |
| make eunit || (cd scripts && docker compose logs) | |