Releases: ansible/receptor
Releases · ansible/receptor
v1.6.4
What's Changed
- Bump SonarSource/sonarqube-scan-action from 6 to 7 by @dependabot[bot] in #1501
- AAP - 60058 Improve test coverage for tcp.go by @melissalkelly in #1509
- Bump actions/download-artifact from 6 to 7 by @dependabot[bot] in #1504
- Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #1503
- Remove obsolete GitHub Actions workflows that raise sonarqube security issues by @dleehr in #1510
- Provide 'ref' as an env variable rather than direct user input by @dleehr in #1512
- receptorctl: switch to TLS 1.2 minimum version by @davemulford in #1511
- Add python 3.12 as sonar targeted version by @davemulford in #1515
- Document intentional InsecureSkipVerify usage for non-TLS mode by @matoval in #1514
- Use 'tr' instead of 'node' for string lowercase operation by @dleehr in #1513
- Clarify TLS auto-cert mode comments in conn.go by @matoval in #1516
- Fix cancelled work units being deleted prematurely on restart by @matoval in #1517
- [AAP-63962] - Fix github CI workflows so that we wait for the kind cluster to be ready by @fincamd in #1518
- fix: Limit Github Workflow Permissions by @PabloHiro in #1519
- [AAP-63315] Move workflow permissions from workflow to job level by @arrestle in #1520
Full Changelog: v1.6.3...v1.6.4
v1.6.3
What's Changed
- Fix SonarCloud issue: Replace duplicate "Red Hat Ansible" literal with constant by @PabloHiro in #1470
- Fix SonarCloud issue: Replace duplicate decode error message with constant by @PabloHiro in #1471
- Fix SonarCloud issue: Replace duplicate "[%s] %s" literal with constant by @PabloHiro in #1475
- Fix SonarCloud issue: Replace duplicate status file error message with constant by @PabloHiro in #1472
- Fix SonarCloud issue: Replace duplicate string literal with constant by @PabloHiro in #1469
- Fix SonarCloud issue: Replace duplicate "Error closing %s: %s" literal with constant by @PabloHiro in #1474
- AAP-49041: Fix context leak in AcceptLoop when RemoteAddr is not Receptor Addr by @arrestle in #1442
- Fix SonarCloud issue: Replace duplicate "remote ExtraData missing" literal with constant by @PabloHiro in #1473
- Add unit tests for ReadStringContext function by @PabloHiro in #1477
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in #1480
- Add unit tests for bridge.go by @PabloHiro in #1478
- Add doc explaining kubernetes.go current workflow and functionality by @matoval in #1461
- Fix SonarQube issue: Reduce cognitive complexity in GetConnection by @PabloHiro in #1481
- Bump wntrblm/nox from 2025.05.01 to 2025.11.12 by @dependabot[bot] in #1468
- Refactor controlsvc: Extract helper functions to reduce complexity by @PabloHiro in #1482
- Reduce cognitive complexity of ReceptorNames function by @PabloHiro in #1484
- Add unit tests to improve test coverage by @Spredzy in #1490
- Fix SonarQube issue: Use available context parameter in packetconn_test.go by @PabloHiro in #1488
- Non-root user for container image by @PabloHiro in #1486
- [AAP-60033] Modify receptor container build to support rootless pods by @arrestle in #1496
- Fix SonarQube issues: Remove unnecessary else clauses by @PabloHiro in #1487
- Fix SonarQube issue githubactions:S7636: Use docker/login-action for authentication by @PabloHiro in #1491
- Remove unused parameters from config functions by @PabloHiro in #1494
- Test Coverage for pkg/netceptor/firewall_rules.go by @melissalkelly in #1500
- Remove usage of os.TempDir by @PabloHiro in #1485
- Fix SonarQube issue godre:S8166: Replace t.Fatal with t.Error in goroutines by @PabloHiro in #1489
- Add unit tests for receptorctl to improve code coverage by @PabloHiro in #1492
- Fix unhandled errors in test files by @PabloHiro in #1493
- Remove unused tc-image by @PabloHiro in #1497
- [AAP-60058] Tests for tcp.go by @PabloHiro in #1495
- Fix SonarQube issue: Implement Error() method for errorReadCloser by @PabloHiro in #1498
- Improve Test Coverage for udp.go - UDPDialerSession by @melissalkelly in #1505
- Fix crypto error handling by @davemulford in #1506
New Contributors
- @melissalkelly made their first contribution in #1500
Full Changelog: v1.6.2...v1.6.3
v1.6.2
What's Changed
- Add sonar cloud integration by @davemulford in #1443
- Sonar Cloud workflow fixes by @davemulford in #1445
- Consolidate receptor and receptorctl test coverage reporting by @davemulford in #1446
- Remove Sonar Cloud monorepo configuration by @davemulford in #1447
- Add receptor and receptorctl to coverage upload by @davemulford in #1448
- Remove receptorctl dir sonar exclusion by @davemulford in #1449
- Move receptorctl tests earlier in the job by @davemulford in #1450
- Add sonar test coverage badge to README by @davemulford in #1451
- Fix code coverage paths for sonar check by @davemulford in #1454
- [AAP-49041] Upgrade Quic library to 0.54.1* by @arrestle in #1439
- Add mermaid diagram for work submit cat command flow by @matoval in #1432
- Write kube error to stdoutErr when terminated container reason isn't completed or error by @matoval in #1444
- Test coverage for remote_work.go by @PabloHiro in #1458
- Fix "Error locating unit" in execution node by @PabloHiro in #1452
- Bump actions/download-artifact from 4 to 6 by @dependabot[bot] in #1459
- [AAP-51479] Move ReceptorVerifyFunc to tlsconfig.go and write unit tests by @arrestle in #1456
- Remove Kube retry counter decrement on EOF with job in Running status by @davemulford in #1462
- [AAP-51479] Add error handling when certs overflow the QUIC RFC buffer size by @arrestle in #1457
- Add pkg/netceptor/ping_test.go unit tests by @davemulford in #1455
- Fix flaky qlog test by @davemulford in #1464
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #1426
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #1407
- [AAP-55666] Fix set minimum TLS version to 1.3 as Default by @PabloHiro in #1460
- Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #1467
- Bump github/codeql-action from 3 to 4 by @dependabot[bot] in #1465
Full Changelog: v1.6.1...v1.6.2
v1.6.1
What's Changed
- Correct log messages to identify the pod name instead of container name by @dleehr in #1435
- Fix qlog tracing by @davemulford in #1436
- Fix: Prevent race condition in job status updates by @matoval in #1437
Full Changelog: v1.6.0...v1.6.1
v1.6.0
What's Changed
- Fix flakey test and restructure the existing tests by @AaronH88 in #1355
- Add tests for backends utils by @AaronH88 in #1352
- Add tests for cmdline in services by @AaronH88 in #1353
- Add new mocks to generate.go by @lranjbar in #1360
- AAP-46609 cli go unit test by @arrestle in #1345
- Bump go.uber.org/mock from 0.5.0 to 0.5.2 by @dependabot[bot] in #1336
- Fix timestamp leak in kubernetes stream by @matoval in #1359
- Update OSWrapper calls to be consistent by @lranjbar in #1362
- Tests for udp_proxy.go by @PabloHiro in #1358
- Add tests for cmdline in workceptor by @AaronH88 in #1354
- Add more tests to types by @AaronH88 in #1347
- Test LoglevelCfgInit & SanitizedLog by @arrestle in #1366
- Bump quic-go to 0.50.1 by @lranjbar in #1365
- Add more kube tests by @AaronH88 in #1367
- Makefile to use same linter as CI by @PabloHiro in #1373
- Remote work tests by @AaronH88 in #1374
- Bump wntrblm/nox from 2025.02.09 to 2025.05.01 by @dependabot[bot] in #1316
- Test for CreatePod and runWorkUsingLogger in kubernetes.go by @AaronH88 in #1370
- udp_proxy.go: Reorder functions for readibility and increased coverage by @PabloHiro in #1369
- AAP-46619 Get pod container status by @arrestle in #1371
- Add comprehensive test coverage for Kubernetes worker configuration f… by @AaronH88 in #1377
- Bump golang.org/x/oauth2 from 0.21.0 to 0.27.0 by @dependabot[bot] in #1383
- Add unit tests for netceptor.Listener and removes panic from Listener.Accept() by @lranjbar in #1378
- Receptorctl assert invalid work cmd by @thenets in #447
- Add workflow to build container from arbitrary repo / ref by @Zokormazo in #686
- CLI tests ssues/431 by @tiagodread in #455
- Bump actions/checkout from 2 to 4 by @dependabot[bot] in #1391
- Bump docker/setup-buildx-action from 2 to 3 by @dependabot[bot] in #1390
- Bump docker/login-action from 2 to 3 by @dependabot[bot] in #1389
- Bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0 by @dependabot[bot] in #1363
- [TRIVIAL] Add AI tools settings to .gitignore by @lranjbar in #1392
- Bump docker/setup-qemu-action from 2 to 3 by @dependabot[bot] in #1388
- Bump github.com/grafana/pyroscope-go from 1.2.0 to 1.2.4 by @dependabot[bot] in #1394
- Add tests for MonitorUnreachable by @lranjbar in #1386
- Bump golang.org/x/sys from 0.33.0 to 0.34.0 by @dependabot[bot] in #1395
- [TRIVIAL] Move Netceptor interfaces to pkg/netceptor/interfaces.go by @lranjbar in #1379
- Add unit tests for Listener.SendResult() by @lranjbar in #1385
- Add more unit tests for netceptor.DialContext() by @lranjbar in #1393
- Add unit tests to GetConfigForClientOverride() in conn.go by @lranjbar in #1397
- Refactor Kubernetes client to use kubernetes.Interface for better tes… by @AaronH88 in #1404
- Fix data race in workunitbase test setUp function by @AaronH88 in #1405
- Enhance Kubernetes logging tests and fix data race conditions by @AaronH88 in #1406
- Update KubeLoggingWithReconnect to better handle EOF and other possible errors, pod/container disconnections by @matoval in #1400
- Typo fix (exhusted -> exhausted) by @tyraziel in #1410
- Don't fail job when non zero terminated exit code by @matoval in #1411
- [TRIVIAL] [AAP-47010] Add unit tests for reload.go in the controlsvc package by @arrestle in #1401
- Add tests to AcceptLoop in conn.go by @lranjbar in #1412
- Unit testing EOF from Pods in K8s by @tyraziel in #1409
- Check container is running before attaching stdin & check context canceled first when reading line by @matoval in #1417
- Fix flaky TestTCPProxyServiceOutbound by @davemulford in #1419
- Add runWorkUsingTCP test by @matoval in #1418
- Reset retryGetLogStream on successful write & add test to prove it resets by @matoval in #1424
- Add test for connectUsingKubeconfig by @matoval in #1420
- Add env vars for the start duration and amount of retries for kube api retries by @matoval in #1425
New Contributors
- @Zokormazo made their first contribution in #686
- @tiagodread made their first contribution in #455
- @tyraziel made their first contribution in #1410
Full Changelog: v1.5.7...v1.6.0
v1.5.7
What's Changed
- feat: tests for cli.go SignReq by @PabloHiro in #1346
- Fix panics in workceptor/python_test.go by @lranjbar in #1356
- Handle EOF by check if pod is ready, Update TestKubeLoggingWithReconn… by @matoval in #1357
- Remove unreachable code in workceptor/remote_work.go by @lranjbar in #1339
Full Changelog: v1.5.6...v1.5.7
v1.5.6
What's Changed
- cmd: Add unit tests and fix WebSocket path default by @TheRealHaoLiu in #1312
- Fix flock_test from interrupting utils package tests by @matoval in #1314
- update check for connection info to have less time complexity in netceptor.go/runProtocol(...) by @lranjbar in #1304
- Refactor unixsock and add Windows test by @davemulford in #1308
- Bump github.com/spf13/cobra from 1.8.1 to 1.9.1 by @dependabot in #1271
- Add unit tests for utils/broker by @AaronH88 in #1315
- AAP-43201 netceptor logging by @arrestle in #1300
- feat: Use pyproject.toml instead of setup.cfg + pinned dependencies + ruff as linter. by @PabloHiro in #1325
- AAP-45811 Job_context.go Unit Test by @arrestle in #1328
- Migrate mock generation to go generate by @lranjbar in #1297
- Remove fsnotify from workunitbase by @matoval in #1305
- Add tcp_proxy.go unit tests by @davemulford in #1330
- Bump golang.org/x/net from 0.35.0 to 0.41.0 by @dependabot in #1334
- Update to Golang 1.23.9 by @lranjbar in #1335
- Remove fsnotify from TestMonitorLocalStatus by @lranjbar in #1340
- Remove OSSF scorecard by @AaronH88 in #1338
- Add kube tests for kube api wrapper by @AaronH88 in #1327
- Additional unit tests for pkg/netceptor/conn.go by @dleehr in #1341
- Fix a test that fails on go 1.24 due to crypto/rsa changes by @dleehr in #1344
- Add tests in the runProtocol to prove that the connection is not remo… by @AaronH88 in #1348
Full Changelog: v1.5.5...v1.5.6
v1.5.5
What's Changed
- Fix missing coverage in tcp_proxy.go mocking net.Listener struct by @fincamd in #1294
- Add unit tests to command service by @lranjbar in #1290
- Enforce tls verify by @arrestle in #1296
- Make ARCH field in Makefile shall be optional by @PabloHiro in #1299
- Update Dockerfile to include ansible-runner by @kdelee in #1302
- Support IPv6 node IDs in certificates by @PabloHiro in #1313
New Contributors
- @arrestle made their first contribution in #1296
- @PabloHiro made their first contribution in #1299
Full Changelog: v1.5.4...v1.5.5
v1.5.4
What's Changed
- Add unit tests to internal version package by @lranjbar in #1278
- Add unit tests for
Connmethods in conn.go in the netceptor package by @dleehr in #1279 - Add unit tests for tcp_proxy.go in the services package by @fincamd in #1277
- Add unit tests for the tickrunner.go package by @fincamd in #1284
- Bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 by @dependabot in #1286
- Refactor how kubernetes.go reads the final lines of stdout by @AaronH88 in #1285
- Add python.go unit tests by @davemulford in #1289
- Add more unit tests for config run function in tcp_proxy.go by @fincamd in #1291
- Move kubeAPIWapperInstance inside kubeUnit, remove kubeAPIWapperlocks by @matoval in #1295
New Contributors
- @lranjbar made their first contribution in #1278
- @fincamd made their first contribution in #1277
- @davemulford made their first contribution in #1289
Full Changelog: v1.5.3...v1.5.4
v1.5.3
What's Changed
- Bump golang.org/x/sys from 0.28.0 to 0.29.0 by @dependabot in #1248
- Bump golang.org/x/crypto from 0.30.0 to 0.31.0 by @dependabot in #1249
- Bump golang.org/x/net from 0.32.0 to 0.34.0 by @dependabot in #1250
- Add Pyroscope to config by @matoval in #1252
- Update example config syntax by @dleehr in #1257
- Reference #1258: fix timestamp debug message by @aeter in #1259
- Add run and reload tests to null backends by @AaronH88 in #1256
- Bump golang.org/x/sys from 0.29.0 to 0.30.0 by @dependabot in #1262
- Remove ping_test by @matoval in #1263
- Add lock to fix flaky test by @matoval in #1261
- Bump wntrblm/nox from 2024.10.09 to 2025.02.09 by @dependabot in #1265
- Bump golang.org/x/net from 0.34.0 to 0.35.0 by @dependabot in #1266
- Close all open files, clean up fsnotify watcher by @matoval in #1268
New Contributors
Full Changelog: v1.5.2...v1.5.3