Skip to content

build(deps): bump fluent/fluent-bit from 4.0.10 to 4.0.11 #635

build(deps): bump fluent/fluent-bit from 4.0.10 to 4.0.11

build(deps): bump fluent/fluent-bit from 4.0.10 to 4.0.11 #635

# =============================================================================

Check failure on line 1 in .github/workflows/main-ci-optimized.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main-ci-optimized.yml

Invalid workflow file

(Line: 69, Col: 22): Unrecognized named-value: 'env'. Located at position 1 within expression: env.FAST_MODE == 'true' && 10 || 20, (Line: 69, Col: 22): Unexpected value '${{ env.FAST_MODE == 'true' && 10 || 20 }}'
# OPTIMIZED Main CI Pipeline - Maximum Speed with Quality Gates
# =============================================================================
# Ubuntu-only, Go 1.25, smart caching, and parallel execution
# =============================================================================
name: Main CI (Optimized) - DISABLED
# DISABLED: Overlapping with ci-production.yml
# This workflow has been consolidated into the main ci-production.yml workflow
# DISABLED - No triggers to prevent conflicts
on:
# DISABLED: This workflow is consolidated into ci-production.yml
workflow_dispatch: {}
# Single runner per branch - no overlapping runs
concurrency:
group: main-ci-optimized-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
actions: read
security-events: write
env:
GO_VERSION: "1.24.6" # EMERGENCY FIX - Match go.mod toolchain # Updated to latest stable version (released Aug 2025)
GO_CACHE_KEY: "nephoran-go-cache-v2"
GOPROXY: "https://proxy.golang.org,direct"
FAST_MODE: ${{ github.event.inputs.fast_mode == 'true' || contains(github.event.head_commit.message, '[fast]') }}
# Build optimization environment variables
CGO_ENABLED: "0"
GOMAXPROCS: "4"
GOMEMLIMIT: "4GiB"
jobs:
# Lightweight change detection and setup
setup:
name: Setup & Change Detection
runs-on: ubuntu-latest
timeout-minutes: 10
outputs:
go-changed: ${{ steps.changes.outputs.go }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Detect Go changes
uses: dorny/paths-filter@v3
id: changes
with:
filters: |
go:
- '**/*.go'
- 'go.mod'
- 'go.sum'
- 'api/**'
- 'cmd/**'
- 'controllers/**'
- 'pkg/**'
# Parallel Quality Gates - build, lint, test
quality-gates:
name: ${{ matrix.gate }} Gate
runs-on: ubuntu-latest
needs: setup
if: needs.setup.outputs.go-changed == 'true'
timeout-minutes: ${{ env.FAST_MODE == 'true' && 10 || 20 }}
strategy:
fail-fast: false
matrix:
gate: [build, lint, test]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: true
cache-dependency-path: |
go.sum
**/go.sum
- name: Download dependencies
run: |
go mod download
go mod verify
# BUILD GATE - Use optimized CI build
- name: Optimized CI Build
if: matrix.gate == 'build'
run: |
go mod tidy
go mod verify
echo "Using optimized CI build to prevent timeouts..."
make -f Makefile.ci ci-ultra-fast || {
echo "Optimized build failed, falling back to single component build..."
make -f Makefile.ci build-single CMD=cmd/intent-ingest
}
# LINT GATE
- name: Go Lint Check
if: matrix.gate == 'lint' && env.FAST_MODE != 'true'
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=10m
# TEST GATE
- name: Run Tests
if: matrix.gate == 'test'
run: |
# Test with coverage if not in fast mode
if [ "$FAST_MODE" = "true" ]; then
echo "Fast mode: Running short tests only"
go test -short -timeout=5m ./...
else
echo "Full mode: Running comprehensive tests with coverage"
go test -short -v -race -coverprofile=coverage.out -timeout=15m ./...
fi
- name: Upload coverage
if: matrix.gate == 'test'
uses: actions/upload-artifact@v4
with:
name: test-coverage
path: coverage.out
retention-days: 7
# Final Status Check
ci-status:
name: CI Status Check
runs-on: ubuntu-latest
needs: [setup, quality-gates]
if: always()
timeout-minutes: 10
steps:
- name: Check Results
run: |
if [[ "${{ needs.setup.result }}" == "failure" || "${{ needs.quality-gates.result }}" == "failure" ]]; then
echo "??CI Pipeline Failed"
exit 1
fi
echo "??CI Pipeline Passed - Ready for merge!"