Skip to content

Fix integration tests for structured logs and fork service limits#146

Merged
Askir merged 1 commit intomainfrom
fix/integration-test-logs-and-fork
Apr 13, 2026
Merged

Fix integration tests for structured logs and fork service limits#146
Askir merged 1 commit intomainfrom
fix/integration-test-logs-and-fork

Conversation

@Askir
Copy link
Copy Markdown
Contributor

@Askir Askir commented Apr 10, 2026

Summary

  • ServiceLogs test: Updated JSON unmarshalling from []string to []struct{message, severity, timestamp} to match the structured log entries introduced in the cursor-based pagination migration (feat: migrate service logs to cursor-based pagination #143).
  • Fork tests: Replaced ForkService_LastSnapshot_NoBackupsYet (which expected --last-snapshot to fail on new services) with ForkService_LastSnapshot_EarlyFork that expects success and deletes the fork afterwards, freeing the service slot for subsequent fork tests.

…mits

- Update ServiceLogs test to unmarshal JSON as []struct instead of
  []string, matching the structured log entries (message, severity,
  timestamp) introduced in cursor-based pagination migration.

- Replace ForkService_LastSnapshot_NoBackupsYet (which expected failure)
  with ForkService_LastSnapshot_EarlyFork that expects success and
  deletes the fork afterwards, freeing the service slot for subsequent
  fork tests on free-tier projects.
Copy link
Copy Markdown
Member

@nathanjcochran nathanjcochran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you!!

@Askir Askir merged commit d94636c into main Apr 13, 2026
1 of 2 checks passed
@Askir Askir deleted the fix/integration-test-logs-and-fork branch April 13, 2026 09:03
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.

2 participants