10 Commits
Author SHA1 Message Date
Adrià SalaandClaude Opus 4.6 bbda905e00 fix: eliminate race condition in awxkit gateway user sync (#16658)
fix: eliminate race condition in gateway user sync

poll_until confirms the user exists in controller after gateway
creation, but a second GET call could return empty results under
load. Return the user directly from poll_until instead.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-09-18 14:32:46 +02:00
Adrià SalaandClaude Opus 4.6 fb4c3ab0c3 Add pull_request event trigger to ATF tests pipeline (#16632)
Previously the ATF tests pipeline only ran on `/run-atf-tests` comment.
Add on-event and on-target-branch annotations so it also triggers
automatically on pull_request events targeting devel.

Signed-off-by: Adrià Sala <22398818+adrisala@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-09-15 12:38:26 +02:00
Adrià SalaandClaude Opus 4.6 94333d005e fix: awxkit controller_dir support for containerized installs (#16647)
The controller_dir property hardcoded /tmp/awx_{id} as the expected
volume mount prefix. On containerized installs the job execution
directory is at /home/ansible/aap/controller/data/job_execution/awx_{id},
causing a RuntimeError when the prefix didn't match.

Changed to exact path component matching on the awx_{id} segment,
which works for both traditional and containerized path layouts
while preventing false matches (e.g. awx_1 matching awx_10).

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-09-09 14:48:00 +00:00
Adrià SalaandClaude Opus 4.6 06c07edc6f fix: awxkit user creation race condition with gateway sync (#16646)
After creating a user on the gateway API, the code immediately queries
the controller API to find the synced user. On containerized installs
(2.6+), the gateway-to-controller sync may not have completed yet,
causing an IndexError when .results.pop() is called on an empty list.

This affected ~32 tests across the tower-qa legacy suite on every
containerized pipeline run (2.6, 2.7, 2.8).

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-09-09 16:15:48 +02:00
Adrià Sala 9d5bf22f90 chore: Upgrade kubernetes package to 36.0.2 2026-07-08 16:02:07 +02:00
Adrià SalaandClaude Opus 4.6 5eeb854620 feat: increase parallel count for atf runs (#16450)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-18 15:32:15 +02:00
Adrià SalaandClaude Opus 4.6 2451156fc6 fix: allow blank password field to fix OpenAPI schema validation (#16440)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-04 16:03:36 +02:00
Adrià SalaandClaude Opus 4.6 c67d93218f fix: as_user() gateway session cookie fallback (#16437)
Add a fallback that checks for `gateway_sessionid` when no cookie
matches `session_cookie_name`, mirroring the existing fallback in
`Connection.login()`. The finally block now cleans up whichever
cookie name was actually used.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-30 10:43:08 +02:00
Adrià Sala 99ac0d39dc feat: improve unauthorized response on aap deployments (#16422) 2026-04-23 14:35:45 +00:00
Adrià Sala da996c01a0 feat: integrate awx-tui to the awx_devel image (#16399) 2026-04-14 10:08:19 +02:00