GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix flaky tests. by ryzhyk · Pull Request #7719 · feldera/feldera

Conversation

@ryzhyk

@ryzhyk ryzhyk commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Linked Issue

Closes #7631

Describe Manual Test Plan

Checklist

  • Unit tests added/updated
  • Integration tests added/updated
  • Documentation updated
  • Changelog updated

Breaking Changes?

Mark if you think the answer is yes for any of these components:

  • OpenAPI / REST HTTP API / feldera-types / manager (What is a breaking change?)
  • Feldera SQL (Syntax, Semantics)
  • feldera-sqllib (incl. dependencies fxp, etc.) (What is a breaking change?)
  • Python SDK (What is a breaking change?)
  • fda (CLI arguments)
  • Adapters (including configuration)
  • Storage Format / Checkpoints
  • Others (specify)

Describe Incompatible Changes

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
ryzhyk added 3 commits October 29, 2026 12:32
@ryzhyk
[connectors] Make the controller tests wait for input to complete.
a80a659
`wait_for_completion` returned as soon as `completion_status` named the
step that took a request's input, before that step finished.  A test that
then stopped the controller could abandon the step before it was
journaled, so the restarted pipeline never saw the input.  This is how
`replay_does_not_feed_http_input_during_commit` lost its last record; two
other replay tests stop the controller the same way.

The helper now also waits for `total_completed_steps` to reach that step,
the rule that `/completion_status` applies.

Fixes #7631

Signed-off-by: Leonid Ryzhyk <[email protected]>
@ryzhyk
[static-connectors] Give the aggregate test circuit persistent ids.
b9763b8
The static engine runs circuits in persistent mode, where checkpointing
an operator without a persistent id fails with `NoPersistentId`, and the
failed checkpoint terminates the circuit.  The views and the aggregate of
`TestCircuit::Aggregate` had none, so any checkpoint of that circuit,
such as a periodic one in a test that outlives the checkpoint interval,
killed the pipeline.

Signed-off-by: Leonid Ryzhyk <[email protected]>
@ryzhyk
[connectors] Give the indexed-view circuit and FT tests' views persis…
8454952
…tent ids.

The static engine runs test circuits in persistent mode, where checkpointing
an operator without a persistent id fails, and the failed checkpoint
terminates the circuit.  `TestCircuit::IndexedView` gave its table, view, and
index no persistent ids, so it could not be checkpointed at all, and three
fault-tolerant controller tests used a view without one, which a periodic
checkpoint would have hit.

Signed-off-by: Leonid Ryzhyk <[email protected]>
@ryzhyk
ryzhyk requested a review from bestouff October 29, 2026 20:19
gz
gz approved these changes Oct 29, 2026
View reviewed changes
@mythical-fred-oss

mythical-fred-oss Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

LGTM. This PR only changes test code. wait_for_completion now uses the same rule as /completion_status (total_completed_steps >= step), and the persistent ids are correct.

What I ran (static engine, debug build):

Check Result
connector_suites controller::test:: 91/91 passed
replay_*, fault_tolerance_mismatch_*, adhoc_insert_removed_*, many_transactions_with_a_high_cardinality_aggregate, looped 30× 0 failures
indexed filter and output_non_unique_keys_skipped_test (the IndexedView users that run locally) passed
pre-commit run --files <changed> passed

I couldn't run the Postgres IndexedView tests because they need a live database.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@swanandx
swanandx added this pull request to the merge queue Oct 29, 2026
@swanandx
swanandx removed this pull request from the merge queue due to a manual request Oct 29, 2026
@ryzhyk
ryzhyk added this pull request to the merge queue Oct 29, 2026
Merged via the queue into main with commit 4d2eaea Oct 30, 2026
3 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@ryzhyk
ryzhyk deleted the issue-7631 branch October 30, 2026 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gz gz gz approved these changes
@bestouff bestouff Awaiting requested review from bestouff

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

replay_does_not_feed_http_input_during_commit: checkpoint fails with NoPersistentId on balanced AccumulateZ1Trace, circuit terminates

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@ryzhyk @gz
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.