Skip to content

acc: Improve testserver pipelines; add update test local+cloud - #2937

Merged
denik merged 2 commits into
mainfrom
denik/pipelines-test
May 26, 2025
Merged

acc: Improve testserver pipelines; add update test local+cloud#2937
denik merged 2 commits into
mainfrom
denik/pipelines-test

Conversation

@denik

@denikdenik commented May 23, 2025

Copy link
Copy Markdown
Contributor

Changes

  • Update testserver pipeline to populate fields same way as real server does it.
  • Add new pipeline server that exercises Create and Update.
  • Add new script read_id.py to get id from the state.

Why

Using this test in #2926

Tests

New acceptance local + integration test.


[[Repls]]
Old = '174\d{10}'
New = '[TIMESTAMP_MS]'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks like a globally useful replacement. WDYT?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Seems like it, we should merge it with this one:

bundle/templates/telemetry/custom-template/out.requests.txt- "body": {
bundle/templates/telemetry/custom-template/out.requests.txt: "uploadTime": "UNIX_TIME_MILLIS",
--
bundle/templates/telemetry/dbt-sql/out.requests.txt- "body": {
bundle/templates/telemetry/dbt-sql/out.requests.txt: "uploadTime": "UNIX_TIME_MILLIS",
--
bundle/templates/telemetry/default-python/out.requests.txt- "body": {
bundle/templates/telemetry/default-python/out.requests.txt: "uploadTime": "UNIX_TIME_MILLIS",
--
bundle/templates/telemetry/default-sql/out.requests.txt- "body": {
bundle/templates/telemetry/default-sql/out.requests.txt: "uploadTime": "UNIX_TIME_MILLIS",
--
bundle/templates/telemetry/test.toml-Old = '17\d{11}'
bundle/templates/telemetry/test.toml:New = '"UNIX_TIME_MILLIS"'
--
telemetry/failure/out.requests.txt- "body": {
telemetry/failure/out.requests.txt: "uploadTime": "UNIX_TIME_MILLIS",
--
telemetry/failure/out.requests.txt- "body": {
telemetry/failure/out.requests.txt: "uploadTime": "UNIX_TIME_MILLIS",
--
telemetry/failure/out.requests.txt- "body": {
telemetry/failure/out.requests.txt: "uploadTime": "UNIX_TIME_MILLIS",
--
telemetry/failure/output.txt-> ],
telemetry/failure/output.txt:> "uploadTime": "UNIX_TIME_MILLIS"
--
telemetry/failure/output.txt-> ],
telemetry/failure/output.txt:> "uploadTime": "UNIX_TIME_MILLIS"
--
telemetry/failure/output.txt-> ],
telemetry/failure/output.txt:> "uploadTime": "UNIX_TIME_MILLIS"
--
telemetry/partial-success/out.requests.txt- "body": {
telemetry/partial-success/out.requests.txt: "uploadTime": "UNIX_TIME_MILLIS",
--
telemetry/partial-success/out.requests.txt- "body": {
telemetry/partial-success/out.requests.txt: "uploadTime": "UNIX_TIME_MILLIS",
--
telemetry/partial-success/out.requests.txt- "body": {
telemetry/partial-success/out.requests.txt: "uploadTime": "UNIX_TIME_MILLIS",
--
telemetry/partial-success/output.txt-> ],
telemetry/partial-success/output.txt:> "uploadTime": "UNIX_TIME_MILLIS"
--
telemetry/partial-success/output.txt-> ],
telemetry/partial-success/output.txt:> "uploadTime": "UNIX_TIME_MILLIS"
--
telemetry/partial-success/output.txt-> ],
telemetry/partial-success/output.txt:> "uploadTime": "UNIX_TIME_MILLIS"
--
telemetry/success/out.requests.txt- "body": {
telemetry/success/out.requests.txt: "uploadTime": "UNIX_TIME_MILLIS",
--
telemetry/success/output.txt-> ],
telemetry/success/output.txt:> "uploadTime": "UNIX_TIME_MILLIS"
--
telemetry/test.toml-Old = '17\d{11}'
telemetry/test.toml:New = '"UNIX_TIME_MILLIS"'
--
telemetry/timeout/out.requests.txt- "body": {
telemetry/timeout/out.requests.txt: "uploadTime": "UNIX_TIME_MILLIS",
--
telemetry/timeout/output.txt-> ],
telemetry/timeout/output.txt:> "uploadTime": "UNIX_TIME_MILLIS"

@denik
deniktemporarily deployed to test-trigger-is May 26, 2025 09:52 — with GitHub Actions Inactive
@denik
denik merged commit 8978634 into mainMay 26, 2025
@denik
denik deleted the denik/pipelines-test branch May 26, 2025 09:52
denik added a commit that referenced this pull request May 20, 2026
## Changes
- Update testserver pipeline to populate fields same way as real server
does it.
- Add new pipeline server that exercises Create and Update.
- Add new script read_id.py to get id from the state.
## Why
Using this test in #2926
## Tests
New acceptance local + integration test.
Sign up for freeto 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

@denik@pietern