Skip to content

fix: bound feature backfill command ids - #50

Merged
pjy008008 merged 1 commit into
developfrom
fix/feature-backfill-command-id
Aug 8, 2026
Merged

fix: bound feature backfill command ids#50
pjy008008 merged 1 commit into
developfrom
fix/feature-backfill-command-id

Conversation

@pjy008008

Copy link
Copy Markdown
Contributor

Summary

  • hash the full feature-backfill request identity into a stable 81-character command ID
  • keep re-planning deterministic while staying inside the worker's 128-character identifier contract
  • add a regression test that exercises the actual worker parser

Operational evidence

The merged planner produced 2,900 valid, hole-free commands, but the worker rejected the previous 160-character IDs as MALFORMED_EVENT before any materialization write. The messages are retained in the configured DLQ.

Verification

  • pytest tests/test_feature_backfill.py -q (47 passed)
  • pytest tests/test_app_smoke.py tests/test_pipeline_feature_output_command.py -q (71 passed, 4 skipped, 6 subtests passed)
  • ruff check market_pipeline_lib/features/backfill.py tests/test_feature_backfill.py
  • mypy market_pipeline_lib/features/backfill.py apps/pipeline_worker/backfill_features.py

@pjy008008
pjy008008 merged commit bb6a6a1 into develop Aug 8, 2026
10 checks passed
@pjy008008
pjy008008 deleted the fix/feature-backfill-command-id branch August 8, 2026 10:07
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