Skip to content

Report bundle artifact persist failures#2429

Merged
chubes4 merged 2 commits into
mainfrom
fix-bundle-artifact-persist-diagnostics
May 31, 2026
Merged

Report bundle artifact persist failures#2429
chubes4 merged 2 commits into
mainfrom
fix-bundle-artifact-persist-diagnostics

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 31, 2026

Summary

  • Adds a structured persist_for_agent_result() path so bundle artifact persistence failures keep artifact context instead of collapsing to a boolean.
  • Surfaces artifact type, ID, source path, and database write details in the rollback error message/log context.
  • Adds regression coverage for artifact-level persistence diagnostics.

Evidence

Verification

  • php -l inc/Engine/Bundle/AgentBundleArtifactState.php
  • php -l inc/Core/Agents/AgentBundler.php
  • php -l inc/Core/Database/BundleArtifacts/InstalledBundleArtifacts.php
  • php -l tests/Unit/Core/Agents/AgentBundlerImportTest.php
  • git diff --check
  • composer test (1307 passed, 3 skipped)

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (openai/gpt-5.5)
  • Used for: Added artifact-level diagnostics for bundle import persistence failures and regression coverage.

@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented May 31, 2026

Homeboy Results — data-machine

Lint

lint — passed

ℹ️ Full options: homeboy docs commands/lint
Deep dive: homeboy lint data-machine --changed-since 37da7a1

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-lint-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-lint-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine/actions/runs/26716723345

Test

test — passed

  • 17 passed

ℹ️ Auto-fix lint issues: homeboy refactor data-machine --from lint --write
ℹ️ Collect coverage: homeboy test data-machine --coverage
ℹ️ Save test baseline: homeboy test data-machine --baseline
ℹ️ Pass args to test runner: homeboy test -- [args]
ℹ️ Full options: homeboy docs commands/test
Deep dive: homeboy test data-machine --changed-since 37da7a1

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-test-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-test-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine/actions/runs/26716723345

Audit

audit — passed

  • audit — 362 finding(s)
  • Total: 362 finding(s)

Deep dive: homeboy audit data-machine --changed-since 37da7a1

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-audit-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-audit-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine/actions/runs/26716723345
Tooling versions
  • Homeboy CLI: homeboy 0.213.5+769995bf
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 06cc67ae
  • Action: unknown@unknown

@chubes4 chubes4 merged commit 5266ac4 into main May 31, 2026
5 checks passed
@chubes4 chubes4 deleted the fix-bundle-artifact-persist-diagnostics branch May 31, 2026 15:36
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